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 upgrade and version check #60

Merged
merged 3 commits into from
Mar 30, 2023

Conversation

supreeth7
Copy link
Contributor

@supreeth7 supreeth7 commented Mar 29, 2023

What type of PR is this?

Bug

What this PR does / Why we need it?

This PR fixes how we fetch binaries for upgrades and well as enforces the version of backplane CLI to not be static.

Which Jira/Github issue(s) does this PR fix?

https://issues.redhat.com/browse/OSD-15761

Special notes for your reviewer

Instructions to test

  • The version is not static anymore and is populated by goreleaser's build dynamically upon each release based on tags.
  • Run a goreleaser local build: goreleaser build --skip-validate. This will generate the release artifacts in the dist/ folder.
  • Run the newly generated binary: ./dist/ocm-backplane_linux_amd64_v1/ocm-backplane upgrade or ./dist/ocm-backplane_linux_amd64_v1/ocm-backplane version.

Pre-checks (if applicable)

  • Ran unit tests locally
  • Validated the changes in a cluster
  • Included documentation changes with PR

Supreeth Basabattini added 2 commits March 29, 2023 18:05
@openshift-ci openshift-ci bot requested review from MitaliBhalla and Tafhim March 29, 2023 12:42
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 29, 2023
@supreeth7
Copy link
Contributor Author

/label tide/merge-method-squash

@openshift-ci openshift-ci bot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Mar 29, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 29, 2023

@supreeth7: all tests passed!

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/test-infra repository. I understand the commands that are listed here.

@wanghaoran1988
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 30, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 30, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: supreeth7, wanghaoran1988

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:
  • OWNERS [supreeth7,wanghaoran1988]

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

@openshift-merge-robot openshift-merge-robot merged commit d802596 into openshift:main Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants