File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,14 @@ tasks:
3535 deps :
3636 - tools:ocm
3737 - tools:localtmp
38+ requires :
39+ vars :
40+ - VERSION
41+ - REPO_URL
3842 vars :
3943 compdir : ' {{.LOCALTMP}}/component'
4044 desc : Build ocm component
4145 cmds :
42- # - |
43- # ocm add componentversions \
44- # --copy-resources --force --create \
45- # --file {{.compdir}} \
46- # --settings settings.yaml \
47- # component-constructor.yaml
4846 - |
4947 "{{.OCM}}" add componentversions \
5048 --file "{{.compdir}}" \
@@ -63,10 +61,14 @@ tasks:
6361 push :
6462 deps :
6563 - tools:ocm
66- - tools:localtmp
6764 desc : Push to OCM Registry
65+ run : once
66+ requires :
67+ vars :
68+ - VERSION
69+ - LOCALTMP
6870 cmds :
69- - ocm transfer ctf -f {{.compdir}} "{{.COMPONENT_REGISTRY}}" {{.overwrite_mod}}
71+ - ' {{.OCM}} transfer ctf -f {{.compdir}} "{{.COMPONENT_REGISTRY}}" {{.overwrite_mod}}'
7072 vars :
7173 compdir : ' {{.LOCALTMP}}/component'
7274 overwrite_mod :
You can’t perform that action at this time.
0 commit comments