-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update README.md #61
Open
nebril
wants to merge
1
commit into
main
Choose a base branch
from
pr/nebril/update-readme
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update README.md #61
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,31 +116,12 @@ The branch PR can then be merged into master. | |
Once the branch PR is merged into master, run [the publish action](https://github.com/isovalent/olm-for-cilium/actions/workflows/publish.yaml) on the | ||
master branch, defining the version to be published ("1.14.3" for example). | ||
|
||
Once the action has completed successfully, you can now submit the image conformance tests to Redhat. | ||
For this you will need to access [RedHat Partner Connect][] registry and obtain credentials for logging | ||
into the regsitry and setting the preflight API key. | ||
Once the action has completed successfully, the image will now be certified by RedHat registry. | ||
|
||
Export the following environment variables using the credentials from RedHat Partner Connect: | ||
|
||
- `export RHPC_PASSWORD_FOR_OLM_OPERATOR_IMAGE="_____"` | ||
- `export RHCP_PREFLIGHT_API_KEY="_____"` | ||
|
||
Next, login to the registry: | ||
|
||
```sh | ||
podman login -u unused scan.connect.redhat.com -p $RHPC_PASSWORD_FOR_OLM_OPERATOR_IMAGE | ||
``` | ||
|
||
Next, run the preflight checks on the image: | ||
|
||
```sh | ||
PFLT_DOCKERCONFIG=~/.docker/config.json preflight check container --pyxis-api-token=$RHCP_PREFLIGHT_API_KEY --submit --certification-project-id=ospid-104ec1da-384c-4d7c-bd27-9dbfd8377f5b scan.connect.redhat.com/ospid-104ec1da-384c-4d7c-bd27-9dbfd8377f5b/cilium-olm:v1.10.0 | ||
``` | ||
|
||
Next, login to [Redhat Parnter Connect][] and click "Publish" on the image (once the vulnerability scanning is done). | ||
Once the certification finishes, login to [Redhat Parnter Connect][] and click "Publish" on the image (once the vulnerability scanning is done). | ||
|
||
Once the image is published open a new PR in the [isovalent/certified-operators-cilium](https://github.com/isovalent/certified-operators-cilium), by adding the | ||
new manifests to the appropriately named new directory under `operators/cilium` (`operators/cilium/v1.14.3`, for example). | ||
new manifests to the appropriately named new directory under `operators/cilium` (`operators/cilium/1.14.3`, for example). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the rational for removing the "v"? It is also present under |
||
Before commiting your changes make sure to modify the `image` reference in the `manifests/cilium.clusterserviceversion.yaml` so that | ||
the sha256 tag of the image is used (rather than the semantic tag). | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you are relying on
olm-for-cilium/.github/workflows/publish.yaml
Lines 56 to 65 in d08076c