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

Replace pre and post-rollout tasks bash scripts with build-deploy-tool #3146

Merged
merged 8 commits into from
Jun 7, 2022

Conversation

bomoko
Copy link
Contributor

@bomoko bomoko commented May 22, 2022

As of build-deploy-tool version 0.8.1 we have support for pre and post rollout tasks.

This PR replaces the existing bash implementation of the task runner with an almost one-for-one replacement of the existing bash, differing only in supporting the new "when" functionality for lagoon tasks.

The possibility of running tasks conditionally has been discussed in issue #1648 - and with the new Bulk Deploy functionality that has been introduced, with the possibility of injecting arbitrary build time arguments, better support for conditionals is called for.

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

Closing issues

closes #1648

@tobybellwood tobybellwood merged commit c80cde8 into uselagoon:main Jun 7, 2022
tobybellwood added a commit that referenced this pull request Jun 14, 2022
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

Successfully merging this pull request may close these issues.

Allow pre and post rollout tasks to be executed conditionally
4 participants