Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/testcases-env
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ REST_GW_VERSION=0.5.0
REST_GW_IMAGE=nspccdev/neofs-rest-gw

# S3 Gate
S3_GW_VERSION=0.27.1
S3_GW_VERSION=_TAG_
S3_GW_IMAGE=nspccdev/neofs-s3-gw
S3_GW_PLATFORM=linux-amd64
S3_AUTHMATE_URL=https://github.com/nspcc-dev/neofs-s3-gw/releases/download/v${S3_GW_VERSION}/neofs-s3-authmate-${S3_GW_PLATFORM}
S3_GW_URL=https://github.com/nspcc-dev/neofs-s3-gw/releases/download/v${S3_GW_VERSION}/neofs-s3-gw-${S3_GW_PLATFORM}
#S3_AUTHMATE_URL=https://github.com/nspcc-dev/neofs-s3-gw/releases/download/v${S3_GW_VERSION}/neofs-s3-authmate-${S3_GW_PLATFORM}
#S3_GW_URL=https://github.com/nspcc-dev/neofs-s3-gw/releases/download/v${S3_GW_VERSION}/neofs-s3-gw-${S3_GW_PLATFORM}
S3_GW_PATH=../neofs-s3-gw/bin

# Coredns
COREDNS_VERSION=v016
Expand All @@ -67,3 +68,5 @@ NEOFS_STORAGE_CONTROL_GRPC_ENDPOINT_4=s04.${LOCAL_DOMAIN}:8081

# NeoFS adm binary
NEOFS_ADM_PATH=../neofs-node/bin/neofs-adm

S3_GW_RPC_ENDPOINT=http://morph-chain.neofs.devenv:30333
40 changes: 34 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
- name: Checkout neofs-testcases repository
uses: actions/checkout@v3
with:
repository: nspcc-dev/neofs-testcases
ref: 'master'
repository: vvarg229/neofs-testcases
ref: 'obj_size'
path: neofs-testcases

- name: Checkout neofs-dev-env repository
uses: actions/checkout@v3
with:
repository: nspcc-dev/neofs-dev-env
ref: 'feat/make-health-check-not-depend-on-shell'
repository: vvarg229/neofs-dev-env
ref: 'obj-size'
path: neofs-dev-env

- name: Checkout neofs-node repository
Expand All @@ -69,6 +69,15 @@ jobs:
sudo chmod a+x neofs-cli
working-directory: neofs-node-stable

#################################################################
- name: Checkout neofs-s3-gw repository - test https://github.com/nspcc-dev/neofs-s3-gw/pull/807
uses: actions/checkout@v3
with:
repository: nspcc-dev/neofs-s3-gw
ref: '806-upgrade-to-sdk-rc10'
path: neofs-s3-gw
#################################################################

#################################################################
- name: Set up Go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -120,23 +129,42 @@ jobs:
run: |
echo "CURRENT_TAG=$( make version | sed 's/^v//' )" >> $GITHUB_ENV
working-directory: neofs-node
################################################################
- name: Get TAG for neofs-s3-gw docker images
run: |
echo "CURRENT_TAG_S3_GW=$( make version | sed 's/^v//' )" >> $GITHUB_ENV
working-directory: neofs-node

- name: Build NeoFS storage docker image
timeout-minutes: 30
run: |
make image-storage
working-directory: neofs-node

################################################################
- name: Build NeoFS Inner Ring docker image
timeout-minutes: 30
run: |
make image-ir
working-directory: neofs-node

################################################################
- name: Build neofs-s3-gw repository - test https://github.com/nspcc-dev/neofs-s3-gw/pull/807
timeout-minutes: 30
run: |
make sync-tree
make dep
make image
make docker/all
echo "$(pwd)/bin" >> $GITHUB_PATH
echo "CURRENT_TAG_S3_GW=$( make version | sed 's/^v//' )" >> $GITHUB_ENV
working-directory: neofs-s3-gw

- name: Add NeoFS storage and NeoFS ir docker TAGs to testcases-env config file
run: |
sed -i "s/NODE_VERSION=.*/NODE_VERSION=${{ env.CURRENT_TAG }}/g" .github/testcases-env
sed -i "s/IR_VERSION=.*/IR_VERSION=${{ env.CURRENT_TAG }}/g" .github/testcases-env
sed -i "s/S3_GW_VERSION=.*/S3_GW_VERSION=${{ env.CURRENT_TAG_S3_GW }}/g" .github/testcases-env
working-directory: neofs-node

################################################################
Expand Down Expand Up @@ -225,10 +253,10 @@ jobs:
working-directory: neofs-testcases

- name: Run Sanity tests for pull requests
timeout-minutes: 120
timeout-minutes: 480
if: github.event_name == 'pull_request'
run: |
source venv.local-pytest/bin/activate && pytest --show-capture=no -m "sanity" --alluredir=${GITHUB_WORKSPACE}/allure-results pytest_tests/testsuites
source venv.local-pytest/bin/activate && pytest -k test_s3_object_multipart --show-capture=no --alluredir=${GITHUB_WORKSPACE}/allure-results pytest_tests/testsuites
working-directory: neofs-testcases

- name: Run all tests for other events
Expand Down