From 4061925374d20f8987c16c300d819baf039ee676 Mon Sep 17 00:00:00 2001 From: Peefy Date: Wed, 20 Nov 2024 10:29:25 +0800 Subject: [PATCH] test: add kcl mod pull test in the image Signed-off-by: Peefy --- .github/workflows/image-e2e-tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/image-e2e-tests.yaml b/.github/workflows/image-e2e-tests.yaml index 23df435..44e268a 100644 --- a/.github/workflows/image-e2e-tests.yaml +++ b/.github/workflows/image-e2e-tests.yaml @@ -37,3 +37,7 @@ jobs: 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 --rm kcllang/kcl sh -c "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 --rm kcllang/kcl sh -c "kcl mod pull cc:0.0.1 --git git://github.com/kcl-lang/flask-demo-kcl-manifests.git --commit 8308200"