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

GH workflow: Publish docker image when PR is labeled 'publish' #107

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

dandelany
Copy link
Collaborator

@dandelany dandelany commented Aug 28, 2024

Supporting this issue: NASA-AMMOS/aerie#1538

This change will cause the GH "Publish" workflow to run whenever an aerie-gateway PR is given the "publish" label, which will cause a Docker image to be published from the PR branch, tagged with the PR number eg. pr-107

The published gateway PR can then be referenced in an aerie-ui PR with a flag in the PR body that looks like eg. ___REQUIRES_GATEWAY_PR___="107", which will cause the aerie-ui e2e tests to use the published pr-107 gateway image during testing rather than the default develop branch.

@dandelany dandelany merged commit 5b84283 into develop Aug 28, 2024
6 checks passed
@dandelany dandelany deleted the dev/gh-test-workflows branch August 28, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
publish Tells GH to publish docker images for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants