- use DTR images for all but `docker.github.io:published`
- use environment variables instead of credentials
- build and push all images inside VPN container
- combine build + image and update swarm stages
- remove repetitive steps / stages
After a couple of Jenkins-based mix-ups it became obvious we needed a Jenkinsfile that would serve both public and private projects, that we could move between repos without worry. This Jenkinsfile knows which images to build and push and which swarm services to update because of the use of git_url and branch conditions.
* added title in engine/tutorials/index.md
Signed-off-by: Adrien Duermael <adrien@duermael.com>
* added pre_build script for Docker Cloud CI
It includes one first test that should run when PRs are submitted.
For now it only checks if there’s always a title in fronmatters.
We should add more tests as we fix issues.
Signed-off-by: Adrien Duermael <adrien@duermael.com>
* Jenkinsfile + pre_build script update
Signed-off-by: Adrien Duermael <adrien@duermael.com>
* fix in Jenkinsfile
Signed-off-by: Adrien Duermael <adrien@duermael.com>
* chmod +x hooks/pre_build
Signed-off-by: Adrien Duermael <adrien@duermael.com>
* removed hooks folder
since we’re not using Docker Cloud CI
Signed-off-by: Adrien Duermael <adrien@duermael.com>