Skip to content

Trigger executor image build when the bundles repo is updated#28

Open
johncmerfeld wants to merge 3 commits intodevelopmentfrom
exp/exec-rebuild-from-bundles
Open

Trigger executor image build when the bundles repo is updated#28
johncmerfeld wants to merge 3 commits intodevelopmentfrom
exp/exec-rebuild-from-bundles

Conversation

@johncmerfeld
Copy link
Collaborator

@johncmerfeld johncmerfeld commented Feb 17, 2026

Deployed Runway has a dependence on Github, from which we have recently inherited downtime. We require that Github is responsive at the time of a job run. This is because the executor image might be stale to new changes in the bundles repo, and so performs a git pull to ensure it's running the most up-to-date bundle.

We can remove this dependence from the executor by triggering a rebuild of the executor image whenever there is a merge to main in the bundles repo. It still attempts to git pull but a failure there is no longer fatal.

There is also an app-side dependence that we can address separately.

If we like this, I think there's just two actions to take in AWS to get it up and running.

  1. Update the CF templates in S3 with the files that changed here (does this happen automatically?)
  • code-pipeline-executor.yml
  • 1-main.yml
  1. Update the deployed prod and dev stacks:
  # prod
  - BundlesGitHubRepo: edanalytics/earthmover_edfi_bundles
  - BundlesGitHubTriggerBranch: main

  # dev
  - BundlesGitHubRepo: edanalytics/earthmover_edfi_bundles
  - BundlesGitHubTriggerBranch: development

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.

1 participant