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

Prepare for 0.3.0 release #92

Closed
wants to merge 40 commits into from

Conversation

thepetk
Copy link
Contributor

@thepetk thepetk commented Jul 30, 2024

Please specify the area for this PR

/releng

What does does this PR do / why we need it:

This PR updates the bundle dir for the release of 0.3.0 version of the registry-operator

Which issue(s) this PR fixes:

Partially fixes devfile/api#1605

PR acceptance criteria:

  • Test Coverage
    • Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?
  • Gosec scans

Documentation

  • Does the registry operator documentation need to be updated with your changes?

Testing changes

Running Unit Tests

Running Integration Tests

Special notes to the reviewer:

feloy and others added 30 commits October 12, 2023 16:04
* Detect and use oc / kubectl for integration tests

Signed-off-by: Philippe Martin <[email protected]>

* Use K8S_CLI first, then look in path instead of running version command

Signed-off-by: Philippe Martin <[email protected]>

* Document

Signed-off-by: Philippe Martin <[email protected]>

---------

Signed-off-by: Philippe Martin <[email protected]>
* release workflow

Signed-off-by: Michael Valdron <[email protected]>

* deploy minikube ci script

Signed-off-by: Michael Valdron <[email protected]>

* deploy operator job

Signed-off-by: Michael Valdron <[email protected]>

* set imagePullPolicy to 'Never' to use local built image

Signed-off-by: Michael Valdron <[email protected]>

* release deployment checks on kubernetes 1.25 & 1.26

Signed-off-by: Michael Valdron <[email protected]>

* publishing operator bundle requires release deploy checks to pass

Signed-off-by: Michael Valdron <[email protected]>

* remove unnecessary ingress minikube addon

Signed-off-by: Michael Valdron <[email protected]>

* olm deploy check

Signed-off-by: Michael Valdron <[email protected]>

* version check

Signed-off-by: Michael Valdron <[email protected]>

* fix yq actions

Signed-off-by: Michael Valdron <[email protected]>

* download yq locally for version check

Signed-off-by: Michael Valdron <[email protected]>

* install operator-sdk

Signed-off-by: Michael Valdron <[email protected]>

* operator-sdk makefile variable

Signed-off-by: Michael Valdron <[email protected]>

* skip olm deploy check

Signed-off-by: Michael Valdron <[email protected]>

* setup go & operator-sdk for deploy checks

Signed-off-by: Michael Valdron <[email protected]>

* convert kubernetes deploy checks into kubernetes integration tests

Signed-off-by: Michael Valdron <[email protected]>

* release ci labelling fixups

Signed-off-by: Michael Valdron <[email protected]>

* add additional time for registry operator to setup before running k8s integration testing

Signed-off-by: Michael Valdron <[email protected]>

* make k8s integration testing not required for release image pushing

Signed-off-by: Michael Valdron <[email protected]>

* pin actions to commit SHA

Signed-off-by: Michael Valdron <[email protected]>

* use go.mod version

Co-authored-by: Armel Soro <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>

* set up go after source checkout

Signed-off-by: Michael Valdron <[email protected]>

* use gh provided CI variable instead parameter

Signed-off-by: Michael Valdron <[email protected]>

* use strategy.matrix for k8s version for integration testing

Signed-off-by: Michael Valdron <[email protected]>

* quote CI variable

Signed-off-by: Michael Valdron <[email protected]>

---------

Signed-off-by: Michael Valdron <[email protected]>
Co-authored-by: Armel Soro <[email protected]>
* release branching PR workflow

Signed-off-by: Michael Valdron <[email protected]>

* check version uses VERSION file as base, no longer takes ref_name as parameter

Signed-off-by: Michael Valdron <[email protected]>

* registry operator built image for release integration testing now uses VERSION file instead of ref_name

Signed-off-by: Michael Valdron <[email protected]>

* revert docker/build-push-action to v1.1.x

Signed-off-by: Michael Valdron <[email protected]>

---------

Signed-off-by: Michael Valdron <[email protected]>
* update typos in contributing.md

Signed-off-by: Jordan Dubrick <[email protected]>

* fix typo in readme

Signed-off-by: Jordan Dubrick <[email protected]>

---------

Signed-off-by: Jordan Dubrick <[email protected]>
* update documentation for podman support

Signed-off-by: Jordan Dubrick <[email protected]>

* update Makefile to add podman commands

Signed-off-by: Jordan Dubrick <[email protected]>

* update readme wording for engine being used

Signed-off-by: Jordan Dubrick <[email protected]>

