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

Adding image check to pull request workflow and bumping scripts version #2881

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Adding image check to pull request workflow and bumping scripts version #2881

merged 1 commit into from
Aug 18, 2023

Conversation

lucasmlp
Copy link
Contributor

  • Adds a new step in the pull request workflow to check all the container images used in the project
  • The step will run only if the pull request is opened against a release branch
  • If the step fails, the workflow doesn't fail. The reason for this is that we have two tags from the fluent-bit repository that doesn't exist in Docker Hub. Until we figure that out, the new step would fail all the PRs if it was required to run successfully. After sorting the tags out we'll set the step success to be required.

@lucasmlp lucasmlp requested a review from a team August 17, 2023 21:21
- name: Check container images
run: make check-images
if: startsWith(github.ref, 'refs/heads/upstream/release-v')
Copy link
Member

Choose a reason for hiding this comment

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

This needs to run for every PR so we catch the errors beforehand and not until the release date of charts.

run: make check-images
if: startsWith(github.ref, 'refs/heads/upstream/release-v')
continue-on-error: true
Copy link
Member

Choose a reason for hiding this comment

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

This field can be removed since this is the last step in the process.

@rohitsakala
Copy link
Member

rohitsakala commented Aug 18, 2023

Also, for the missing images, can we create a PR for adding the missing images in image-mirror github repo https://github.com/rancher/image-mirror before merging this PR ? so we can remove that continue-on-error field ?

@lucasmlp lucasmlp merged commit 4c74931 into rancher:dev-v2.7 Aug 18, 2023
4 checks passed
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.

3 participants