Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Merge requests
!700
fix: support for gitlab-ci-local
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix: support for gitlab-ci-local
gitlab-ci-local
into
master
Overview
0
Commits
15
Pipelines
0
Changes
1
Merged
Wouter Deconinck
requested to merge
gitlab-ci-local
into
master
1 year ago
Overview
0
Commits
15
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
be0fd100
Show latest version
1 file
+
7
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
be0fd100
feat: use DOCKER_IMAGE in .build
· be0fd100
Wouter Deconinck
authored
1 year ago
.gitlab-ci.yml
+
7
−
2
Options
@@ -163,6 +163,9 @@ version:
## base job settings for all build jobs
.build
:
image
:
${DOCKER_IMAGE}
services
:
-
docker:dind
rules
:
-
when
:
on_success
resource_group
:
${CI_COMMIT_REF_NAME}-${VERSION}
@@ -172,11 +175,13 @@ version:
-
!reference
[
default
,
before_script
]
-
mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc ;
for arch in aarch64 ; do
if ! grep -
-quiet
enabled /proc/sys/fs/binfmt_misc/qemu-$arch ; then
if ! grep -
q
enabled /proc/sys/fs/binfmt_misc/qemu-$arch ; then
docker run --rm --privileged multiarch/qemu-user-static --persistent yes ;
fi ;
done
-
docker buildx create --name builder --driver docker-container --bootstrap --use
-
docker context create context
-
docker context use context
-
docker buildx create --name builder --driver docker-container --bootstrap --use context
## rules for nightly jobs
.nightly
:
Loading