From 267a5633d5e95c718a6aee99397b906da9cc3676 Mon Sep 17 00:00:00 2001 From: Amy Yan Date: Tue, 16 Jan 2024 11:40:41 +1100 Subject: [PATCH] fix: removed testing conditions to CI jobs --- .gitlab-ci.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4dc42f3..49daf40f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -160,7 +160,6 @@ build:dist: paths: - ./dist rules: - - if: $CI_COMMIT_BRANCH == 'feature-commit-hash' # Runs on staging commits and ignores version commits - if: $CI_COMMIT_BRANCH == 'staging' && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/ # Runs on tag pipeline where the tag is a prerelease or release version @@ -179,7 +178,6 @@ build:platforms-generate: paths: - ./tmp/build-platforms.yml rules: - - if: $CI_COMMIT_BRANCH == 'feature-commit-hash' # Runs on staging commits and ignores version commits - if: $CI_COMMIT_BRANCH == 'staging' && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/ # Runs on tag pipeline where the tag is a prerelease or release version @@ -199,7 +197,6 @@ build:platforms: variables: PARENT_PIPELINE_ID: $CI_PIPELINE_ID rules: - - if: $CI_COMMIT_BRANCH == 'feature-commit-hash' # Runs on staging commits and ignores version commits - if: $CI_COMMIT_BRANCH == 'staging' && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/ # Runs on tag pipeline where the tag is a prerelease or release version @@ -233,8 +230,6 @@ integration:builds: needs: - build:dist - build:platforms - variables: - COMMIT_HASH: $CI_COMMIT_SHA script: - mkdir -p ./builds - > @@ -264,7 +259,6 @@ integration:builds: paths: - ./builds/ rules: - - if: $CI_COMMIT_BRANCH == 'feature-commit-hash' # Runs on staging commits and ignores version commits - if: $CI_COMMIT_BRANCH == 'staging' && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/ # Runs on tag pipeline where the tag is a prerelease or release version