Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix warnings in Release and Integration Test #1264

Merged
merged 2 commits into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ jobs:
- name: Cache cargo
uses: Swatinem/[email protected]
with:
target-dir: |
./target
cache-on-failure: true
key: ${{ runner.os }}-cargo-${{ matrix.arch }}

- name: Build nydus-rs
run: |
declare -A rust_target_map=( ["amd64"]="x86_64-unknown-linux-musl" ["arm64"]="aarch64-unknown-linux-musl")
Expand Down
30 changes: 13 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ jobs:
matrix:
arch: [amd64, arm64, ppc64le, riscv64]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache cargo
uses: Swatinem/[email protected]
with:
target-dir: |
./target
cache-on-failure: true
key: ${{ runner.os }}-cargo-${{ matrix.arch }}
- name: Build nydus-rs
Expand All @@ -40,7 +38,7 @@ jobs:
sudo cp -r misc/configs .
sudo chown -R $(id -un):$(id -gn) . ~/.cargo/
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-artifacts-linux-${{ matrix.arch }}
path: |
Expand All @@ -55,12 +53,10 @@ jobs:
matrix:
arch: [amd64, arm64]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache cargo
uses: Swatinem/[email protected]
with:
target-dir: |
./target
cache-on-failure: true
key: ${{ runner.os }}-cargo-${{ matrix.arch }}
- name: build
Expand All @@ -70,7 +66,7 @@ jobs:
sudo cp -r misc/configs .
sudo chown -R $(id -un):$(id -gn) . ~/.cargo/
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-artifacts-darwin-${{ matrix.arch }}
path: |
Expand All @@ -87,12 +83,12 @@ jobs:
env:
DOCKER: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18'
- name: cache go mod
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/contrib/nydusify/go.sum', '**/contrib/ctr-remote/go.sum', '**/contrib/nydus-overlayfs/go.sum') }}
Expand All @@ -105,7 +101,7 @@ jobs:
sudo mv contrib/nydusify/cmd/nydusify .
sudo mv contrib/nydus-overlayfs/bin/nydus-overlayfs .
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-artifacts-linux-${{ matrix.arch }}
path: |
Expand All @@ -123,7 +119,7 @@ jobs:
needs: [nydus-linux, contrib-linux]
steps:
- name: download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nydus-artifacts-${{ matrix.os }}-${{ matrix.arch }}
path: nydus-static
Expand All @@ -139,7 +135,7 @@ jobs:
sha256sum $tarball > $shasum
echo "tarball_shasum=${shasum}" >> $GITHUB_ENV
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-release-tarball
path: |
Expand All @@ -156,7 +152,7 @@ jobs:
needs: [nydus-macos]
steps:
- name: download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nydus-artifacts-${{ matrix.os }}-${{ matrix.arch }}
path: nydus-static
Expand All @@ -172,7 +168,7 @@ jobs:
sha256sum $tarball > $shasum
echo "tarball_shasum=${shasum}" >> $GITHUB_ENV
- name: store-artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: nydus-release-tarball
path: |
Expand All @@ -184,7 +180,7 @@ jobs:
needs: [prepare-tarball-linux, prepare-tarball-darwin]
steps:
- name: download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nydus-release-tarball
path: nydus-tarball
Expand Down