Build without rke2 pre-installed

This commit is contained in:
2026-03-09 10:52:24 -04:00
parent fd50c23163
commit d9d8686efb
4 changed files with 87 additions and 87 deletions

View File

@@ -19,7 +19,7 @@ variables:
DOCKER_CERT_PATH: $DOCKER_TLS_CERTDIR/client DOCKER_CERT_PATH: $DOCKER_TLS_CERTDIR/client
RUST_LOG_STYLE: always RUST_LOG_STYLE: always
BB_SIGNING_DRIVER: sigstore BB_SIGNING_DRIVER: sigstore
BB_BUILD_CHUNKED_OCI: 'true' # BB_BUILD_CHUNKED_OCI: 'true'
BB_BUILD_CHUNKED_OCI_MAX_LAYERS: '128' BB_BUILD_CHUNKED_OCI_MAX_LAYERS: '128'
BB_BUILD_PUSH: 'true' BB_BUILD_PUSH: 'true'
CLICOLOR_FORCE: 1 CLICOLOR_FORCE: 1
@@ -40,43 +40,43 @@ default:
script: script:
- bluebuild build "./recipes/${RECIPE}" - bluebuild build "./recipes/${RECIPE}"
base-images: # base-images:
extends: # extends:
- .build # - .build
stage: base-images # stage: base-images
variables: # variables:
BB_BUILD_CHUNKED_OCI_MAX_LAYERS: '64' # BB_BUILD_CHUNKED_OCI_MAX_LAYERS: '64'
rules: # rules:
# Run when any of the base recipes change # # Run when any of the base recipes change
- changes: # - changes:
- recipes/base*.yml # - recipes/base*.yml
- recipes/base/* # - recipes/base/*
- .gitlab-ci.yml # - .gitlab-ci.yml
when: always # when: always
# Run on a scheduled pipeline (weekly or otherwise) # # Run on a scheduled pipeline (weekly or otherwise)
- if: $CI_PIPELINE_SOURCE == "schedule" # - if: $CI_PIPELINE_SOURCE == "schedule"
when: always # when: always
# All other cases: do not run # # All other cases: do not run
- when: never # - when: never
parallel: # parallel:
matrix: # matrix:
- RECIPE: # - RECIPE:
- base.yml # - base.yml
# - base-nvidia.yml # # - base-nvidia.yml
# - base-cosmic.yml # # - base-cosmic.yml
# - base-cosmic-nvidia.yml # # - base-cosmic-nvidia.yml
- base-kinoite.yml # - base-kinoite.yml
- base-kinoite-nvidia.yml # - base-kinoite-nvidia.yml
- base-combo.yml # - base-combo.yml
- base-combo-nvidia.yml # - base-combo-nvidia.yml
wke-images: wke-images:
extends: extends:
- .build - .build
stage: build stage: build
needs: # needs:
- job: 'base-images: [base.yml]' # - job: 'base-images: [base.yml]'
optional: true # optional: true
parallel: parallel:
matrix: matrix:
- RECIPE: - RECIPE:
@@ -84,50 +84,50 @@ wke-images:
- wke-fw-desktop.yml - wke-fw-desktop.yml
- wke-server.yml - wke-server.yml
kinoite-images: # kinoite-images:
extends: # extends:
- .build # - .build
stage: build # stage: build
needs: # needs:
- job: 'base-images: [base-kinoite.yml]' # - job: 'base-images: [base-kinoite.yml]'
optional: true # optional: true
parallel: # parallel:
matrix: # matrix:
- RECIPE: # - RECIPE:
- cp-laptop.yml # - cp-laptop.yml
kinoite-nvidia-images: # kinoite-nvidia-images:
extends: # extends:
- .build # - .build
stage: build # stage: build
needs: # needs:
- job: 'base-images: [base-kinoite-nvidia.yml]' # - job: 'base-images: [base-kinoite-nvidia.yml]'
optional: true # optional: true
parallel: # parallel:
matrix: # matrix:
- RECIPE: # - RECIPE:
- pg-desktop-nvidia.yml # - pg-desktop-nvidia.yml
combo-images: # combo-images:
extends: # extends:
- .build # - .build
stage: build # stage: build
needs: # needs:
- job: 'base-images: [base-combo.yml]' # - job: 'base-images: [base-combo.yml]'
optional: true # optional: true
parallel: # parallel:
matrix: # matrix:
- RECIPE: # - RECIPE:
- jp-laptop.yml # - jp-laptop.yml
combo-nvidia-images: # combo-nvidia-images:
extends: # extends:
- .build # - .build
stage: build # stage: build
needs: # needs:
- job: 'base-images: [base-combo-nvidia.yml]' # - job: 'base-images: [base-combo-nvidia.yml]'
optional: true # optional: true
parallel: # parallel:
matrix: # matrix:
- RECIPE: # - RECIPE:
- jp-desktop-nvidia.yml # - jp-desktop-nvidia.yml

View File

@@ -21,8 +21,8 @@ modules:
# install: # install:
# packages: # packages:
# - ramalama # - ramalama
- type: script # - type: script
snippets: # snippets:
# - curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE=agent INSTALL_RKE2_SKIP_RELOAD=true sh # # - curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE=agent INSTALL_RKE2_SKIP_RELOAD=true sh
- curl -sfL https://get.rke2.io | INSTALL_RKE2_SKIP_RELOAD=true sh # - curl -sfL https://get.rke2.io | INSTALL_RKE2_SKIP_RELOAD=true sh
- from-file: common/post-build.yml - from-file: common/post-build.yml

View File

@@ -12,7 +12,7 @@ modules:
files: files:
- source: rke-server - source: rke-server
destination: / destination: /
- type: script # - type: script
snippets: # snippets:
- curl -sfL https://get.rke2.io | INSTALL_RKE2_SKIP_RELOAD=true sh # - curl -sfL https://get.rke2.io | INSTALL_RKE2_SKIP_RELOAD=true sh
- from-file: common/post-build.yml - from-file: common/post-build.yml

View File

@@ -8,7 +8,7 @@ alt-tags:
- worker - worker
modules: modules:
- from-file: common/wke.yml - from-file: common/wke.yml
- type: script # - type: script
snippets: # snippets:
- curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE=agent INSTALL_RKE2_SKIP_RELOAD=true sh # - curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE=agent INSTALL_RKE2_SKIP_RELOAD=true sh
- from-file: common/post-build.yml - from-file: common/post-build.yml