Skip to content

Commit c6ed795

Browse files
[IGNORE TO REMOVE]
1 parent a34088b commit c6ed795

File tree

1 file changed

+181
-181
lines changed

1 file changed

+181
-181
lines changed

.github/workflows/tests.yaml

Lines changed: 181 additions & 181 deletions
Original file line numberDiff line numberDiff line change
@@ -196,132 +196,132 @@ jobs:
196196
cache-from: type=gha,scope=federation
197197
cache-to: type=gha,mode=max,scope=federation
198198

199-
multiple-backend:
200-
runs-on: ubuntu-latest
201-
needs: build
202-
env:
203-
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
204-
S3BACKEND: mem
205-
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
206-
S3DATA: multiple
207-
JOB_NAME: ${{ github.job }}
208-
steps:
209-
- name: Checkout
210-
uses: actions/checkout@v4
211-
- uses: actions/setup-python@v5
212-
with:
213-
python-version: 3.9
214-
- name: Setup CI environment
215-
uses: ./.github/actions/setup-ci
216-
- name: Setup CI services
217-
run: docker compose up -d
218-
working-directory: .github/docker
219-
- name: Run multiple backend test
220-
run: |-
221-
set -o pipefail;
222-
bash wait_for_local_port.bash 8000 40
223-
yarn run multiple_backend_test | tee /tmp/artifacts/${{ github.job }}/tests.log
224-
env:
225-
S3_LOCATION_FILE: tests/locationConfig/locationConfigTests.json
226-
- name: Upload logs to artifacts
227-
uses: scality/action-artifacts@v4
228-
with:
229-
method: upload
230-
url: https://artifacts.scality.net
231-
user: ${{ secrets.ARTIFACTS_USER }}
232-
password: ${{ secrets.ARTIFACTS_PASSWORD }}
233-
source: /tmp/artifacts
234-
if: always()
199+
# multiple-backend:
200+
# runs-on: ubuntu-latest
201+
# needs: build
202+
# env:
203+
# CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
204+
# S3BACKEND: mem
205+
# S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
206+
# S3DATA: multiple
207+
# JOB_NAME: ${{ github.job }}
208+
# steps:
209+
# - name: Checkout
210+
# uses: actions/checkout@v4
211+
# - uses: actions/setup-python@v5
212+
# with:
213+
# python-version: 3.9
214+
# - name: Setup CI environment
215+
# uses: ./.github/actions/setup-ci
216+
# - name: Setup CI services
217+
# run: docker compose up -d
218+
# working-directory: .github/docker
219+
# - name: Run multiple backend test
220+
# run: |-
221+
# set -o pipefail;
222+
# bash wait_for_local_port.bash 8000 40
223+
# yarn run multiple_backend_test | tee /tmp/artifacts/${{ github.job }}/tests.log
224+
# env:
225+
# S3_LOCATION_FILE: tests/locationConfig/locationConfigTests.json
226+
# - name: Upload logs to artifacts
227+
# uses: scality/action-artifacts@v4
228+
# with:
229+
# method: upload
230+
# url: https://artifacts.scality.net
231+
# user: ${{ secrets.ARTIFACTS_USER }}
232+
# password: ${{ secrets.ARTIFACTS_PASSWORD }}
233+
# source: /tmp/artifacts
234+
# if: always()
235235

236-
# All tests use non federation images
236+
# # All tests use non federation images
237237

