Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
liangyuanpeng committed Jul 19, 2024
1 parent c073eae commit bc93c78
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ env:
KIND_VERSION: v0.23.0

jobs:

build:
runs-on: ubuntu-latest
steps:
- name: Install
run: |
wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
- uses: actions/checkout@v4
- name: build
run: |
kcl run
test-kind-create:
runs-on: ubuntu-latest
strategy:
Expand All @@ -40,6 +28,9 @@ jobs:
- name: Install
run: |
wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
- name: run
run: |
kcl run
- name: install kind
run: |
wget https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz
Expand All @@ -50,10 +41,18 @@ jobs:
rm -f e2e-k8s.sh
#wget https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-linux-amd64
#chmod +x kind-linux-amd64
#mv kind-linux-amd64 /usr/local/bin/kind
#mv kind-linux-amd64 /usr/local/bin/kind
- uses: actions/checkout@v4
- name: build
run: |
#kcl run -D image=${{ matrix.image }} -D cpcount=${{ matrix.cpcount }} -D workercount=${{ matrix.workercount }}
kcl mod update
kcl run -D image=${{ matrix.image }} -D cpcount=${{ matrix.cpcount }} -D workercount=${{ matrix.workercount }} | kind create cluster -v5 --wait 4m --retain --config=-
test-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: mod push
run: |
hack/test.sh
5 changes: 5 additions & 0 deletions hack/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

export OCI_REG_PLAIN_HTTP=on
docker run -d -p 5000:5000 --name oras-quickstart ghcr.io/project-zot/zot:v2.1.0
kcl mod push oci://localhost:5000/kind-kcl

0 comments on commit bc93c78

Please sign in to comment.