Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Carlo FERRIGNO
ci-template-cc
Commits
3eeebcd0
Commit
3eeebcd0
authored
May 19, 2021
by
Carlo Ferrigno
Browse files
Added extra build argument with the gitlab api key
parent
009868e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
make-functions.sh
make-functions.sh
+2
-1
No files found.
make-functions.sh
View file @
3eeebcd0
...
@@ -132,7 +132,8 @@ function build() {
...
@@ -132,7 +132,8 @@ function build() {
--job
\
--job
\
--from
${
CC_BASE_IMAGE
:?
}
\
--from
${
CC_BASE_IMAGE
:?
}
\
--store-dockerfile
/tmp/Dockerfile-auto
\
--store-dockerfile
/tmp/Dockerfile-auto
\
--extra-docker-commands
=
'ARG ASTRO_GITLAB_PIP_TOKEN'
\
--extra-docker-commands
=
'ARG ASTRO_GITLAB_PIP_TOKEN;RUN echo ${ASTRO_GITLAB_PIP_TOKEN}'
\
--extra-build-arguments
=
"{
\"
ASTRO_GITLAB_PIP_TOKEN
\"
:
\"
${
ASTRO_GITLAB_PIP_TOKEN
}
\"
}"
\
--docker-run-prefix
=
'mkdir -pv /home/oda; export HOME_OVERRRIDE=/home/oda; source /init.sh; '
\
--docker-run-prefix
=
'mkdir -pv /home/oda; export HOME_OVERRRIDE=/home/oda; source /init.sh; '
\
--docker-command
=
'id; export HOME_OVERRRIDE=/tmp; mkdir -pv $HOME_OVERRRIDE; source /init.sh; source /etc/bashrc; oda-kb-eval /repo/'
$ROOT_NB
' $@'
--docker-command
=
'id; export HOME_OVERRRIDE=/tmp; mkdir -pv $HOME_OVERRRIDE; source /init.sh; source /etc/bashrc; oda-kb-eval /repo/'
$ROOT_NB
' $@'
ls
-ltr
*
cwl
ls
-ltr
*
cwl
...
...
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