Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Tools
Buildah
Commits
2a4c1440
Commit
2a4c1440
authored
Dec 20, 2020
by
James T. Lee
Browse files
Initial build
parents
Pipeline
#209
passed with stage
in 26 minutes and 37 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
.gitlab-ci.yml
.gitlab-ci.yml
+26
-0
Containerfile
Containerfile
+10
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
2a4c1440
---
variables
:
JOBS
:
8
STORAGE_DRIVER
:
'
vfs'
default
:
image
:
'
quay.io/containers/buildah'
before_script
:
-
'
cp
"$REGISTRIES_CONF"
/etc/containers/registries.conf'
'
Build
nest/tools/buildah:haswell'
:
stage
:
'
build'
tags
:
[
'
nest'
]
script
:
-
'
buildah
bud
--pull
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
--security-opt
seccomp=unconfined
--build-arg
STAGE1_TAG=haswell-server
--build-arg
FACTER_build=stage1
--build-arg
FACTER_emerge_default_opts="--jobs=${JOBS}
--usepkg"
--build-arg
FACTER_makeopts="-j${JOBS}"
-v
"${PUPPET_CERTIFICATE}:/etc/puppetlabs/puppet/ssl/certs/ci.pem"
-v
"${PUPPET_PRIVATE_KEY}:/etc/puppetlabs/puppet/ssl/private_keys/ci.pem"
-v
/nest:/nest
-t
"${CI_REGISTRY_IMAGE}:haswell"
.'
-
'
buildah
push
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
"${CI_REGISTRY_IMAGE}:haswell"'
Containerfile
0 → 100644
View file @
2a4c1440
ARG STAGE1_TAG
FROM nest/stage1:${STAGE1_TAG}
ARG FACTER_build
ARG FACTER_emerge_default_opts
ARG FACTER_makeopts
RUN FACTER_tool=buildah puppet agent --test --certname ci --logdir /var/log/puppet --rundir /var/run/puppet --vardir /var/lib/puppet --runtimeout 0; [ $? -eq 2 ]
ENV BUILDAH_ISOLATION=chroot
ENTRYPOINT ["/usr/bin/buildah"]
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