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 #9772

Conversation

poikilotherm
Copy link
Contributor

@poikilotherm poikilotherm commented Aug 11, 2023

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. It also adds an explanation of the workflows logic in the guides, to be extended.

Note: this PR is based against the Jakarta branch and may be rebased onto develop once #9685 is merged.

TODOs:

  • Make the logic in main workflow easier to read when it's skipped (Merging/...)
  • Add a diagram about PR preview images from forked repos via comment
  • Add some notes somewhere about implicits. For example, which kind of events we expect, how the secrets thing is basically assuring we run within IQSS bounds, how the main deploy job is skipped for PRs from forks, etc)
  • ...?

Which issue(s) this PR closes:

Closes #9769

Special notes for your reviewer:
None.

Suggestions on how to test this:
Can only really be tested by merging. The ruleset in place must be in the base branch to be activated.

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 for any
non-PR events when based on develop or master branch, we avoid
breaking the images on the Hub.
@poikilotherm poikilotherm added Component: Containers Anything related to cloudy Dataverse, shipped in containers. Feature: Container Guide labels Aug 11, 2023
@poikilotherm poikilotherm self-assigned this Aug 11, 2023
@pdurbin pdurbin self-assigned this Aug 11, 2023
@kcondon kcondon deleted the branch IQSS:8305-payara6-ee10-v3 August 11, 2023 16:36
@kcondon kcondon closed this Aug 11, 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. Feature: Container Guide
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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