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 0
Commits
759398ac
Commit
759398ac
authored
Dec 18, 2020
by
James T. Lee
Browse files
Eliminate build args moved into profile
parent
13c4240b
Pipeline
#185
passed with stage
in 32 minutes and 18 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
17 deletions
+5
-17
.gitlab-ci.yml
.gitlab-ci.yml
+4
-10
Containerfile
Containerfile
+1
-6
portage/make.conf
portage/make.conf
+0
-0
portage/package.use/default
portage/package.use/default
+0
-1
No files found.
.gitlab-ci.yml
View file @
759398ac
...
@@ -7,22 +7,16 @@ default:
...
@@ -7,22 +7,16 @@ default:
before_script
:
before_script
:
-
'
cp
"$REGISTRIES_CONF"
/etc/containers/registries.conf'
-
'
cp
"$REGISTRIES_CONF"
/etc/containers/registries.conf'
'
Build
nest/stage0:
amd64-server.
haswell'
:
'
Build
nest/stage0:haswell'
:
stage
:
'
build'
stage
:
'
build'
tags
:
[
'
nest'
]
tags
:
[
'
nest'
]
script
:
script
:
-
'
buildah
bud
--pull
-
'
buildah
bud
--pull
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
--security-opt
seccomp=unconfined
--security-opt
seccomp=unconfined
--build-arg
CFLAGS="-march=haswell
-O2
-pipe
-ggdb"
--build-arg
CXXFLAGS="-march=haswell
-O2
-pipe
-ggdb"
--build-arg
CPU_FLAGS_X86="aes
avx
avx2
fma3
mmx
mmxext
popcnt
sse
sse2
sse3
sse4_1
sse4_2
ssse3"
--build-arg
DISTDIR="/nest/portage/distfiles"
--build-arg
EMERGE_DEFAULT_OPTS="--jobs=${JOBS}
--usepkg"
--build-arg
EMERGE_DEFAULT_OPTS="--jobs=${JOBS}
--usepkg"
--build-arg
FEATURES="buildpkg
splitdebug"
--build-arg
MAKEOPTS="-j${JOBS}"
--build-arg
MAKEOPTS="-j${JOBS}"
--build-arg
PKGDIR="/nest/portage/packages/amd64-server.haswell"
--build-arg
PROFILE="haswell/server"
--build-arg
PROFILE="amd64-server"
-v
/nest:/nest
-v
/nest:/nest
-t
"${CI_REGISTRY_IMAGE}:
amd64-server.
haswell"
.'
-t
"${CI_REGISTRY_IMAGE}:haswell"
.'
-
'
buildah
push
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
"${CI_REGISTRY_IMAGE}:
amd64-server.
haswell"'
-
'
buildah
push
--creds="${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}"
"${CI_REGISTRY_IMAGE}:haswell"'
Containerfile
View file @
759398ac
...
@@ -2,14 +2,8 @@ FROM nest/overlay AS nest-overlay
...
@@ -2,14 +2,8 @@ FROM nest/overlay AS nest-overlay
FROM nest/gentoo/portage AS gentoo-portage
FROM nest/gentoo/portage AS gentoo-portage
FROM nest/gentoo/stage3:amd64-systemd
FROM nest/gentoo/stage3:amd64-systemd
ARG CFLAGS
ARG CXXFLAGS
ARG CPU_FLAGS_X86
ARG DISTDIR
ARG EMERGE_DEFAULT_OPTS
ARG EMERGE_DEFAULT_OPTS
ARG FEATURES
ARG MAKEOPTS
ARG MAKEOPTS
ARG PKGDIR
ARG PROFILE
ARG PROFILE
# Provide basic Portage configuration
# Provide basic Portage configuration
...
@@ -21,6 +15,7 @@ COPY --from=nest-overlay / /var/db/repos/nest/
...
@@ -21,6 +15,7 @@ COPY --from=nest-overlay / /var/db/repos/nest/
# Update stage 3
# Update stage 3
RUN eselect profile set "nest:${PROFILE}"
RUN eselect profile set "nest:${PROFILE}"
RUN emerge --info
RUN emerge -vDuN --with-bdeps=y @world
RUN emerge -vDuN --with-bdeps=y @world
RUN emerge --depclean
RUN emerge --depclean
...
...
portage/make.conf
0 → 100644
View file @
759398ac
portage/package.use/default
deleted
100644 → 0
View file @
13c4240b
app-admin/puppet augeas shadow
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