-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oci/ccm: adapting to inject CCM manifests into install flow
- Loading branch information
Showing
58 changed files
with
1,453 additions
and
473 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
## OPCT setup | ||
|
||
- Create the OPCT [dedicated] node | ||
|
||
> https://redhat-openshift-ecosystem.github.io/provider-certification-tool/user/#option-a-command-line | ||
```bash | ||
# Create OPCT node | ||
ansible-playbook mtulio.okd_installer.create_node \ | ||
-e node_role=opct \ | ||
-e @./vars-oci-ha.yaml | ||
``` | ||
|
||
- OPCT dedicated node setup | ||
|
||
```bash | ||
|
||
# Set the OPCT requirements (registry, labels, wait-for COs stable) | ||
ansible-playbook ../opct/hack/opct-runner/opct-run-tool-preflight.yaml -e cluster_name=oci -D | ||
|
||
oc label node opct-01.priv.ocp.oraclevcn.com node-role.kubernetes.io/tests="" | ||
oc adm taint node opct-01.priv.ocp.oraclevcn.com node-role.kubernetes.io/tests="":NoSchedule | ||
|
||
``` | ||
|
||
- OPCT regular | ||
|
||
```bash | ||
# Run OPCT | ||
~/opct/bin/openshift-provider-cert-linux-amd64-v0.3.0 run -w | ||
|
||
# Get the results and explore it | ||
~/opct/bin/openshift-provider-cert-linux-amd64-v0.3.0 retrieve | ||
~/opct/bin/openshift-provider-cert-linux-amd64-v0.3.0 results *.tar.gz | ||
~/opct/bin/openshift-provider-cert-linux-amd64-v0.3.0 report *.tar.gz | ||
``` | ||
|
||
- OPCT upgrade mode | ||
|
||
```bash | ||
# from a cluster 4.12.1, run upgrade conformance to 4.13 | ||
~/opct/bin/openshift-provider-cert-linux-amd64-v0.3.0 run -w \ | ||
--mode=upgrade \ | ||
--upgrade-to-image=$(oc adm release info 4.13.0-ec.2 -o jsonpath={.image}) | ||
|
||
# Get the results and explore it | ||
~/opct/bin/openshift-provider-cert-linux-amd64-v0.3.0 retrieve | ||
~/opct/bin/openshift-provider-cert-linux-amd64-v0.3.0 results *.tar.gz | ||
~/opct/bin/openshift-provider-cert-linux-amd64-v0.3.0 report *.tar.gz | ||
``` |
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
Oops, something went wrong.