Commit cc384ef3 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason
Browse files

ci: make jobs retriable and interruptible

Since adding a test matrix for all supported k8s versions, we have been
having problems with flaky jobs due to networking errors. We need these
to be retriable, as otherwise merge trains fail excessively.
parent 19d4947f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
.test-job: &test-job
  stage: test
  image: "$BUILD_IMAGE_NAME"
  interruptible: true
  retry: 1
  parallel:
    matrix:
      - K3S_VERSION:
@@ -421,6 +423,8 @@ test-upgrade-from-helm2-fails:
    - docker:19.03.12-dind
    - name: registry.gitlab.com/gitlab-org/cluster-integration/test-utils/k3s-gitlab-ci/releases/v1.16.7-k3s1
      alias: k3s
  interruptible: true
  retry: 1
  before_script:
    - cat /etc/hosts
    - apk add curl