From e2198a59fac7a222caced5aab91b685f8bbf9a28 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Fri, 7 Oct 2022 14:05:48 -0400 Subject: [PATCH] Cleanup building, report artifacts always --- .gitlab-ci.yml | 138 +++++++------------------------------------------ 1 file changed, 20 insertions(+), 118 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58fcd79..c1b3c3d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,154 +6,55 @@ after_script: - "echo Test Complete." stages: - - clean - - build - test - fuzz - deploy -# -# Cleaning -# -do-clean-ubuntu22: - stage: clean - script: - - ./cicd_testing/do-clean.sh - tags: - - ubuntu22 - -do-clean-ubuntu20: - stage: clean - script: - - ./cicd_testing/do-clean.sh - tags: - - ubuntu20 - -do-clean-ubuntu18: - stage: clean - script: - - ./cicd_testing/do-clean.sh - tags: - - ubuntu18 - - -do-clean-arm32: - stage: clean - script: - - ./cicd_testing/do-clean.sh - tags: - - arm32 - -do-clean-arm64: - stage: clean - script: - - ./cicd_testing/do-clean.sh - tags: - - arm64 - -do-clean-centos76: - stage: clean +.test: &do-test + stage: test script: - ./cicd_testing/do-clean.sh - tags: - - centos76 - -# -# Building -# -do-build-ubuntu22: - stage: build - script: - - ./cicd_testing/do-build.sh - tags: - - ubuntu22 - -do-build-ubuntu20: - stage: build - script: - ./cicd_testing/do-build.sh - tags: - - ubuntu20 - -do-build-ubuntu18: - stage: build - script: - - ./cicd_testing/do-build.sh - tags: - - ubuntu18 - - -do-build-arm64: - stage: build - script: - - ./cicd_testing/do-build.sh - tags: - - arm64 - -do-build-arm32: - stage: build - script: - - ./cicd_testing/do-build.sh - tags: - - arm32 - -do-build-centos76: - stage: build - script: - - ./cicd_testing/do-build.sh - tags: - - centos76 - + - ./cicd_testing/do-test.sh # -# Testing +# test # -do-test-ubuntu22: - stage: test - script: - - ./cicd_testing/do-test.sh +ubuntu22: + <<: *do-test tags: - ubuntu22 -do-test-ubuntu20: - stage: test - script: - - ./cicd_testing/do-test.sh +ubuntu20: + <<: *do-test tags: - ubuntu20 -do-test-ubuntu18: - stage: test +ubuntu18: + <<: *do-test + stage: clean script: - - ./cicd_testing/do-test.sh + - ./cicd_testing/do-clean.sh tags: - ubuntu18 -do-test-arm32: - stage: test - script: - - ./cicd_testing/do-test.sh +arm32: + <<: *do-test tags: - arm32 -do-test-arm64: - stage: test - script: - - ./cicd_testing/do-test.sh +arm64: + <<: *do-test tags: - arm64 - -do-test-centos76: - stage: test - script: - - ./cicd_testing/do-test.sh +centos76: + <<: *do-test tags: - centos76 - # # Fuzz # @@ -164,13 +65,14 @@ fuzz: artifacts: paths: - artifacts + when: always tags: - fuzz # # Deploy # -do-deploy-ubuntu22: +ubuntu22: stage: deploy script: - ./cicd_testing/do-deploy.sh -- GitLab