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

9769 fix docker push #9777

Merged
merged 2 commits into from Aug 14, 2023
Merged

Conversation

poikilotherm
Copy link
Contributor

What this PR does / why we need it:
This fixes the container push workflow, sending feature branch preview images to Docker Hub, breaking workflows for many.

Which issue(s) this PR closes:

Closes #9769

Special notes for your reviewer:
None

Suggestions on how to test this:
Must be merged to see effect. Push a commit to a feature branch (updated to latest develop) and see how the image deployment is skipped. Cannot be seen from this PR as from a forked repo, could be tested from cloning the branch into an upstream repo one.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No

Is there a release notes update needed for this change?:
No

Additional documentation:
None

By ensuring pushes to Docker Hub are only executed when based on
develop or master branch, we avoid breaking the images on the Hub:
simply skip the deploy job on wrong pushed to branch.
@poikilotherm poikilotherm added the Component: Containers Anything related to cloudy Dataverse, shipped in containers. label Aug 14, 2023
@pdurbin pdurbin self-assigned this Aug 14, 2023
@pdurbin pdurbin moved this from Ready for Review ⏩ to IQSS Team - In Progress 💻 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Aug 14, 2023
@pdurbin pdurbin moved this from IQSS Team - In Progress 💻 to In Review 🔎 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Aug 14, 2023
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks @poikilotherm!

IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from In Review 🔎 to Ready for QA ⏩ Aug 14, 2023
@pdurbin pdurbin removed their assignment Aug 14, 2023
@kcondon kcondon self-assigned this Aug 14, 2023
@kcondon kcondon merged commit 1c356b4 into IQSS:develop Aug 14, 2023
5 of 6 checks passed
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Ready for QA ⏩ to Done 🚀 Aug 14, 2023
@pdurbin pdurbin added this to the 6.0 milestone Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Containers created from gdcc/dataverse:unstable image do not work as expected
3 participants