Loading .gitlab-ci.yml +9 −11 Original line number Diff line number Diff line Loading @@ -41,6 +41,15 @@ build: - kubectl config set-context k3s --cluster=k3s --user=default - kubectl config use-context k3s - kubectl version - | function expected_error() { echo "Expected error but exited with $?, failing build!" exit 1 } function failed_as_expected() { echo "Failed as expected and exited with $?" } test-shellcheck: stage: test Loading Loading @@ -251,17 +260,6 @@ release-tag: only: - tags before_script: - | function expected_error() { echo "Expected error but exited with $?, failing build!" exit 1 } function failed_as_expected() { echo "Failed as expected and exited with $?" } publish: extends: .semantic-release only: Loading Loading
.gitlab-ci.yml +9 −11 Original line number Diff line number Diff line Loading @@ -41,6 +41,15 @@ build: - kubectl config set-context k3s --cluster=k3s --user=default - kubectl config use-context k3s - kubectl version - | function expected_error() { echo "Expected error but exited with $?, failing build!" exit 1 } function failed_as_expected() { echo "Failed as expected and exited with $?" } test-shellcheck: stage: test Loading Loading @@ -251,17 +260,6 @@ release-tag: only: - tags before_script: - | function expected_error() { echo "Expected error but exited with $?, failing build!" exit 1 } function failed_as_expected() { echo "Failed as expected and exited with $?" } publish: extends: .semantic-release only: Loading