Skip to content

Commit

Permalink
.github: fix s3 gw version for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Zayats <[email protected]>
  • Loading branch information
Evgeniy Zayats committed Jan 22, 2024
1 parent db2717e commit b6161d4
Showing 1 changed file with 15 additions and 26 deletions.
41 changes: 15 additions & 26 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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/[email protected]
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/[email protected]
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b6161d4

Please sign in to comment.