238-
file-ft-tests:
239-
strategy:
240-
matrix:
241-
include:
242-
- enable-null-compat: ''
243-
job-name: file-ft-tests
244-
- enable-null-compat: 'true'
245-
job-name: file-ft-tests-null-compat
246-
name: ${{ matrix.job-name }}
247-
runs-on: ubuntu-latest
248-
needs: build
249-
env:
250-
S3BACKEND: file
251-
S3VAULT: mem
252-
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
253-
MPU_TESTING: "yes"
254-
ENABLE_NULL_VERSION_COMPAT_MODE: "${{ matrix.enable-null-compat }}"
255-
JOB_NAME: ${{ matrix.job-name }}
256-
steps:
257-
- name: Checkout
258-
uses: actions/checkout@v4
259-
- uses: actions/setup-python@v5
260-
with:
261-
python-version: 3.9
262-
- name: Setup CI environment
263-
uses: ./.github/actions/setup-ci
264-
- name: Setup matrix job artifacts directory
265-
shell: bash
266-
run: |
267-
set -exu
268-
mkdir -p /tmp/artifacts/${{ matrix.job-name }}/
269-
- name: Setup python test environment
270-
run: |
271-
sudo apt-get install -y libdigest-hmac-perl
272-
pip install 's3cmd==2.3.0'
273-
- name: Setup CI services
274-
run: docker compose up -d
275-
working-directory: .github/docker
276-
- name: Run file ft tests
277-
run: |-
278-
set -o pipefail;
279-
bash wait_for_local_port.bash 8000 40
280-
yarn run ft_test | tee /tmp/artifacts/${{ matrix.job-name }}/tests.log
281-
- name: Upload logs to artifacts
282-
uses: scality/action-artifacts@v4
283-
with:
284-
method: upload
285-
url: https://artifacts.scality.net
286-
user: ${{ secrets.ARTIFACTS_USER }}
287-
password: ${{ secrets.ARTIFACTS_PASSWORD }}
288-
source: /tmp/artifacts
289-
if: always()
238+
# file-ft-tests:
239+
# strategy:
240+
# matrix:
241+
# include:
242+
# - enable-null-compat: ''
243+
# job-name: file-ft-tests
244+
# - enable-null-compat: 'true'
245+
# job-name: file-ft-tests-null-compat
246+
# name: ${{ matrix.job-name }}
247+
# runs-on: ubuntu-latest
248+
# needs: build
249+
# env:
250+
# S3BACKEND: file
251+
# S3VAULT: mem
252+
# CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
253+
# MPU_TESTING: "yes"
254+
# ENABLE_NULL_VERSION_COMPAT_MODE: "${{ matrix.enable-null-compat }}"
255+
# JOB_NAME: ${{ matrix.job-name }}
256+
# steps:
257+
# - name: Checkout
258+
# uses: actions/checkout@v4
259+
# - uses: actions/setup-python@v5
260+
# with:
261+
# python-version: 3.9
262+
# - name: Setup CI environment
263+
# uses: ./.github/actions/setup-ci
264+
# - name: Setup matrix job artifacts directory
265+
# shell: bash
266+
# run: |
267+
# set -exu
268+
# mkdir -p /tmp/artifacts/${{ matrix.job-name }}/
269+
# - name: Setup python test environment
270+
# run: |
271+
# sudo apt-get install -y libdigest-hmac-perl
272+
# pip install 's3cmd==2.3.0'
273+
# - name: Setup CI services
274+
# run: docker compose up -d
275+
# working-directory: .github/docker
276+
# - name: Run file ft tests
277+
# run: |-
278+
# set -o pipefail;
279+
# bash wait_for_local_port.bash 8000 40
280+
# yarn run ft_test | tee /tmp/artifacts/${{ matrix.job-name }}/tests.log
281+
# - name: Upload logs to artifacts
282+
# uses: scality/action-artifacts@v4
283+
# with:
284+
# method: upload
285+
# url: https://artifacts.scality.net
286+
# user: ${{ secrets.ARTIFACTS_USER }}
287+
# password: ${{ secrets.ARTIFACTS_PASSWORD }}
288+
# source: /tmp/artifacts
289+
# if: always()
290290

