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

[cherry pick] [v3.29] [release tool] Allow building and publishing image in hashrelease #9534

Merged
merged 13 commits into from
Dec 6, 2024

Conversation

radTuti
Copy link
Contributor

@radTuti radTuti commented Nov 26, 2024

Description

This take in commits from master to allow this

  • moved the definition of OPERATOR_BRANCH from hashrelease semaphore file w/ update for the correct operator branch for this branch
  • main PR for building and publishing own images in nightly hashrelease task
  • various fixes to main PR to work in Semaphore
  • update to operator CRD validations (introduced in the first bullet point)

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

@radTuti radTuti added docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact labels Nov 26, 2024
@radTuti radTuti requested a review from a team November 26, 2024 23:17
@radTuti radTuti requested a review from a team as a code owner November 26, 2024 23:17
@marvin-tigera marvin-tigera added this to the Calico v3.29.2 milestone Nov 26, 2024
caseydavenport and others added 10 commits December 5, 2024 14:05
…ashrelease (projectcalico#9429)

* update cleaning old hashreleases

* Allow building and publishing images in hashrelease

* fix building images for hashrelease

- key-cert-provisioner: add release-build and release-publish targets
- add ability to skip release notes

* address review feedback

* fix publishing images for hashrelease

- add custom registry to pinnedversion
- allowing skipping validation for publish
- fail if hashrelease latest is set while using custom registry
- move hashrelease validation to calico manager
- update .gitignore to ignore publishing identifier files
- fix key-cert-provisioner publishing

* update publish prereqs

- check hashrelease server config if publishHashrelease == true
- move release-verify from Makefile to golang tool

* merge format fix

* utilize operator optimization

* remove Registry in pinnedversion

* release notes uses projectcalico org

* update hashrelease pipeline

* address review comments
…#9554)

* Check code generation as part of release / hashrelease

* Add better error mesg
@radTuti radTuti changed the title [cherry pick] [release tool] Allow building and publishing image in hashrelease [cherry pick] [v3.29] [release tool] Allow building and publishing image in hashrelease Dec 5, 2024
lib.Makefile Outdated Show resolved Hide resolved
Makefile Outdated
Comment on lines 72 to 73
cd ./manifests/ocp/ && \
for file in operator.tigera.io_*.yaml; do echo "downloading $$file from operator repo" && curl -fsSL https://raw.githubusercontent.com/tigera/operator/$(OPERATOR_BRANCH)/pkg/crds/operator/$${file%_crd.yaml}.yaml -o $${file}; done
Copy link
Member

Choose a reason for hiding this comment

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

we don't need this anymore since the operator will bootstrap the CRDs for OpenShift (#9547)

@coutinhop coutinhop merged commit 34bc075 into projectcalico:release-v3.29 Dec 6, 2024
3 of 4 checks passed
@radTuti radTuti deleted the cp-nightly-build branch December 6, 2024 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants