Skip to content
Snippets Groups Projects
Verified Commit b7ad403c authored by David Hoese's avatar David Hoese
Browse files

Fix regex usage in ci rules

parent 10d89b64
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ gstest deploy rabbit:
# this job doesn't actually need any artifacts from previous jobs
dependencies: []
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TEST_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TEST_TAG_REGEX/
when: never
# no need to build if another project triggered us
- if: $CI_PIPELINE_SOURCE == "pipeline"
......@@ -122,7 +122,7 @@ gstest deploy mapcache:
VALUES_DIR: "ci_geosphere-test"
extends: .deploy_mapcache
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TEST_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TEST_TAG_REGEX/
when: never
- when: on_success
......@@ -147,7 +147,7 @@ gstest deploy client:
dependencies:
- get_chart_client_test
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TEST_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TEST_TAG_REGEX/
when: never
- when: on_success
......@@ -19,7 +19,7 @@ gs create geotiff storage:
# this job doesn't actually need any artifacts from previous jobs
dependencies: []
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- if: $CREATE_STORAGE
......@@ -35,7 +35,7 @@ gs create shapefile storage:
# this job doesn't actually need any artifacts from previous jobs
dependencies: []
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
# this will always be true for tags
- changes:
......@@ -57,7 +57,7 @@ gs deploy rabbit:
# this job doesn't actually need any artifacts from previous jobs
dependencies: []
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
# no need to build if another project triggered us
- if: $CI_PIPELINE_SOURCE == "pipeline"
......@@ -87,7 +87,7 @@ gs deploy g16 grb:
dependencies:
- get_chart_grb
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -97,7 +97,7 @@ gs deploy geo2grid g16 radf:
VALUES_DIR: "ci_geosphere"
DEPLOY_SUFFIX: "-g16-radf"
rules:
- if: '$CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/'
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -107,7 +107,7 @@ gs deploy geo2grid g16 radc:
VALUES_DIR: "ci_geosphere"
DEPLOY_SUFFIX: "-g16-radc"
rules:
- if: '$CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX'
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -137,7 +137,7 @@ gs deploy tile gen g16 radf:
VALUES_DIR: "ci_geosphere"
DEPLOY_SUFFIX: "-g16-radf"
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -147,7 +147,7 @@ gs deploy tile gen g16 radc:
VALUES_DIR: "ci_geosphere"
DEPLOY_SUFFIX: "-g16-radc"
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -157,7 +157,7 @@ gs deploy_tile_gen_g16_radm1:
VALUES_DIR: "ci_geosphere"
DEPLOY_SUFFIX: "-g16-radm1"
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -167,7 +167,7 @@ gs deploy_tile_gen_g16_radm2:
VALUES_DIR: "ci_geosphere"
DEPLOY_SUFFIX: "-g16-radm2"
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -179,7 +179,7 @@ gs deploy mapserver:
VALUES_DIR: "ci_geosphere"
extends: .deploy_mapserver
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -191,7 +191,7 @@ gs deploy mapcache:
VALUES_DIR: "ci_geosphere"
extends: .deploy_mapcache
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
......@@ -216,6 +216,6 @@ gs deploy client:
dependencies:
- get_chart_client
rules:
- if: $CI_COMMIT_TAG !~ $GEOSPHERE_TAG_REGEX
- if: $CI_COMMIT_TAG !~ /$GEOSPHERE_TAG_REGEX/
when: never
- when: on_success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment