diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2023-10-11 10:15:50 +0200 |
---|---|---|
committer | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2023-10-11 10:15:50 +0200 |
commit | 05e4200ed9d9f039dcb3da090dfc613f4b301a81 (patch) | |
tree | 2ddd0221762245e90eb3335bd87309a18143cfa6 | |
parent | d6630df39346ef2b8c8fc0be1e6baf8eaae71dfe (diff) |
gitlab-ci.yml: bump kas to 4.0
This will allow us to use KAS_REPO_REF_DIR (3.2.3+) for caching layer
git repositories and allow faster builds.
This is supported by adding KAS_REPO_REF_DIR in the project CI/CD
Variables settings.
c.f. https://github.com/siemens/kas/blob/master/CHANGELOG.md
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | README | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5852061..a5b09c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ missing_variables: .build: tags: - docker - image: ghcr.io/siemens/kas/kas:3.1 + image: ghcr.io/siemens/kas/kas:4.0 stage: build script: - KAS_MACHINE="$CI_JOB_NAME" kas build kas-theobroma.yml @@ -39,7 +39,9 @@ extended image that can run on the supported boards listed above. One builds the image by running the following commands: -$ podman run -it --rm --userns=keep-id -e USER_ID=$UID -e GROUP_ID=$GID -w $PWD/.. -v $PWD/..:$PWD/..:rw,Z --tmpfs /tmp ghcr.io/siemens/kas/kas:3.1 build meta-theobroma-systems-extended/kas-theobroma.yml +$ podman run -it --rm --userns=keep-id -e USER_ID=$UID -e +GROUP_ID=$GID -w $PWD/.. -v $PWD/..:$PWD/..:rw,Z --tmpfs /tmp +ghcr.io/siemens/kas/kas:4.0 build meta-theobroma-systems-extended/kas-theobroma.yml Once the build has finished, the artifacts will be available in ../build/tmp/deploy/images/ringneck-haikou/ directory. |