File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -717,6 +717,7 @@ jobs:
717
717
stable-tag : ${{ needs.checks.outputs.stable_tag }}
718
718
authenticated : ${{ needs.checks.outputs.forked_workflow != 'true' }}
719
719
k8s-version : ${{ matrix.k8s }}
720
+ force : ${{ inputs.run_tests }}
720
721
721
722
smoke-tests-plus :
722
723
if : ${{ inputs.force || (inputs.run_tests && inputs.run_tests || true) || needs.checks.outputs.docs_only != 'true' }}
@@ -744,6 +745,7 @@ jobs:
744
745
stable-tag : ${{ needs.checks.outputs.stable_tag }}
745
746
authenticated : ${{ needs.checks.outputs.forked_workflow != 'true' }}
746
747
k8s-version : ${{ matrix.k8s }}
748
+ force : ${{ inputs.run_tests }}
747
749
748
750
smoke-tests-nap :
749
751
if : ${{ inputs.force || (inputs.run_tests && inputs.run_tests || true) || needs.checks.outputs.docs_only != 'true' }}
@@ -771,6 +773,7 @@ jobs:
771
773
stable-tag : ${{ needs.checks.outputs.stable_tag }}
772
774
authenticated : ${{ needs.checks.outputs.forked_workflow != 'true' }}
773
775
k8s-version : ${{ matrix.k8s }}
776
+ force : ${{ inputs.run_tests }}
774
777
775
778
tag-stable :
776
779
name : Tag tested image as stable
Original file line number Diff line number Diff line change 33
33
k8s-version :
34
34
required : true
35
35
type : string
36
+ force :
37
+ required : true
38
+ type : boolean
36
39
37
40
defaults :
38
41
run :
81
84
if docker pull ${{ steps.image_details.outputs.name }}:${{ steps.image_details.outputs.stable_tag }}; then
82
85
echo "exists=true" >> $GITHUB_OUTPUT
83
86
fi
87
+ if [ "${{ inputs.force }}" = "true" ]; then
88
+ echo "exists=false" >> $GITHUB_OUTPUT
89
+ fi
84
90
if : ${{ inputs.authenticated }}
85
91
86
92
- name : NAP modules
@@ -103,15 +109,15 @@ jobs:
103
109
fail-on-cache-miss : true
104
110
if : ${{ !inputs.authenticated }}
105
111
106
- - name : Check if test image exists
112
+ - name : Check if pytest image exists
107
113
id : check-image
108
114
run : |
109
115
docker manifest inspect "gcr.io/f5-gcs-7899-ptg-ingrss-ctlr/dev/test-runner:${{ hashFiles('./tests/requirements.txt', './tests/Dockerfile') || 'latest' }}"
110
116
shell : bash
111
117
continue-on-error : true
112
118
if : ${{ inputs.authenticated }}
113
119
114
- - name : Build Test -Runner Container
120
+ - name : Build Pytest -Runner Container
115
121
uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
116
122
with :
117
123
file : tests/Dockerfile
You can’t perform that action at this time.
0 commit comments