Setup a test matrix for building with podman
This commit is contained in:
@@ -24,27 +24,28 @@ build-image:
|
|||||||
- jp-desktop-nvidia.yml
|
- jp-desktop-nvidia.yml
|
||||||
- wke-server.yml
|
- wke-server.yml
|
||||||
- wke-worker.yml
|
- wke-worker.yml
|
||||||
TAG:
|
|
||||||
- main
|
|
||||||
DRIVER:
|
|
||||||
- docker
|
|
||||||
- RECIPE:
|
|
||||||
- jp-laptop.yml
|
- jp-laptop.yml
|
||||||
TAG:
|
TAG: main
|
||||||
- 519-device-or-resource-busy-when-trying-to-rechunk-the-image-in-gitlab-ci
|
BB_BUILD_DRIVER: docker
|
||||||
DRIVER:
|
BB_CACHE_LAYERS: 'true'
|
||||||
- podman
|
BB_BUILD_PUSH: 'true'
|
||||||
|
- RECIPE: wke-server.yml
|
||||||
|
TAG: 519-device-or-resource-busy-when-trying-to-rechunk-the-image-in-gitlab-ci
|
||||||
|
BB_BUILD_DRIVER: podman
|
||||||
|
BB_BUILD_RECHUNK:
|
||||||
|
- 'true'
|
||||||
|
- 'false'
|
||||||
variables:
|
variables:
|
||||||
DOCKER_HOST: tcp://docker:2376
|
DOCKER_HOST: tcp://docker:2376
|
||||||
DOCKER_TLS_CERTDIR: /certs
|
DOCKER_TLS_CERTDIR: /certs
|
||||||
DOCKER_TLS_VERIFY: 1
|
DOCKER_TLS_VERIFY: 1
|
||||||
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
|
||||||
CLICOLOR_FORCE: 1
|
CLICOLOR_FORCE: 1
|
||||||
BB_CACHE_LAYERS: 'true'
|
|
||||||
before_script:
|
before_script:
|
||||||
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
|
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
|
||||||
- export COSIGN_PRIVATE_KEY=$(cat .secure_files/cosign.key)
|
- export COSIGN_PRIVATE_KEY=$(cat .secure_files/cosign.key)
|
||||||
script:
|
script:
|
||||||
- sleep 5
|
- sleep 5
|
||||||
- bluebuild build -B "${DRIVER}" -S sigstore -p "./recipes/${RECIPE}"
|
- bluebuild build "./recipes/${RECIPE}"
|
||||||
|
|||||||
Reference in New Issue
Block a user