Loading k8s/sonobuoy.yml 0 → 100644 +20 −0 Original line number Diff line number Diff line --- k8s:sonobuoy: image: sonobuoy/sonobuoy:latest stage: test script: - if [ -n "${KUBE_CONTEXT}" ]; then kubectl config use-context "${KUBE_CONTEXT}"; fi - sonobuoy run --wait - RESULTS_FILE=$(sonobuoy retrieve) - sonobuoy results ${RESULTS_FILE} after_script: - sonobuoy delete --wait environment: name: production action: verify rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: manual artifacts: paths: - "*sonobuoy*.tar.gz" Loading
k8s/sonobuoy.yml 0 → 100644 +20 −0 Original line number Diff line number Diff line --- k8s:sonobuoy: image: sonobuoy/sonobuoy:latest stage: test script: - if [ -n "${KUBE_CONTEXT}" ]; then kubectl config use-context "${KUBE_CONTEXT}"; fi - sonobuoy run --wait - RESULTS_FILE=$(sonobuoy retrieve) - sonobuoy results ${RESULTS_FILE} after_script: - sonobuoy delete --wait environment: name: production action: verify rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: manual artifacts: paths: - "*sonobuoy*.tar.gz"