We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
version.go
1 parent bd2a42c commit d57a1e1Copy full SHA for d57a1e1
.github/workflows/e2e.yml
@@ -29,9 +29,15 @@ jobs:
29
- name: tests/e2e/scenarios/bare-metal/run-test
30
working-directory: ${{ env.GOPATH }}/src/k8s.io/kops
31
run: |
32
- timeout 60m tests/e2e/scenarios/bare-metal/run-test
+ CHANGED_VERSION=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -E '^version\.go$')
33
+ if [ -z "${CHANGED_VERSION}" ]; then
34
+ timeout 60m tests/e2e/scenarios/bare-metal/run-test
35
+ else
36
+ echo "version.go has been modified, skipping test"
37
+ fi
38
env:
39
ARTIFACTS: /tmp/artifacts
40
+
41
- name: Archive production artifacts
42
if: always()
43
uses: actions/upload-artifact@v4
0 commit comments