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
OKD
build-several-image-and-compose
Commits
50a188e3
Commit
50a188e3
authored
Oct 26, 2020
by
Yori Fournier
Browse files
wierd
parent
44802f86
Pipeline
#1922
failed with stages
in 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
50a188e3
...
...
@@ -22,7 +22,7 @@ variables:
-
oc project "$CI_PROJECT_NAME-$CI_PROJECT_ID" 2> /dev/null || oc new-project "$CI_PROJECT_NAME-$CI_PROJECT_ID"
.build_image
:
&build_image
-
oc new-build --strategy=docker --binary --docker-image python:3.7 --name "$APP"
-
oc new-build --strategy=docker --binary --docker-image python:3.7 --name "$APP"
--to "python-$APP"
-
oc start-build $APP --from-dir=./$APP --follow
build-proc1
:
...
...
@@ -45,7 +45,7 @@ build-proc2:
before_script
:
-
*login_to_okd
script
:
-
oc new-build --strategy=docker --binary --docker-image python:3.7 --name proc2
-
oc new-build --strategy=docker --binary --docker-image python:3.7 --name proc2
--to="python-proc2"
-
oc start-build proc2 --from-dir=./proc2 --follow
test1
:
...
...
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