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

fix CI manifest #341

Closed
wants to merge 1 commit into from
Closed

Conversation

jpinsonneau
Copy link
Contributor

Manifest image needs to be pushed to created the shortlived image

@openshift-ci
Copy link

openshift-ci bot commented May 23, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from jpinsonneau. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Makefile Outdated
@@ -316,7 +316,7 @@ else
endif

.PHONY: ci-manifest-build
ci-manifest-build: manifest-build ## Build CI manifest
ci-manifest-build: manifest ## Build CI manifest
Copy link
Member

Choose a reason for hiding this comment

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

if "ci-manifest-build" runs "manifest" which itself does a push, then "ci-manifest-push" is now useless (or overlapping)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but it works like this in other components:

  • make images build and push manifest
  • make ci-manifest overrides the manifest shortlived

@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

Merging #341 (06fcaf3) into main (98372de) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #341   +/-   ##
=======================================
  Coverage   51.42%   51.42%           
=======================================
  Files          43       43           
  Lines        5186     5186           
=======================================
  Hits         2667     2667           
  Misses       2323     2323           
  Partials      196      196           
Flag Coverage Δ
unittests 51.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@@ -316,7 +316,7 @@ else
endif

.PHONY: ci-manifest-build
ci-manifest-build: manifest-build ## Build CI manifest
ci-manifest-build: ## Build CI manifest
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to do the same for all other repos too ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

✔️ yes !

@@ -41,8 +41,10 @@ jobs:
run: IMAGE_ORG=${{ env.ORG }} IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.short_sha }} make image-build
- name: push images
run: IMAGE_ORG=${{ env.ORG }} IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.short_sha }} make image-push
- name: build and push manifest
run: IMAGE_ORG=${{ env.ORG }} IMAGE=${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.short_sha }} make ci-manifest
- name: build temp manifest
Copy link
Member

Choose a reason for hiding this comment

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

I'm trying these steps locally, it fails because it looks for image tags like temp-amd64

@jpinsonneau
Copy link
Contributor Author

Replaced by #342

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