Skip to content

Commit

Permalink
Merge pull request #276 from simonbaird/include-git-url-override-snap…
Browse files Browse the repository at this point in the history
…shot-example

feat(STONEINTG-892): Include git url override snapshot example
  • Loading branch information
dirgim authored Jul 30, 2024
2 parents fa9857d + e445fd0 commit 3a01e84
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ spec:
containerImage: quay.io/redhat-user-workloads/ws-sample-tenant/application-sample/component-sample@sha256:0db0a473a6abf5c15c424ab07cfbd5c40c06622fe648d4fe6a6b6abc224a0d0c <3>
source: <4>
git:
url: https://github.com/sample-org/sample-repo
revision: fa8b89274a61ef0f1c257b7a84c37aa2ec844109
----
<1> The label `test.appstudio.openshift.io/type: override` that indicates this is an `override` snapshot.
<2> The component name you will reset its Global Candidate List.
<3> The container image with valid digest you will reset the component <2> to.
<4> Optional. The component source containing the git revision.
<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.


. Save the .yaml file and add the snapshot.yaml by running the following command:
Expand Down

0 comments on commit 3a01e84

Please sign in to comment.