Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vereign Client Library
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
Vereign Client Library
Commits
ecc7eb7d
Commit
ecc7eb7d
authored
4 years ago
by
Olgun Cengiz
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 393-implement-guestlog-endpoints
parents
58c152e8
38d26585
No related branches found
No related tags found
1 merge request
!105
393 implement guestlog endpoints
Pipeline
#35990
passed with stages
Stage:
Stage:
in 7 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-48
4 additions, 48 deletions
.gitlab-ci.yml
with
4 additions
and
48 deletions
.gitlab-ci.yml
+
4
−
48
View file @
ecc7eb7d
variables
:
DOCKER_CLI_EXPERIMENTAL
:
'
enabled'
JOB_IMAGE
:
$CI_REGISTRY/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_JOB_NAME:$CI_COMMIT_REF_NAME
MANIFEST_IMAGE
:
$CI_REGISTRY/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
IMAGE_amd64
:
$CI_REGISTRY/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/amd64:$CI_COMMIT_REF_NAME
IMAGE_ppc64le
:
$CI_REGISTRY/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/ppc64le:$CI_COMMIT_REF_NAME
CI_DEBUG_TRACE
:
"
false"
stages
:
-
build
-
manifest
#- deploy
before_script
:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
include
:
-
project
:
'
code/ci-template'
file
:
'
/go/base.yml'
.build
:
script
:
-
docker build --build-arg GITLAB_LOGIN=gitlab-ci-token --build-arg GITLAB_PASSWORD=$CI_JOB_TOKEN --pull -t $JOB_IMAGE -f Dockerfile .
-
docker build
--build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA --build-arg CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME --build-arg CI_PROJECT_NAME=$CI_PROJECT_NAME
--build-arg GITLAB_LOGIN=gitlab-ci-token --build-arg GITLAB_PASSWORD=$CI_JOB_TOKEN --pull -t $JOB_IMAGE -f Dockerfile .
-
docker push $JOB_IMAGE
ppc64le
:
extends
:
.build
stage
:
build
tags
:
-
ppc64le-docker
-
docker
amd64
:
extends
:
.build
stage
:
build
tags
:
-
amd64-docker
-
docker
manifest
:
stage
:
manifest
tags
:
-
ppc64le-docker
script
:
-
docker manifest create $MANIFEST_IMAGE $IMAGE_amd64 $IMAGE_ppc64le
-
docker manifest push $MANIFEST_IMAGE
# deploy:
# stage: deploy
# tags:
# - ppc64le
# only:
# - master
# script:
# - for ref in $DEPLOYENVS; do curl -X POST -F token=$TRIGGER_TOKEN -F ref=$ref -F variables[branch]=$CI_COMMIT_REF_NAME $TRIGGER_CODE_BUILD; done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment