https://github.com/saagie/technologies-plugin
Gradle plugin for technologies
https://github.com/saagie/technologies-plugin
Last synced: 10 months ago
JSON representation
Gradle plugin for technologies
- Host: GitHub
- URL: https://github.com/saagie/technologies-plugin
- Owner: saagie
- License: apache-2.0
- Created: 2019-11-19T08:53:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-10T15:18:32.000Z (almost 2 years ago)
- Last Synced: 2024-09-10T16:56:21.216Z (almost 2 years ago)
- Language: Kotlin
- Size: 243 KB
- Stars: 2
- Watchers: 10
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# technologies-plugin
Gradle plugin for Saagie technologies repository
Provides all necessary tasks to build and package technologies.
Some tasks are available :
- `:buildDockerImage` (in group : `technologies`)
For a job technology version :
It will build the docker image, test it, push it in docker repository, and generate the metadata.yml.
- `:packageAllVersions` (in group `technologies`)
It will generate a package containing all metadata.yml previously generated.
- `:promote` (in group `technologies`)
It will fix all versions in metadata.yml (to have real production version), generate the package and retag all docker image and push it in docker repository.
For the `:buildDockerImage` and `:promote` you need to set theses environment variables:
- DOCKER_USERNAME
- DOCKER_PASSWORD