---------

Signed-off-by: Jordan Dubrick <[email protected]>
…evfile#60)

* patch dependencies

Signed-off-by: Michael Valdron <[email protected]>

* disable http/2 by default

Signed-off-by: Michael Valdron <[email protected]>

* add instructions to enable http/2

Signed-off-by: Michael Valdron <[email protected]>

---------

Signed-off-by: Michael Valdron <[email protected]>
Signed-off-by: Michael Valdron <[email protected]>
Needed for self servicing openshift ci changes
* add missing DCO file

Signed-off-by: Michael Valdron <[email protected]>

* contributing guide revisions

Signed-off-by: Michael Valdron <[email protected]>

---------

Signed-off-by: Michael Valdron <[email protected]>
… images (devfile#68)

* add target arch support to build container make rules

Signed-off-by: Michael Valdron <[email protected]>

* update manager rule to build for other platforms

Signed-off-by: Michael Valdron <[email protected]>

* update env variables table in README

Signed-off-by: Michael Valdron <[email protected]>

* add 'Using other platforms' section to contributing guide

Signed-off-by: Michael Valdron <[email protected]>

* fix OpenShift CI: set default target arch build arg to 'amd64'

Signed-off-by: Michael Valdron <[email protected]>

---------

Signed-off-by: Michael Valdron <[email protected]>
* update readme to properly link to changelog

Signed-off-by: Jordan Dubrick <[email protected]>

* add exemptions and best practice badge

Signed-off-by: Jordan Dubrick <[email protected]>

* remove artifact hub exemption

Signed-off-by: Jordan Dubrick <[email protected]>

---------

Signed-off-by: Jordan Dubrick <[email protected]>
* add scorecard workflow and badge

Signed-off-by: Jordan Dubrick <[email protected]>

* remove irrelevant info

Signed-off-by: Jordan Dubrick <[email protected]>

---------

Signed-off-by: Jordan Dubrick <[email protected]>
Signed-off-by: thepetk <[email protected]>
Signed-off-by: thepetk <[email protected]>
This reverts commit 47dd095.

Signed-off-by: thepetk <[email protected]>
Signed-off-by: thepetk <[email protected]>
* update devfile registry maintainers list

Signed-off-by: Michael Valdron <[email protected]>

* next version bump

Signed-off-by: Michael Valdron <[email protected]>

---------

Signed-off-by: Michael Valdron <[email protected]>
…e_field

Implement DevfileRegistry CRD MemoryLimit field
* Add ingressClass field

Signed-off-by: thepetk <[email protected]>

* Update description for ingressClass

Signed-off-by: thepetk <[email protected]>

* Update defaults with k8s ingress class

Signed-off-by: thepetk <[email protected]>

---------

Signed-off-by: thepetk <[email protected]>
Jdubrick and others added 8 commits March 6, 2024 11:50
* update ingress hostname

Signed-off-by: Jordan Dubrick <[email protected]>

* update known issues

Signed-off-by: Jordan Dubrick <[email protected]>

---------

Signed-off-by: Jordan Dubrick <[email protected]>
Signed-off-by: Jordan Dubrick <[email protected]>
* add override fields to DevfileRegistry CRD

Signed-off-by: Michael Valdron <[email protected]>

* add override getters and defaults

Signed-off-by: Michael Valdron <[email protected]>

---------

Signed-off-by: Michael Valdron <[email protected]>
* app name functions and refactored devfile registry labels function for app name getter changes

Signed-off-by: Michael Valdron <[email protected]>

* truncateName & LabelsForDevfileRegistry test cases

Signed-off-by: Michael Valdron <[email protected]>

* app name getter test cases

Signed-off-by: Michael Valdron <[email protected]>

* refactor naming.go functions to use fully qualified app name instead of CR name

Signed-off-by: Michael Valdron <[email protected]>

* change truncated length of app full name part of configmap name to add space for suffix part

Signed-off-by: Michael Valdron <[email protected]>

* naming function getter test cases

Signed-off-by: Michael Valdron <[email protected]>

* truncateName & truncateNameLengthN comment blocks

Signed-off-by: Michael Valdron <[email protected]>

* k8s ingress host name uses app full name rather than CR name to match OpenShift route url

Signed-off-by: Michael Valdron <[email protected]>

* fix full name contains case

Signed-off-by: Michael Valdron <[email protected]>

* fix given CR names in integration test cases to contain default app name devfile-registry

Signed-off-by: Michael Valdron <[email protected]>

---------

Signed-off-by: Michael Valdron <[email protected]>
* update documentation for testing the operator

Signed-off-by: Jordan Dubrick <[email protected]>

* update pr template for testing changes

Signed-off-by: Jordan Dubrick <[email protected]>

* make reference to files consistent cases

Signed-off-by: Jordan Dubrick <[email protected]>

* add comment as reminder to update docs

Signed-off-by: Jordan Dubrick <[email protected]>

* link test instructions in pr template to contributing

Signed-off-by: Jordan Dubrick <[email protected]>

---------

Signed-off-by: Jordan Dubrick <[email protected]>
* add logic for handling missing ingress domain

Signed-off-by: Jordan Dubrick <[email protected]>

* use local hostname if ingress skipped

Signed-off-by: Jordan Dubrick <[email protected]>

* update localhost values to use global var

Signed-off-by: Jordan Dubrick <[email protected]>

* fix typo for using localhost constant

Signed-off-by: Jordan Dubrick <[email protected]>

* remove protocol from local hostname constant

Signed-off-by: Jordan Dubrick <[email protected]>

* create helper func for skipping ingress

Signed-off-by: Jordan Dubrick <[email protected]>

* prefix http protocol to url

Signed-off-by: Jordan Dubrick <[email protected]>

* add logic for skipping checks for missing ingress k8s cases

Signed-off-by: Jordan Dubrick <[email protected]>

* cherry pick remove items & block deployment if ingress unset

Signed-off-by: Jordan Dubrick <[email protected]>

---------

Signed-off-by: Jordan Dubrick <[email protected]>
* add qemu to ci

Signed-off-by: Jordan Dubrick <[email protected]>

* update documentation

Signed-off-by: Jordan Dubrick <[email protected]>

* add environment variable for build only to ci

Signed-off-by: Jordan Dubrick <[email protected]>

* implement multi arch building and pushing

Signed-off-by: Jordan Dubrick <[email protected]>

* update ci for buildx commands

Signed-off-by: Jordan Dubrick <[email protected]>

* separate podman buildx to have build and push commands

Signed-off-by: Jordan Dubrick <[email protected]>

* break buildx into build and push commands

Signed-off-by: Jordan Dubrick <[email protected]>

* update workflows with new build and push commands

Signed-off-by: Jordan Dubrick <[email protected]>

* update documentation with new commands

Signed-off-by: Jordan Dubrick <[email protected]>

---------

Signed-off-by: Jordan Dubrick <[email protected]>
@openshift-ci openshift-ci bot requested review from elsony and Jdubrick July 30, 2024 17:01
@thepetk thepetk changed the title WIP: Prepare for 0.30 release WIP: Prepare for 0.3.0 release Jul 30, 2024
@thepetk thepetk force-pushed the ft/prepare_new_release branch from 528d36e to f10aded Compare July 30, 2024 17:02
Copy link
Contributor

@Jdubrick Jdubrick left a comment

Choose a reason for hiding this comment

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

Do these changes go into main or a release branch? I just ask because the VERSION file is still at 0.1.4 and doesn't look like it has been being updated on main

@thepetk thepetk changed the base branch from main to release-v0 August 13, 2024 13:35
@thepetk thepetk changed the title WIP: Prepare for 0.3.0 release Prepare for 0.3.0 release Aug 13, 2024
@thepetk
Copy link
Contributor Author

thepetk commented Aug 13, 2024

Do these changes go into main or a release branch? I just ask because the VERSION file is still at 0.1.4 and doesn't look like it has been being updated on main

As decided, in order to unblock a potential release automation we're going to:

  • Merge the current PR to release-v0.
  • Update the operatorhub & openshift-catalog sides.
  • Publish v0.3.0 and announce it.
  • Finally, we're going to merge the release-v0 branch into main making the v0.3.0 the latest release of the operator.

Copy link

openshift-ci bot commented Aug 13, 2024

@thepetk: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v4.15-images f10aded link true /test v4.15-images
ci/prow/v4.15-registry-operator-integration-test f10aded link true /test v4.15-registry-operator-integration-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link

openshift-ci bot commented Aug 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: thepetk

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

The pull request process is described 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

@thepetk thepetk closed this Aug 13, 2024
@thepetk
Copy link
Contributor Author

thepetk commented Aug 13, 2024

@Jdubrick @michael-valdron as the current PR had a few conflicts when tried to rebase it with main, I've closed it against #95 which tries to merge the v0.3.0 release updates directly to release-v0 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish 0.3.0 release for registry-operator
5 participants