291-
utapi-v2-tests:
292-
runs-on: ubuntu-latest
293-
needs: build
294-
env:
295-
ENABLE_UTAPI_V2: t
296-
S3BACKEND: mem
297-
BUCKET_DENY_FILTER: utapi-event-filter-deny-bucket
298-
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
299-
JOB_NAME: ${{ github.job }}
300-
steps:
301-
- name: Checkout
302-
uses: actions/checkout@v4
303-
- uses: actions/setup-python@v5
304-
with:
305-
python-version: 3.9
306-
- name: Setup CI environment
307-
uses: ./.github/actions/setup-ci
308-
- name: Setup CI services
309-
run: docker compose up -d
310-
working-directory: .github/docker
311-
- name: Run file utapi v2 tests
312-
run: |-
313-
set -ex -o pipefail;
314-
bash wait_for_local_port.bash 8000 40
315-
yarn run test_utapi_v2 | tee /tmp/artifacts/${{ github.job }}/tests.log
316-
- name: Upload logs to artifacts
317-
uses: scality/action-artifacts@v4
318-
with:
319-
method: upload
320-
url: https://artifacts.scality.net
321-
user: ${{ secrets.ARTIFACTS_USER }}
322-
password: ${{ secrets.ARTIFACTS_PASSWORD }}
323-
source: /tmp/artifacts
324-
if: always()
291+
# utapi-v2-tests:
292+
# runs-on: ubuntu-latest
293+
# needs: build
294+
# env:
295+
# ENABLE_UTAPI_V2: t
296+
# S3BACKEND: mem
297+
# BUCKET_DENY_FILTER: utapi-event-filter-deny-bucket
298+
# CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
299+
# JOB_NAME: ${{ github.job }}
300+
# steps:
301+
# - name: Checkout
302+
# uses: actions/checkout@v4
303+
# - uses: actions/setup-python@v5
304+
# with:
305+
# python-version: 3.9
306+
# - name: Setup CI environment
307+
# uses: ./.github/actions/setup-ci
308+
# - name: Setup CI services
309+
# run: docker compose up -d
310+
# working-directory: .github/docker
311+
# - name: Run file utapi v2 tests
312+
# run: |-
313+
# set -ex -o pipefail;
314+
# bash wait_for_local_port.bash 8000 40
315+
# yarn run test_utapi_v2 | tee /tmp/artifacts/${{ github.job }}/tests.log
316+
# - name: Upload logs to artifacts
317+
# uses: scality/action-artifacts@v4
318+
# with:
319+
# method: upload
320+
# url: https://artifacts.scality.net
321+
# user: ${{ secrets.ARTIFACTS_USER }}
322+
# password: ${{ secrets.ARTIFACTS_PASSWORD }}
323+
# source: /tmp/artifacts
324+
# if: always()
325325

326326
kmip-ft-tests:
327327
runs-on: ubuntu-latest
@@ -502,61 +502,61 @@ jobs:
502502
if: always()
503503

