Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab CI - Conditional deploys #171

Open
RobinVanCauter opened this issue Oct 5, 2016 · 0 comments
Open

Gitlab CI - Conditional deploys #171

RobinVanCauter opened this issue Oct 5, 2016 · 0 comments

Comments

@RobinVanCauter
Copy link

When deploying with Gitlab CI a lot of projects use conditional statements within their script definition.
In combination with the Gitlab CI triggers and their variables it's possible to only execute the deploy based on these variables. (Good example is a repo that's made of multiple micro-services and it's most efficient to only run the build/deploy scripts of the micro-services that have actually changed their versions)

Currently this image runs the deploy command straight from the entrypoint.sh, but flexibility would be much improved if we are able to run the command ourselves from the script section in our build definition using this image. This way we could conditionally trigger the actual deploy with spread when all requirements are met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant