Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GCP tests (PAN-19559) #367

Merged
merged 1 commit into from
Feb 27, 2025
Merged
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
58 changes: 18 additions & 40 deletions pangea-sdk/.sdk-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ sdk-test-it:
stage: integration_tests
retry: 2
variables:
CLOUD: AWS

# Set each service test environment
SERVICE_AI_GUARD_ENV: LVE
SERVICE_AUDIT_ENV: LVE
Expand Down Expand Up @@ -47,62 +49,38 @@ sdk-test-it:

parallel:
matrix:
- CLOUD: [AWS]
ENV: ${SERVICE_AI_GUARD_ENV}
- ENV: ${SERVICE_AI_GUARD_ENV}
TEST: ai_guard
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_AUDIT_ENV}
- ENV: ${SERVICE_AUDIT_ENV}
TEST: audit
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_AUTHN_ENV}
- ENV: ${SERVICE_AUTHN_ENV}
TEST: authn
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_AUTHZ_ENV}
- ENV: ${SERVICE_AUTHZ_ENV}
TEST: authz
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_EMBARGO_ENV}
- ENV: ${SERVICE_EMBARGO_ENV}
TEST: embargo
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_DOMAIN_INTEL_ENV}
- ENV: ${SERVICE_DOMAIN_INTEL_ENV}
TEST: domain_intel
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_IP_INTEL_ENV}
- ENV: ${SERVICE_IP_INTEL_ENV}
TEST: ip_intel
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_URL_INTEL_ENV}
- ENV: ${SERVICE_URL_INTEL_ENV}
TEST: url_intel
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_USER_INTEL_ENV}
- ENV: ${SERVICE_USER_INTEL_ENV}
TEST: user_intel
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_FILE_INTEL_ENV}
- ENV: ${SERVICE_FILE_INTEL_ENV}
TEST: file_intel
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_FILE_SCAN_ENV}
- ENV: ${SERVICE_FILE_SCAN_ENV}
TEST: file_scan
- CLOUD: [AWS]
ENV: ${SERVICE_PROMPT_GUARD_ENV}
- ENV: ${SERVICE_PROMPT_GUARD_ENV}
TEST: prompt_guard
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_REDACT_ENV}
- ENV: ${SERVICE_REDACT_ENV}
TEST: redact
- CLOUD: [AWS]
ENV: ${SERVICE_SANITIZE_ENV}
- ENV: ${SERVICE_SANITIZE_ENV}
TEST: sanitize
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_VAULT_ENV}
- ENV: ${SERVICE_VAULT_ENV}
TEST: vault
- CLOUD: [AWS, GCP]
ENV: ${SERVICE_SHARE_ENV}
- ENV: ${SERVICE_SHARE_ENV}
TEST: share
allow_failure: false
rules:
- if: '$CI_COMMIT_BRANCH && $CLOUD == "GCP" && $TEST == "file_scan"'
allow_failure: true
- if: '$CI_COMMIT_BRANCH && $CLOUD == "GCP" && $TEST != "file_scan"'
allow_failure: true
- if: '$CI_COMMIT_BRANCH && $CLOUD != "GCP"'
allow_failure: false
script:
- go test -count=1 -tags integration -v ./service/${TEST}/...

Expand Down