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
PDK
Commits
a1b9d26d
Commit
a1b9d26d
authored
Jun 12, 2021
by
James T. Lee
Browse files
Initial build
parents
Pipeline
#718
failed with stage
in 7 minutes and 7 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
.gitlab-ci.yml
.gitlab-ci.yml
+25
-0
Containerfile
Containerfile
+10
-0
Containerfile.debug
Containerfile.debug
+3
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
a1b9d26d
---
.template
:
&template
image
:
'
${CI_REGISTRY}/nest/tools/buildah:${CI_HOST_CPU}'
stage
:
'
build'
tags
:
[
'
nest'
]
script
:
-
'
mkdir
-p
debug/usr/lib/debug'
-
'
buildah
login
-u
"$CI_REGISTRY_USER"
-p
"$CI_REGISTRY_PASSWORD"
"$CI_REGISTRY"'
-
'
buildah
bud
--security-opt
seccomp=unconfined
--build-arg
STAGE1_TAG="${CPU}-server"
--build-arg
FACTER_emerge_default_opts="$CI_HOST_EMERGE_DEFAULT_OPTS"
--build-arg
FACTER_makeopts="$CI_HOST_MAKEOPTS"
-v
"${PUPPET_CERTIFICATE}:/etc/puppetlabs/puppet/ssl/certs/builder.pem"
-v
"${PUPPET_PRIVATE_KEY}:/etc/puppetlabs/puppet/ssl/private_keys/builder.pem"
-v
"${PWD}/debug/usr/lib/debug:/usr/lib/debug"
-v
/nest:/nest
-t
"${CI_REGISTRY_IMAGE}:${CPU}"
.'
-
'
buildah
bud
--build-arg
STAGE1_TAG="${CPU}-server"
-t
"${CI_REGISTRY_IMAGE}/debug:${CPU}"
-f
Containerfile.debug
.'
-
'
buildah
push
"${CI_REGISTRY_IMAGE}:${CPU}"'
-
'
buildah
push
"${CI_REGISTRY_IMAGE}/debug:${CPU}"'
'
Build
haswell'
:
<<
:
*template
variables
:
CPU
:
'
haswell'
Containerfile
0 → 100644
View file @
a1b9d26d
ARG STAGE1_TAG
FROM nest/stage1:${STAGE1_TAG}
ARG FACTER_build=pdk
ARG FACTER_emerge_default_opts
ARG FACTER_makeopts
RUN eix-sync -q
RUN puppet agent --test --runtimeout 0; [ $? -eq 2 ]
RUN rm -rf /var/db/repos
Containerfile.debug
0 → 100644
View file @
a1b9d26d
ARG STAGE1_TAG
FROM nest/stage1/debug:${STAGE1_TAG}
COPY debug/ /
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