Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
abcl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Robert Goldman
abcl
Commits
6c6b9b0a
Commit
6c6b9b0a
authored
4 years ago
by
Eric Timmons
Browse files
Options
Downloads
Patches
Plain Diff
Add Linux push jobs
parent
69a3538a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+53
-5
53 additions, 5 deletions
.gitlab-ci.yml
with
53 additions
and
5 deletions
.gitlab-ci.yml
+
53
−
5
View file @
6c6b9b0a
...
@@ -14,7 +14,7 @@ stages:
...
@@ -14,7 +14,7 @@ stages:
# - CL_DOCKER_IMAGES_ARM32V7
# - CL_DOCKER_IMAGES_ARM32V7
##############################################################################
##############################################################################
# Build
Templates
# Build
.Bashbrew build Linux
:
.Bashbrew build Linux
:
stage
:
build
stage
:
build
...
@@ -61,20 +61,17 @@ Bashbrew build - amd64:
...
@@ -61,20 +61,17 @@ Bashbrew build - amd64:
variables
:
variables
:
ARCH
:
amd64
ARCH
:
amd64
BASHBREW_ARCH
:
amd64
BASHBREW_ARCH
:
amd64
BASHBREW_TARGET_NAMESPACE
:
mitmersamd64
DOCKER_PLATFORM
:
linux/amd64
DOCKER_PLATFORM
:
linux/amd64
rules
:
rules
:
-
if
:
$CL_DOCKER_IMAGES_AMD64
-
if
:
$CL_DOCKER_IMAGES_AMD64
tags
:
tags
:
-
bashbrew-amd64
-
bashbrew-amd64
Bashbrew build - arm64
:
Bashbrew build - arm64
:
extends
:
.Bashbrew build Linux
extends
:
.Bashbrew build Linux
variables
:
variables
:
ARCH
:
arm64v8
ARCH
:
arm64v8
BASHBREW_ARCH
:
arm64v8
BASHBREW_ARCH
:
arm64v8
BASHBREW_TARGET_NAMESPACE
:
mitmersarm64v8
DOCKER_PLATFORM
:
linux/arm64
DOCKER_PLATFORM
:
linux/arm64
rules
:
rules
:
-
if
:
$CL_DOCKER_IMAGES_ARM64V8
-
if
:
$CL_DOCKER_IMAGES_ARM64V8
...
@@ -86,7 +83,58 @@ Bashbrew build - arm32v7:
...
@@ -86,7 +83,58 @@ Bashbrew build - arm32v7:
variables
:
variables
:
ARCH
:
arm32v7
ARCH
:
arm32v7
BASHBREW_ARCH
:
arm32v7
BASHBREW_ARCH
:
arm32v7
BASHBREW_TARGET_NAMESPACE
:
mitmersarm32v7
DOCKER_PLATFORM
:
linux/arm/v7
rules
:
-
if
:
$CL_DOCKER_IMAGES_ARM32V7
tags
:
-
bashbrew-arm32v7
##############################################################################
# Push
.Bashbrew push Linux
:
stage
:
push
variables
:
BASHBREW_NAMESPACE
:
$CANONICAL_NAMESPACE
BASHBREW_LIBRARY
:
$CI_PROJECT_DIR
BASHBREW_CACHE
:
$CI_PROJECT_DIR/cache/bashbrew
BASHBREW_DEBUG
:
"
true"
script
:
-
docker info
-
mkdir -p cache
-
retry -t 3 -d 60 bashbrew --namespace=$CANONICAL_NAMESPACE$ARCH push $CI_PROJECT_NAME
cache
:
paths
:
-
cache
key
:
$ARCH
Bashbrew push - amd64
:
extends
:
.Bashbrew push Linux
variables
:
ARCH
:
amd64
BASHBREW_ARCH
:
amd64
DOCKER_PLATFORM
:
linux/amd64
rules
:
-
if
:
$CL_DOCKER_IMAGES_AMD64
tags
:
-
bashbrew-amd64
Bashbrew push - arm64
:
extends
:
.Bashbrew push Linux
variables
:
ARCH
:
arm64v8
BASHBREW_ARCH
:
arm64v8
DOCKER_PLATFORM
:
linux/arm64
rules
:
-
if
:
$CL_DOCKER_IMAGES_ARM64V8
tags
:
-
bashbrew-arm64v8
Bashbrew push - arm32v7
:
extends
:
.Bashbrew push Linux
variables
:
ARCH
:
arm32v7
BASHBREW_ARCH
:
arm32v7
DOCKER_PLATFORM
:
linux/arm/v7
DOCKER_PLATFORM
:
linux/arm/v7
rules
:
rules
:
-
if
:
$CL_DOCKER_IMAGES_ARM32V7
-
if
:
$CL_DOCKER_IMAGES_ARM32V7
...
...
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