Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaiba committed Feb 26, 2025
1 parent 742ad8d commit 130cbc1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 37 deletions.
19 changes: 0 additions & 19 deletions .github/filters-old.yaml

This file was deleted.

31 changes: 13 additions & 18 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,25 +121,22 @@ jobs:
task build:cli
task build:kwild
# - name: compile the core/client/example app
# run: go build -o /dev/null
# working-directory: core/client/example

# - name: compile the core/gatewayclient/example app
# run: go build -o /dev/null
# working-directory: core/gatewayclient/example
# - name: compile the core/client/example app
# run: go build -o /dev/null
# working-directory: core/client/example
#
# - name: compile the core/gatewayclient/example app
# run: go build -o /dev/null
# working-directory: core/gatewayclient/example

- name: Generate go vendor
if: false
run: |
task vendor
- name: Set up Docker Buildx
if: false
uses: docker/setup-buildx-action@v3

- name: Cache Docker layers for kwild # both restore and save
if: false
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache-kwild
Expand All @@ -148,7 +145,6 @@ jobs:
${{ runner.os }}-buildx-kwild
- name: Build kwild image
if: false
id: docker_build_kwild
uses: docker/build-push-action@v6
with:
Expand Down Expand Up @@ -183,15 +179,14 @@ jobs:
# KIT_LOG_LEVEL=warn task test:it:nb

- name: Move cache
if: false
run: |
rm -rf /tmp/.buildx-cache-kwild
mv /tmp/.buildx-cache-kwild-new /tmp/.buildx-cache-kwild
# - name: Prune Docker
# if: ${{ always() }}
# run: docker rm $(docker ps -a -q) -f ; docker network prune -f ; docker volume prune -f || true
- name: Prune Docker
if: ${{ always() }}
run: docker rm $(docker ps -a -q) -f ; docker network prune -f ; docker volume prune -f || true

# - name: Show error log
# if: ${{ failure() }}
# run: grep -C 20 -s -i -r -e 'kwild version' -e 'error' -e 'warn' /tmp/TestKwilAct*/*.log /tmp/TestKwilInt*/*.log /tmp/TestKwilInt*/*/*.log
- name: Show error log
if: ${{ failure() }}
run: grep -C 20 -s -i -r -e 'kwild version' -e 'error' -e 'warn' /tmp/TestKwilAct*/*.log /tmp/TestKwilInt*/*.log /tmp/TestKwilInt*/*/*.log
1 change: 1 addition & 0 deletions test/setup/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func getFlagUserGroupID() (ids *[2]string, err error) {
return ids, fmt.Errorf("invalid user id and group id format: %s", *userGroupID)
}

ids = new([2]string)
ids[0] = segs[0]
ids[1] = segs[1]
return ids, nil
Expand Down

0 comments on commit 130cbc1

Please sign in to comment.