Skip to content

Commit a2ec38c

Browse files
authored
Update Konflux doc (#274)
2 parents 6d9ad9f + d1c858f commit a2ec38c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/konflux/release_operator_with_konflux.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ go operator application that were created as a result of a nudge, by timestamp
181181
in ascending order and displays the name, integration tests success status and
182182
the merge PR number and remote branch used in the commit.
183183
```console
184-
oc get snapshots --sort-by .metadata.creationTimestamp -l pac.test.appstudio.openshift.io/event-type=push,appstudio.openshift.io/component=$orchestrator_operator_bundle -ojsonpath='{range .items[*]}{@.metadata.name}{"\t"}{@.status.conditions[?(@.type=="AppStudioTestSucceeded")].status}{"\t"}{@.metadata.annotations.pac\.test\.appstudio\.openshift\.io/sha-title}{"\n"}{end}' | grep "Update controller-rhel9-operator"
184+
oc get snapshots --sort-by .metadata.creationTimestamp -l pac.test.appstudio.openshift.io/event-type=push,appstudio.openshift.io/component=$orchestrator_operator_bundle -ojsonpath='{range .items[*]}{@.metadata.name}{"\t"}{@.status.conditions[?(@.type=="AppStudioTestSucceeded")].status}{"\t"}{@.metadata.annotations.pac\.test\.appstudio\.openshift\.io/sha-title}{"\n"}{end}' | grep "chore(deps): update controller-rhel9-operator-1-6"
185185
```
186186
Example:
187187
```console
@@ -249,7 +249,7 @@ guide to find out the root cause.
249249
manifest:
250250

251251
```console
252-
advisoryURL=$(oc get $releaseName -ojsonpath='{.status.artifacts.advisory.url}' | sed 's/blob/raw/')
252+
advisoryURL=$(oc get $releaseName -ojsonpath='{.status.artifacts.advisory.internal_url}' | sed 's/blob/raw/')
253253
controllerPullSpec=$(curl $advisoryURL | yq '.spec.content[] | with_entries(select(.value.repository | test("controller-rhel9-operator$") ))| .[].containerImage')
254254
bundlePullSpec=$(curl $advisoryURL | yq '.spec.content[] | with_entries(select(.value.repository | test("orchestrator-operator-bundle$") ))| .[].containerImage')
255255
skopeo inspect docker://$controllerPullSpec >/dev/null && echo "Controller image found in $controllerPullSpec" || echo "Controller image not found in $controllerPullSpec"
@@ -518,7 +518,7 @@ guide to find out the root cause.
518518
advisory manifest:
519519

520520
```console
521-
advisoryURL=$(oc get $releaseName -ojsonpath='{.status.artifacts.advisory.url}' | sed 's/blob/raw/')
521+
advisoryURL=$(oc get $releaseName -ojsonpath='{.status.artifacts.advisory.internal_url}' | sed 's/blob/raw/')
522522
controllerPullSpec=$(curl $advisoryURL | yq '.spec.content[] | with_entries(select(.value.repository | test("controller-rhel9-operator$") ))| .[].containerImage')
523523
bundlePullSpec=$(curl $advisoryURL | yq '.spec.content[] | with_entries(select(.value.repository | test("orchestrator-operator-bundle$") ))| .[].containerImage')
524524
skopeo inspect docker://$controllerPullSpec >/dev/null && echo "Controller image found in $controllerPullSpec" || echo "Controller image not found in $controllerPullSpec"

0 commit comments

Comments
 (0)