Commit ad14fa9 1 parent 7037635 commit ad14fa9 Copy full SHA for ad14fa9
File tree 2 files changed +20
-2
lines changed
2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 29
29
30
30
- uses : actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
31
31
with :
32
- python-version : 3.7
32
+ python-version : ' 3.10 '
33
33
34
34
- name : Set up Helm
35
35
uses : azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
@@ -123,6 +123,15 @@ jobs:
123
123
echo ' image: "docker.io/anchore/anchore-on-prem-ui-dev:rc"' >> stable/enterprise/ci/openshift-test.yaml
124
124
echo "Appended to stable/enterprise/ci/openshift-test.yaml"
125
125
126
+ - name : Update to nightly image if needed
127
+ if : ${{ github.event.pull_request.base.ref == 'nightly' || github.ref_name == 'nightly' }}
128
+ run : |
129
+ echo "Branch: ${{ github.event.pull_request.head.ref }}"
130
+ echo 'image: "docker.io/anchore/enterprise-dev:nightly"' >> stable/enterprise/ci/openshift-test.yaml
131
+ echo 'ui:' >> stable/enterprise/ci/openshift-test.yaml
132
+ echo ' image: "docker.io/anchore/anchore-on-prem-ui-dev:nightly"' >> stable/enterprise/ci/openshift-test.yaml
133
+ echo "Appended to stable/enterprise/ci/openshift-test.yaml"
134
+
126
135
- name : Run chart-testing
127
136
if : steps.list-changed.outputs.CHANGED == 'true'
128
137
run : |
Original file line number Diff line number Diff line change 27
27
28
28
- uses : actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
29
29
with :
30
- python-version : 3.7
30
+ python-version : ' 3.10 '
31
31
32
32
- name : Set up Helm
33
33
uses : azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
@@ -106,6 +106,15 @@ jobs:
106
106
echo ' image: "docker.io/anchore/anchore-on-prem-ui-dev:rc"' >> stable/enterprise/ci/rc-values.yaml
107
107
echo "Appended to stable/enterprise/ci/rc-values.yaml"
108
108
109
+ - name : Update to nightly image if needed
110
+ if : ${{ github.event.pull_request.base.ref == 'nightly' || github.ref_name == 'nightly' }}
111
+ run : |
112
+ echo "Branch: ${{ github.event.pull_request.head.ref }}"
113
+ echo 'image: "docker.io/anchore/enterprise-dev:nightly"' >> stable/enterprise/ci/nightly-values.yaml
114
+ echo 'ui:' >> stable/enterprise/ci/nightly-values.yaml
115
+ echo ' image: "docker.io/anchore/anchore-on-prem-ui-dev:nightly"' >> stable/enterprise/ci/nightly-values.yaml
116
+ echo "Appended to stable/enterprise/ci/nightly-values.yaml"
117
+
109
118
- name : Run chart-testing
110
119
if : steps.list-changed.outputs.CHANGED == 'true'
111
120
run : ct install --config ct-config.yaml --helm-extra-args "--timeout 600s"
You can’t perform that action at this time.
0 commit comments