Commit f2c70d1d authored by John Red Medrano's avatar John Red Medrano

Update .gitlab-ci.yml

parent 130d4236
Pipeline #277 failed with stages
in 50 seconds
...@@ -7,9 +7,12 @@ stages: ...@@ -7,9 +7,12 @@ stages:
intial_dev: intial_dev:
stage: initial_repo stage: initial_repo
image: ubuntu image: ubuntu
except: rules:
variables: - if: '$CI_COMMIT_MESSAGE =~ /initial/'
- $CI_COMMIT_MESSAGE =~ /initial/ when: always
# except:
# variables:
# - $CI_COMMIT_MESSAGE =~ /initial/
before_script: before_script:
- echo "Building dev environment for red test ci cd" - echo "Building dev environment for red test ci cd"
- echo "$root_path" - echo "$root_path"
...@@ -43,11 +46,14 @@ intial_dev: ...@@ -43,11 +46,14 @@ intial_dev:
buid_dev: buid_dev:
stage: build stage: build
image: ubuntu image: ubuntu
only: rules:
refs: - if: '$CI_COMMIT_MESSAGE !~ /initial/'
- red-develop when: always
variables: # only:
- $CI_COMMIT_MESSAGE !~ /initial/ # refs:
# - red-develop
# variables:
# - $CI_COMMIT_MESSAGE !~ /initial/
before_script: before_script:
- echo "rebuilding dev environment for red test ci cd" - echo "rebuilding dev environment for red test ci cd"
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment