Skip to content

Commit cbd180e

Browse files
committed
feat(STONEINTG-892): override snapshot git url
The source key in the snapshot also the git url as well as the revision. Revise the explanation for the 'source' key to hopefully avoid some people having unexpected problems getting their EC check to pass after creating an override snapshot. Signed-off-by: Hongwei Liu <[email protected]>
1 parent 136915c commit cbd180e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/modules/ROOT/pages/how-tos/testing/integration/creatingoverridesnapshot.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ spec:
3232
containerImage: quay.io/redhat-user-workloads/ws-sample-tenant/application-sample/component-sample@sha256:0db0a473a6abf5c15c424ab07cfbd5c40c06622fe648d4fe6a6b6abc224a0d0c <3>
3333
source: <4>
3434
git:
35+
url: https://github.com/sample-org/sample-repo
3536
revision: fa8b89274a61ef0f1c257b7a84c37aa2ec844109
3637
----
3738
<1> The label `test.appstudio.openshift.io/type: override` that indicates this is an `override` snapshot.
3839
<2> The component name you will reset its Global Candidate List.
3940
<3> The container image with valid digest you will reset the component <2> to.
40-
<4> Optional. The component source containing the git revision.
41+
<4> Optional, but may cause an Enterprise Contract check to fail if it's incorrect or missing. The component source containing the git url and revision that the container image was built from.
4142

4243
. Save the .yaml file and add the snapshot.yaml by running the following command:
4344
+

0 commit comments

Comments
 (0)