Skip to content

Commit 8df52f2

Browse files
author
Evgeniy Zayats
committed
.github: fix s3 gw version for tests
Signed-off-by: Evgeniy Zayats <[email protected]>
1 parent db2717e commit 8df52f2

File tree

1 file changed

+17
-26
lines changed

1 file changed

+17
-26
lines changed

.github/workflows/run-tests.yml

Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,21 @@ jobs:
8282
file: 'neofs-node-amd64'
8383
target: 'neofs-testcases/neofs-node'
8484

85-
- name: Checkout neofs-s3-gw repository
86-
uses: actions/checkout@v4
85+
- name: Download latest stable neofs-s3-gw
86+
uses: dsaltares/[email protected]
87+
with:
88+
repo: 'nspcc-dev/neofs-s3-gw'
89+
version: 'tags/v0.29.0'
90+
file: 'neofs-s3-gw-linux-amd64'
91+
target: 'neofs-testcases/neofs-s3-gw'
92+
93+
- name: Download latest stable neofs-s3-gw-authmate
94+
uses: dsaltares/[email protected]
8795
with:
88-
repository: nspcc-dev/neofs-s3-gw
89-
ref: '014a5bf493d00b8cce478e2c96c84ad9de8fe617'
90-
path: neofs-s3-gw
96+
repo: 'nspcc-dev/neofs-s3-gw'
97+
version: 'tags/v0.29.0'
98+
file: 'neofs-s3-authmate-linux-amd64'
99+
target: 'neofs-testcases/neofs-s3-authmate'
91100

92101
- name: Download latest stable neofs-rest-gw
93102
uses: dsaltares/[email protected]
@@ -123,15 +132,10 @@ jobs:
123132
sudo chmod a+x neofs-rest-gw
124133
sudo chmod a+x neofs-http-gw
125134
sudo chmod a+x neo-go
135+
sudo chmod a+x neofs-s3-authmate
136+
sudo chmod a+x neofs-s3-gw
126137
working-directory: neofs-testcases
127138

128-
- name: Set up Go
129-
uses: actions/setup-go@v4
130-
with:
131-
cache: true
132-
go-version: '1.20'
133-
- run: go version
134-
135139
- name: Set up Python
136140
uses: actions/setup-python@v4
137141
with:
@@ -162,24 +166,11 @@ jobs:
162166
sudo python ./tools/src/openssl_config_fix.py
163167
working-directory: neofs-testcases
164168

165-
- name: Build neofs-s3-gw
166-
timeout-minutes: 5
167-
run: |
168-
make all
169-
echo "$(pwd)/bin" >> $GITHUB_PATH
170-
working-directory: neofs-s3-gw
171-
172-
- name: Copy binaries to testcases directory
173-
timeout-minutes: 30
174-
run: |
175-
cp ${GITHUB_WORKSPACE}/neofs-s3-gw/bin/* .
176-
echo "$(pwd)" >> $GITHUB_PATH
177-
working-directory: neofs-testcases
178-
179169
- name: Prepare venv
180170
timeout-minutes: 30
181171
run: |
182172
make venv.no-dev-env-pytest
173+
echo "$(pwd)" >> $GITHUB_PATH
183174
working-directory: neofs-testcases
184175

185176
- name: Log environment

0 commit comments

Comments
 (0)