Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TreeMaker
cmssw-docker
Commits
a129947f
Commit
a129947f
authored
Apr 09, 2020
by
Alexx Perloff
Browse files
Simplify
parent
8393fa32
Pipeline
#1549328
failed with stage
in 2 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a129947f
...
...
@@ -26,7 +26,8 @@ before_script:
-
echo ${CI_PROJECT_DIR}/${CONTEXT_DIR}/
-
ls -alh ${CI_PROJECT_DIR}/${CONTEXT_DIR}/
-
echo "Logging into the registry ${CI_REGISTRY}"
-
echo "{\"auths\":{\"${CI_REGISTRY}\":{\"username\":\"${CI_REGISTRY_USER}\",\"password\":\"${CI_REGISTRY_PASSWORD}\"}}}" > /kaniko/.docker/config.json
#- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"username\":\"${CI_REGISTRY_USER}\",\"password\":\"${CI_REGISTRY_PASSWORD}\"}}}" > /kaniko/.docker/config.json
-
echo "{\"auths\":{\"${CI_REGISTRY}\":{\"username\":\"${DOCKER_USERNAME}\",\"password\":\"${DOCKER_PASSWORD}\"}}}" > /kaniko/.docker/config.json
-
echo "Building standalone image ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${CMSSW_VERSION}-${DATE}-${CI_COMMIT_SHORT_SHA} with ${CMSSW_VERSION} and ${SCRAM_ARCH}" on ${DATE}
-
/kaniko/executor --context ${CI_PROJECT_DIR}/${CONTEXT_DIR} --dockerfile ${CI_PROJECT_DIR}/${CONTEXT_DIR}/Dockerfile --destination "${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${CMSSW_VERSION}-${DATE}-${CI_COMMIT_SHORT_SHA}" --build-arg=BUILD_DATE="${DATE}" --build-arg=VERSION="${DATE}" --build-arg=VCS_URL="${CI_REPOSITORY_URL}" --build-arg=VCS_REF="${CI_COMMIT_SHORT_SHA}" --build-arg BASEIMAGE="${BASE_IMAGE}" --build-arg SCRAM_ARCH="${SCRAM_ARCH}" --build-arg CMSSW_VERSION="${CMSSW_VERSION}"
...
...
standalone/.gitlab-ci.yml
View file @
a129947f
build_TreeMaker_cmssw_standalone_CMSSW_10_2_21
:
extends
:
.job_template
variables
:
CMSSW_VERSION
:
CMSSW_10_2_21
SCRAM_ARCH
:
slc7_amd64_gcc700
BASE_IMAGE
:
clelange/cc7-cms:latest
#
build_TreeMaker_cmssw_standalone_CMSSW_10_2_21:
#
extends: .job_template
#
variables:
#
CMSSW_VERSION: CMSSW_10_2_21
#
SCRAM_ARCH: slc7_amd64_gcc700
#
BASE_IMAGE: clelange/cc7-cms:latest
build_TreeMaker_cmssw_standalone_CMSSW_10_2_21_dockerhub
:
extends
:
.job_template
...
...
Write
Preview
Supports
Markdown
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