Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
salt
gitlab-ci-templates
Commits
b0f54720
Commit
b0f54720
authored
Jul 05, 2019
by
Arif Ali
Browse files
trying if statement instead
parent
ba142540
Changes
1
Hide whitespace changes
Inline
Side-by-side
gitlab-ci-includes/build.yml
View file @
b0f54720
...
...
@@ -10,9 +10,9 @@ variables:
before_script
:
-
apk add ruby-dev ruby-bundler gcc libc-dev make wget
-
bundle install
-
'
[[
${GITSHELF}
==
\
"true
\
"
]]
||
apk
add
py2-pip
python2-dev
git
openssh
'
-
'
[[
${GITSHELF}
==
\
"true
\
"
]]
||
pip
install
-r
test-requirements.txt
'
-
'
[[
${GITSHELF}
==
\
"true
\
"
]]
||
gitshelf
install
'
-
if
[[
"
${GITSHELF}
"
== "true" ]]
; then
apk add py2-pip python2-dev git openssh
; fi
-
if
[[
"
${GITSHELF}
"
== "true" ]]
; then
pip install -r test-requirements.txt
; fi
-
if
[[
"
${GITSHELF}
"
== "true" ]]
; then
gitshelf install
; fi
-
mkdir kitchen
-
wget https://gitlab.ocf.co.uk/salt/gitlab-ci-templates/raw/master/kitchen/config.yml -O kitchen/config.yml
after_script
:
...
...
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