504504
# Temporary until I have a good test taking into account kmsHideScalityArn
505-
tmp-kmsHideScalityArn-file-ft-tests:
506-
strategy:
507-
matrix:
508-
include:
509-
- enable-null-compat: ''
510-
job-name: tmp-kmsHideScalityArn-file-ft-tests
511-
name: ${{ matrix.job-name }}
512-
runs-on: ubuntu-latest
513-
needs: build
514-
env:
515-
S3BACKEND: file
516-
S3VAULT: mem
517-
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
518-
MPU_TESTING: "yes"
519-
ENABLE_NULL_VERSION_COMPAT_MODE: "${{ matrix.enable-null-compat }}"
520-
JOB_NAME: ${{ matrix.job-name }}
521-
steps:
522-
- name: Checkout
523-
uses: actions/checkout@v4
524-
- uses: actions/setup-python@v5
525-
with:
526-
python-version: 3.9
527-
- name: Setup CI environment
528-
uses: ./.github/actions/setup-ci
529-
- name: Setup matrix job artifacts directory
530-
shell: bash
531-
run: |
532-
set -exu
533-
mkdir -p /tmp/artifacts/${{ matrix.job-name }}/
534-
- name: Setup python test environment
535-
run: |
536-
sudo apt-get install -y libdigest-hmac-perl
537-
pip install 's3cmd==2.3.0'
538-
- name: Setup CI services
539-
run: |-
540-
docker compose -f docker-compose.kms.yaml up -d
541-
docker compose -f docker-compose.kms.yaml down cloudserver
542-
docker compose -f docker-compose.kms.yaml up -d cloudserver-sse-migration
543-
working-directory: .github/docker
544-
env:
545-
SSE_CONF: sseMigration.hideArn
546-
- name: Run file ft tests
547-
env:
548-
# need absolute path as tests move into folders
549-
S3_CONFIG_FILE: ${{ github.workspace }}/tests/functional/sse-kms-migration/config.sseMigration.hideArn.json
550-
run: |-
551-
set -o pipefail;
552-
bash wait_for_local_port.bash 8000 40
553-
yarn run ft_test | tee /tmp/artifacts/${{ matrix.job-name }}/tests.log
554-
- name: Upload logs to artifacts
555-
uses: scality/action-artifacts@v4
556-
with:
557-
method: upload
558-
url: https://artifacts.scality.net
559-
user: ${{ secrets.ARTIFACTS_USER }}
560-
password: ${{ secrets.ARTIFACTS_PASSWORD }}
561-
source: /tmp/artifacts
562-
if: always()
505+
# tmp-kmsHideScalityArn-file-ft-tests:
506+
# strategy:
507+
# matrix:
508+
# include:
509+
# - enable-null-compat: ''
510+
# job-name: tmp-kmsHideScalityArn-file-ft-tests
511+
# name: ${{ matrix.job-name }}
512+
# runs-on: ubuntu-latest
513+
# needs: build
514+
# env:
515+
# S3BACKEND: file
516+
# S3VAULT: mem
517+
# CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}
518+
# MPU_TESTING: "yes"
519+
# ENABLE_NULL_VERSION_COMPAT_MODE: "${{ matrix.enable-null-compat }}"
520+
# JOB_NAME: ${{ matrix.job-name }}
521+
# steps:
522+
# - name: Checkout
523+
# uses: actions/checkout@v4
524+
# - uses: actions/setup-python@v5
525+
# with:
526+
# python-version: 3.9
527+
# - name: Setup CI environment
528+
# uses: ./.github/actions/setup-ci
529+
# - name: Setup matrix job artifacts directory
530+
# shell: bash
531+
# run: |
532+
# set -exu
533+
# mkdir -p /tmp/artifacts/${{ matrix.job-name }}/
534+
# - name: Setup python test environment
535+
# run: |
536+
# sudo apt-get install -y libdigest-hmac-perl
537+
# pip install 's3cmd==2.3.0'
538+
# - name: Setup CI services
539+
# run: |-
540+
# docker compose -f docker-compose.kms.yaml up -d
541+
# docker compose -f docker-compose.kms.yaml down cloudserver
542+
# docker compose -f docker-compose.kms.yaml up -d cloudserver-sse-migration
543+
# working-directory: .github/docker
544+
# env:
545+
# SSE_CONF: sseMigration.hideArn
546+
# - name: Run file ft tests
547+
# env:
548+
# # need absolute path as tests move into folders
549+
# S3_CONFIG_FILE: ${{ github.workspace }}/tests/functional/sse-kms-migration/config.sseMigration.hideArn.json
550+
# run: |-
551+
# set -o pipefail;
552+
# bash wait_for_local_port.bash 8000 40
553+
# yarn run ft_test | tee /tmp/artifacts/${{ matrix.job-name }}/tests.log
554+
# - name: Upload logs to artifacts
555+
# uses: scality/action-artifacts@v4
556+
# with:
557+
# method: upload
558+
# url: https://artifacts.scality.net
559+
# user: ${{ secrets.ARTIFACTS_USER }}
560+
# password: ${{ secrets.ARTIFACTS_PASSWORD }}
561+
# source: /tmp/artifacts
562+
# if: always()

0 commit comments

Comments
 (0)