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
Stage 1
Commits
9eabd4cd
Commit
9eabd4cd
authored
Dec 20, 2020
by
James T. Lee
Browse files
Switch to VFS storage driver for more stability
parent
91405413
Pipeline
#207
passed with stage
in 27 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-1
Containerfile
Containerfile
+1
-1
No files found.
.gitlab-ci.yml
View file @
9eabd4cd
---
variables
:
JOBS
:
8
STORAGE_DRIVER
:
'
vfs'
default
:
image
:
'
quay.io/containers/buildah'
...
...
@@ -18,8 +19,8 @@ default:
--build-arg
FACTER_build=stage1
--build-arg
FACTER_emerge_default_opts="--jobs=${JOBS}
--usepkg"
--build-arg
FACTER_makeopts="-j${JOBS}"
-v
/nest:/nest
-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-server"
.'
-
'
buildah
push
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
"${CI_REGISTRY_IMAGE}:haswell-server"'
Containerfile
View file @
9eabd4cd
...
...
@@ -4,6 +4,6 @@ FROM nest/stage0:${STAGE0_TAG}
ARG FACTER_build
ARG FACTER_emerge_default_opts
ARG FACTER_makeopts
RUN puppet agent --test
--environment=portage
--certname ci --logdir /var/log/puppet --rundir /var/run/puppet --vardir /var/lib/puppet --runtimeout 0; [ $? -eq 2 ]
RUN puppet agent --test --certname ci --logdir /var/log/puppet --rundir /var/run/puppet --vardir /var/lib/puppet --runtimeout 0; [ $? -eq 2 ]
CMD ["/bin/zsh"]
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