Skip to content

Chore: (deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 (#190) #153

Chore: (deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 (#190)

Chore: (deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 (#190) #153

name: image-e2e-tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
name: Test non user docker
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Test docker amd64 non-user with KCL version
run: docker run --user=999 --rm kcllang/kcl sh -c "kcl version"
- name: Test docker amd64 non-user with KCL running
run: docker run --user=999 --rm kcllang/kcl sh -c "echo 'a=1' | kcl run -"
- name: Test docker arm64 non-user with KCL version
run: docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "kcl version"
- name: Test docker arm64 non-user with KCL running
run: docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "echo 'a=1' | kcl run -"
- name: Test docker arm64 non-user with KCL module OCI source pulling
run: docker run --platform linux/arm64 --user=999 -e KCL_PKG_PATH=/tmp --rm kcllang/kcl sh -c "mkdir -p /tmp && cd /tmp && kcl mod pull subhelloworld:0.0.1 --oci https://ghcr.io/kcl-lang/helloworld --tag 0.1.4"
- name: Test docker arm64 non-user with KCL module Git source pulling
run: docker run --platform linux/arm64 --user=999 -e KCL_PKG_PATH=/tmp --rm kcllang/kcl sh -c "mkdir -p /tmp && cd /tmp && kcl run --git https://github.com/kcl-lang/flask-demo-kcl-manifests"