Skip to content

change the default versions to be clearly placeholders #132

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

Merged

Conversation

KPostOffice
Copy link
Collaborator

No description provided.

@openshift-ci
Copy link

openshift-ci bot commented Jun 9, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@KPostOffice KPostOffice marked this pull request as ready for review June 9, 2023 14:53
@openshift-ci openshift-ci bot requested review from dimakis and Maxusmusti June 9, 2023 14:53
@anishasthana anishasthana requested a review from astefanutti June 10, 2023 16:36
CONTRIBUTING.md Outdated
@@ -31,14 +31,21 @@ If changes are made to any Go code (like in the `controllers` dir for example),
- This will check and build/compile the modified code

For building and pushing a new version of the operator image:
- `make image-build -e IMG=<image-repo/image-name>`
- `make image-push -e IMG<image-repo/image-name>`
- `make image-build -e IMG_TAG_BASE=<image-repo/image-name> VERSION=<semver>`
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that should be IMAGE_TAG_BASE instead of IMG_TAG_BASE.

CONTRIBUTING.md Outdated

For deploying onto a cluster:
- First, either set `KUBECONFIG` or ensure you are logged into a cluster in your environment
- `make install`
- `make deploy -e IMG=<image-repo/image-name>`

For building and pushing a new version of the bundled operator image:
- `make bundle-build -e IMG_TAG_BASE=<image-repo/image-name> VERSION=<new semver> PREVIOUS_VERSION=<semver to replace>`
Copy link
Contributor

Choose a reason for hiding this comment

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

IMG_TAG_BASE -> IMAGE_TAG_BASE

@@ -241,6 +241,7 @@ bundle: defaults manifests kustomize install-operator-sdk ## Generate bundle man
cd config/manifests && $(KUSTOMIZE) edit add patch --patch '[{"op":"add", "path":"/spec/replaces", "value": "codeflare-operator.v$(PREVIOUS_VERSION)" }]' --kind ClusterServiceVersion
$(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS)
$(MAKE) validate-bundle
git restore config/*
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: we may want to git restore also in the deploy target, for consistency.

@KPostOffice KPostOffice force-pushed the make-versions-useless branch from 334f16e to 44a4696 Compare June 13, 2023 19:21
@astefanutti
Copy link
Contributor

/lgtm

@astefanutti
Copy link
Contributor

/retest

@astefanutti
Copy link
Contributor

/approve

@openshift-ci
Copy link

openshift-ci bot commented Jun 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: astefanutti

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

@openshift-merge-robot openshift-merge-robot merged commit 360e01f into project-codeflare:main Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants