diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2022-05-07 14:54:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-07 14:54:13 -0400 |
commit | 0cbf49860b14a04a618345f7029cd2000e651f89 (patch) | |
tree | 13ef74904c7b84dea80a604b21f732de0481f7b2 /.github | |
parent | 5b48a70abde5903f0dc99b19b674b85134ac9537 (diff) |
Save built packages in CI before testing them. (#12842)
This way, if the tests fail, we can fetch the artifacts manually to inspect the binaries.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/packaging.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index dbf334d593..93d10f32be 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -199,6 +199,13 @@ jobs: run: | docker run --security-opt seccomp=unconfined -e DISABLE_TELEMETRY=1 -e VERSION=${{ needs.version-check.outputs.version }} \ --platform=${{ matrix.platform }} -v "$PWD":/netdata netdata/package-builders:${{ matrix.distro }}${{ matrix.version }} + - name: Save Packages + id: artifacts + continue-on-error: true + uses: actions/upload-artifact@v3 + with: + name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-packages + path: ${{ github.workspace }}/artifacts/* - name: Test Packages id: test shell: bash @@ -207,13 +214,6 @@ jobs: -e VERSION=${{ needs.version-check.outputs.version }} -e DISTRO_VERSION=${{ matrix.version }} \ --platform=${{ matrix.platform }} -v "$PWD":/netdata ${{ matrix.base_image }}:${{ matrix.version }} \ /netdata/.github/scripts/pkg-test.sh - - name: Save Packages - id: artifacts - continue-on-error: true - uses: actions/upload-artifact@v3 - with: - name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-packages - path: ${{ github.workspace }}/artifacts/* - name: Upload to PackageCloud id: upload if: github.event_name == 'workflow_dispatch' |