Commit b0bf06c3 authored by James T. Lee's avatar James T. Lee
Browse files

Manage the big stuff as early as possible

Chromium, Firefox, and xmonad (+ all the Haskell stuff) are the most
time consuming part of the Stage 1 build.  They are also a place where a
lot of build failures happen.  Let those failures happen as early as
possible so that retries get back to it more quickly.
parent 796f7ec5
Pipeline #653 canceled with stage
in 2207 minutes and 48 seconds
......@@ -22,14 +22,14 @@
- 'buildah push "${CI_REGISTRY_IMAGE}:${CPU}-${ROLE}"'
- 'buildah push "${CI_REGISTRY_IMAGE}/debug:${CPU}-${ROLE}"'
'Build haswell-server':
.'Build haswell-server':
<<: *template
variables:
CPU: 'haswell'
ROLE: 'server'
QEMU_ARCH: 'x86_64'
'Build haswell-workstation':
.'Build haswell-workstation':
<<: *template
variables:
CPU: 'haswell'
......@@ -50,14 +50,14 @@
ROLE: 'workstation'
QEMU_ARCH: 'aarch64'
'Build cortex-a53-crypto-server':
.'Build cortex-a53-crypto-server':
<<: *template
variables:
CPU: 'cortex-a53-crypto'
ROLE: 'server'
QEMU_ARCH: 'aarch64'
'Build cortex-a8-server':
.'Build cortex-a8-server':
<<: *template
variables:
CPU: 'cortex-a8'
......
......@@ -23,7 +23,10 @@ RUN USE='-vaapi' emerge -v --update --deep --newuse --with-bdeps=y @world
RUN emerge -v --update --deep --newuse --with-bdeps=y @world
RUN emerge --depclean
# Configure the stage
# Get the big stuff out of the way first
RUN puppet agent --test --tags nest::role::workstation::chromium,nest::role::workstation::firefox,nest::role::workstation::xmonad --runtimeout 0; [ $? -eq 2 ]
# Configure the rest of the stage
RUN puppet agent --test --runtimeout 0; [ $? -eq 2 ]
RUN rm -rf /var/db/repos
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment