@@ -451,6 +451,114 @@ jobs:
451451 source : /tmp/artifacts
452452 if : always()
453453
454+ # Configure and run as Integration run S3C tests
455+ s3c-ft-tests :
456+ runs-on : ubuntu-24.04
457+ needs : build
458+ env :
459+ S3BACKEND : file
460+ S3DATA : scality
461+ S3METADATA : scality
462+ S3VAULT : scality
463+ CLOUDSERVER_IMAGE : ghcr.io/${{ github.repository }}:${{ github.sha }}
464+ MPU_TESTING : " yes"
465+ ENABLE_NULL_VERSION_COMPAT_MODE : true
466+ COMPOSE_FILE : docker-compose.yaml:docker-compose.sse.yaml
467+ S3_VERSION_ID_ENCODING_TYPE : hex
468+ JOB_NAME : ${{ github.job }}
469+ VAULT_IMAGE : ghcr.io/scality/vault:7.76.0
470+ S3_END_TO_END : true
471+ S3_TESTVAL_OWNERCANONICALID : 79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be
472+ steps :
473+ - name : Checkout
474+ uses : actions/checkout@v4
475+ - name : Login to Registry
476+ uses : docker/login-action@v3
477+ with :
478+ registry : ghcr.io
479+ username : ${{ github.repository_owner }}
480+ password : ${{ github.token }}
481+ - name : Setup CI environment
482+ uses : ./.github/actions/setup-ci
483+ - name : Copy S3C config
484+ run : cp .github/docker/config.s3c.json tests/functional/sse-kms-migration/config.json
485+ - name : Setup CI services
486+ run : docker compose up -d --quiet-pull redis sproxyd metadata-standalone vault-sse-before-migration cloudserver-sse-before-migration
487+ working-directory : .github/docker
488+ - name : Wait for services to be ready
489+ run : |-
490+ set -o pipefail;
491+ bash wait_for_local_port.bash 81 40
492+ bash wait_for_local_port.bash 9000 40
493+ bash wait_for_local_port.bash 8000 40
494+ - name : Setup vault credentials like S3C Integration
495+ run : ./setup-s3c.sh
496+ working-directory : .github/docker
497+ - name : Run cloudserver-object tests
498+ env :
499+ S3_CONFIG_FILE : ${{ github.workspace }}/.github/docker/config.s3c.json
500+ S3_LOCATION_FILE : ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
501+ run : |-
502+ set -o pipefail;
503+ yarn run ft_awssdk_objects_misc | tee /tmp/artifacts/${{ github.job }}/ft_awssdk_objects_misc.log
504+ - name : Run cloudserver-version tests
505+ env :
506+ S3_CONFIG_FILE : ${{ github.workspace }}/.github/docker/config.s3c.json
507+ S3_LOCATION_FILE : ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
508+ run : |-
509+ set -o pipefail;
510+ yarn run ft_awssdk_versioning | tee /tmp/artifacts/${{ github.job }}/ft_awssdk_versioning.log
511+ - name : Run cloudserver-bucket tests
512+ env :
513+ S3_CONFIG_FILE : ${{ github.workspace }}/.github/docker/config.s3c.json
514+ S3_LOCATION_FILE : ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
515+ run : |-
516+ set -o pipefail;
517+ yarn run ft_awssdk_buckets | tee /tmp/artifacts/${{ github.job }}/ft_awssdk_buckets.log
518+ - name : Run cloudserver-routes (metadata) tests
519+ env :
520+ S3_CONFIG_FILE : ${{ github.workspace }}/.github/docker/config.s3c.json
521+ S3_LOCATION_FILE : ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
522+ run : |-
523+ set -o pipefail;
524+ yarn run ft_node_routes | tee /tmp/artifacts/${{ github.job }}/ft_node_routes.log
525+ - name : Run backbeat route tests
526+ env :
527+ S3_CONFIG_FILE : ${{ github.workspace }}/.github/docker/config.s3c.json
528+ S3_LOCATION_FILE : ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
529+ run : |-
530+ set -o pipefail;
531+ yarn run ft_route_backbeat | tee /tmp/artifacts/${{ github.job }}/ft_route_backbeat.log
532+ - name : Run backbeat tests
533+ env :
534+ S3_CONFIG_FILE : ${{ github.workspace }}/.github/docker/config.s3c.json
535+ S3_LOCATION_FILE : ${{ github.workspace }}/tests/locationConfig/locationConfigS3C.json
536+ run : |-
537+ set -o pipefail;
538+ yarn run ft_backbeat | tee /tmp/artifacts/${{ github.job }}/ft_backbeat.log
539+ - name : Cleanup and upload coverage
540+ uses : ./.github/actions/cleanup-and-coverage
541+ with :
542+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
543+ flags : s3c-ft-tests
544+ if : always()
545+ - name : Upload test results to Codecov
546+ uses : codecov/test-results-action@v1
547+ with :
548+ token : ${{ secrets.CODECOV_TOKEN }}
549+ files : ' **/junit/*junit*.xml'
550+ flags : s3c-ft-tests
551+ if : always() && !cancelled()
552+ - name : Upload logs to artifacts
553+ uses : scality/action-artifacts@v4
554+ with :
555+ method : upload
556+ url : https://artifacts.scality.net
557+ user : ${{ secrets.ARTIFACTS_USER }}
558+ password : ${{ secrets.ARTIFACTS_PASSWORD }}
559+ source : /tmp/artifacts
560+ if : always()
561+
454562 utapi-v2-tests :
455563 runs-on : ubuntu-24.04
456564 needs : build
0 commit comments