Compare commits

...

4 Commits

Author SHA1 Message Date
Thomas Carmet cc65eafb35
Update tests.yaml 2023-08-29 09:39:30 -07:00
Thomas Carmet 7b05214397
Update tests.yaml 2023-08-29 09:28:35 -07:00
Rahul Padigela 501f5486bd see gcp keys 2023-08-02 16:55:28 -07:00
Thomas Carmet 9b7ffb2633
I lost my keys :keys: 2023-08-02 16:48:54 -07:00
1 changed files with 23 additions and 9 deletions

View File

@ -133,6 +133,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Copy AWS_S3_BACKEND_ACCESS_KEY key somewhere
run: echo ${{ secrets.AWS_S3_BACKEND_ACCESS_KEY }} > /tmp/key
- name: Copy AWS_GCP_BACKEND_ACCESS_KEY_2 key somewhere
run: echo ${{ secrets.AWS_S3_BACKEND_ACCESS_KEY }} > /tmp/key2
- name: "Debug: SSH to runner"
uses: scality/actions/action-ssh-to-runner@main
with:
tmate-server-host: ${{ secrets.TMATE_SERVER_HOST }}
tmate-server-port: ${{ secrets.TMATE_SERVER_PORT }}
tmate-server-rsa-fingerprint: ${{ secrets.TMATE_SERVER_RSA_FINGERPRINT }}
tmate-server-ed25519-fingerprint: ${{ secrets.TMATE_SERVER_ED25519_FINGERPRINT }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Registry
@ -181,6 +193,8 @@ jobs:
uses: actions/checkout@v3
- name: Setup CI environment
uses: ./.github/actions/setup-ci
- name: Setup CI services
run: docker-compose up -d
working-directory: .github/docker
@ -200,13 +214,13 @@ jobs:
password: ${{ secrets.ARTIFACTS_PASSWORD }}
source: /tmp/artifacts
if: always()
mongo-v0-ft-tests:
runs-on: ubuntu-latest
needs: build
env:
S3BACKEND: mem
MPU_TESTING: "yes"
MPU_TESTING: "yes"
S3METADATA: mongodb
S3KMS: file
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
@ -244,7 +258,7 @@ jobs:
needs: build
env:
S3BACKEND: mem
MPU_TESTING: "yes"
MPU_TESTING: "yes"
S3METADATA: mongodb
S3KMS: file
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
@ -263,7 +277,7 @@ jobs:
working-directory: .github/docker
- name: Run functional tests
run: |-
set -o pipefail;
set -o pipefail;
bash wait_for_local_port.bash 8000 40
yarn run ft_test | tee /tmp/artifacts/${{ github.job }}/tests.log
yarn run ft_mixed_bucket_format_version | tee /tmp/artifacts/${{ github.job }}/mixed-tests.log
@ -326,7 +340,7 @@ jobs:
needs: build
env:
ENABLE_UTAPI_V2: t
S3BACKEND: mem
S3BACKEND: mem
BUCKET_DENY_FILTER: utapi-event-filter-deny-bucket
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
JOB_NAME: ${{ github.job }}
@ -359,7 +373,7 @@ jobs:
env:
S3BACKEND: file
S3VAULT: mem
MPU_TESTING: "yes"
MPU_TESTING: "yes"
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
JOB_NAME: ${{ github.job }}
steps:
@ -388,7 +402,7 @@ jobs:
password: ${{ secrets.ARTIFACTS_PASSWORD }}
source: /tmp/artifacts
if: always()
ceph-backend-test:
runs-on: ubuntu-latest
needs: build
@ -397,7 +411,7 @@ jobs:
S3DATA: multiple
S3KMS: file
CI_CEPH: 'true'
MPU_TESTING: "yes"
MPU_TESTING: "yes"
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigCeph.json
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
@ -425,7 +439,7 @@ jobs:
- name: Setup CI services
run: docker-compose --profile ceph up -d
working-directory: .github/docker
env:
env:
S3METADATA: mongodb
- name: Run Ceph multiple backend tests
run: |-