Skip to content

ci: pin kas-container to 5.3 and pull image from internal ECR mirror#2410

Draft
Ricardo Salveti (ricardosalveti) wants to merge 1 commit into
qualcomm-linux:masterfrom
ricardosalveti:ci-kas-ecr-mirror
Draft

ci: pin kas-container to 5.3 and pull image from internal ECR mirror#2410
Ricardo Salveti (ricardosalveti) wants to merge 1 commit into
qualcomm-linux:masterfrom
ricardosalveti:ci-kas-ecr-mirror

Conversation

@ricardosalveti

Copy link
Copy Markdown
Contributor

Fetch the kas-container script from the pinned 5.3 tag instead of the latest siemens/kas tag, and set KAS_CONTAINER_IMAGE so all kas jobs pull the container image from the internal ECR mirror at 418295714268.dkr.ecr.us-west-2.amazonaws.com/ghcr.io/kas-image:5.3.

All kas-container invocations run on the self-hosted runners, which are the only hosts with access to the mirror, so no GitHub-hosted job is affected. Pinning the script to the same version as the image avoids script/image skew when a new kas version is tagged upstream. The env var is set in both build-yocto.yml and compile.yml because env blocks do not propagate across workflow_call.

Fetch the kas-container script from the pinned 5.3 tag instead of the
latest siemens/kas tag, and set KAS_CONTAINER_IMAGE so all kas jobs pull
the container image from the internal ECR mirror at
418295714268.dkr.ecr.us-west-2.amazonaws.com/ghcr.io/kas-image:5.3.

All kas-container invocations run on the self-hosted runners, which are
the only hosts with access to the mirror, so no GitHub-hosted job is
affected. Pinning the script to the same version as the image avoids
script/image skew when a new kas version is tagged upstream. The env
var is set in both build-yocto.yml and compile.yml because env blocks
do not propagate across workflow_call.

Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant