Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
237b23ba
Commit
237b23ba
authored
Apr 07, 2020
by
John Red Medrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial
parent
a5722424
Pipeline
#333
skipped with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
.gitlab-ci.yml
.gitlab-ci.yml
+8
-6
No files found.
.gitlab-ci.yml
View file @
237b23ba
...
@@ -16,12 +16,14 @@ stages:
...
@@ -16,12 +16,14 @@ stages:
initial_repo
:
initial_repo
:
stage
:
initial_repo
stage
:
initial_repo
image
:
ubuntu
image
:
ubuntu
rules
:
# rules:
-
if
:
'
$CI_COMMIT_MESSAGE
=~
/initial/
&&
$CI_COMMIT_BRANCH
==
$dev
||
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
==
$dev'
# - if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_COMMIT_BRANCH == $dev || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $dev'
when
:
always
# when: always
# except:
only
:
# variables:
refs
:
# - $CI_COMMIT_MESSAGE =~ /initial/
-
$dev
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"
-
'
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)'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment