From 3606923ac80aab82f425f158547a0ccc3aa0f9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Sat, 26 Mar 2022 12:46:16 +0100 Subject: [PATCH] workflows,release: Ship *all* the rust vendored code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of only vendoring the code needed by the agent, let's ensure we vendor all the needed rust code, and let's do it using the newly introduced enerate_vendor.sh script. Fixes: #3973 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/release.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c87d5b3a9..56cc89538 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -141,13 +141,10 @@ jobs: - uses: actions/checkout@v2 - name: generate-and-upload-tarball run: | - pushd $GITHUB_WORKSPACE/src/agent - cargo vendor >> .cargo/config - popd tag=$(echo $GITHUB_REF | cut -d/ -f3-) tarball="kata-containers-$tag-vendor.tar.gz" pushd $GITHUB_WORKSPACE - tar -cvzf "${tarball}" src/agent/.cargo/config src/agent/vendor + bash -c "tools/packaging/release/generate_vendor.sh ${tarball}" GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}" popd