From b6161d4e01cef90d08b98131a9ed6e784577045e Mon Sep 17 00:00:00 2001 From: Evgeniy Zayats Date: Mon, 22 Jan 2024 16:01:16 -0500 Subject: [PATCH] .github: fix s3 gw version for tests Signed-off-by: Evgeniy Zayats --- .github/workflows/run-tests.yml | 41 ++++++++++++--------------------- 1 file changed, 15 insertions(+), 26 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5f336ef0e..473b9f08a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -82,12 +82,21 @@ jobs: file: 'neofs-node-amd64' target: 'neofs-testcases/neofs-node' - - name: Checkout neofs-s3-gw repository - uses: actions/checkout@v4 + - name: Download latest stable neofs-s3-gw + uses: dsaltares/fetch-gh-release-asset@1.1.1 + with: + repo: 'nspcc-dev/neofs-s3-gw' + version: 'tags/v0.29.0' + file: 'neofs-s3-gw-linux-amd64' + target: 'neofs-testcases/neofs-s3-gw' + + - name: Download latest stable neofs-s3-gw-authmate + uses: dsaltares/fetch-gh-release-asset@1.1.1 with: - repository: nspcc-dev/neofs-s3-gw - ref: '014a5bf493d00b8cce478e2c96c84ad9de8fe617' - path: neofs-s3-gw + repo: 'nspcc-dev/neofs-s3-gw' + version: 'tags/v0.29.0' + file: 'neofs-s3-authmate-linux-amd64' + target: 'neofs-testcases/neofs-s3-authmate' - name: Download latest stable neofs-rest-gw uses: dsaltares/fetch-gh-release-asset@1.1.1 @@ -125,13 +134,6 @@ jobs: sudo chmod a+x neo-go working-directory: neofs-testcases - - name: Set up Go - uses: actions/setup-go@v4 - with: - cache: true - go-version: '1.20' - - run: go version - - name: Set up Python uses: actions/setup-python@v4 with: @@ -162,24 +164,11 @@ jobs: sudo python ./tools/src/openssl_config_fix.py working-directory: neofs-testcases - - name: Build neofs-s3-gw - timeout-minutes: 5 - run: | - make all - echo "$(pwd)/bin" >> $GITHUB_PATH - working-directory: neofs-s3-gw - - - name: Copy binaries to testcases directory - timeout-minutes: 30 - run: | - cp ${GITHUB_WORKSPACE}/neofs-s3-gw/bin/* . - echo "$(pwd)" >> $GITHUB_PATH - working-directory: neofs-testcases - - name: Prepare venv timeout-minutes: 30 run: | make venv.no-dev-env-pytest + echo "$(pwd)" >> $GITHUB_PATH working-directory: neofs-testcases - name: Log environment