Skip to content

Commit

Permalink
(PC-32281)[PRO] test: remove useless sandbox e2e
Browse files Browse the repository at this point in the history
(PC-32281)[PRO] test: remove useless sandbox e2e

oubli

(PC-32281)[PRO] test: move test

fix
  • Loading branch information
scolson-pass committed Oct 21, 2024
1 parent 16ca13e commit 01fc86d
Show file tree
Hide file tree
Showing 78 changed files with 10 additions and 6,620 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/dev_on_pull_request_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,25 +220,6 @@ jobs:
secrets:
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}

# FIXME : (mageoffray, 19-09-2024)
# this workflow is temporary and will be used to transitioned between
# e2e tests based on e2e sandbox and e2e tests based on micro sandboxes
test-pro-e2e-migration:
name: "Tests pro E2E migrations"
needs: [pcapi-init-job, build-pcapi]
uses: ./.github/workflows/dev_on_workflow_tests_pro_e2e_migration.yml
if: |
always() &&
!cancelled() &&
needs.pcapi-init-job.outputs.api-changed == 'true' ||
needs.pcapi-init-job.outputs.pro-changed == 'true'
with:
tag: ${{ needs.build-pcapi.result == 'skipped' && 'latest' || needs.pcapi-init-job.outputs.checksum-tag }}
CACHE_BUCKET_NAME: "passculture-infra-prod-github-runner-cache"
secrets:
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}

test-pro-e2e:
name: "Tests pro E2E"
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/dev_on_push_workflow_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,25 +224,6 @@ jobs:
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}

# FIXME : (mageoffray, 19-09-2024)
# this workflow is temporary and will be used to transitioned between
# e2e tests based on e2e sandbox and e2e tests based on micro sandboxes
test-pro-e2e-migration:
name: "Tests pro E2E migrations"
needs: [pcapi-init-job, build-pcapi]
uses: ./.github/workflows/dev_on_workflow_tests_pro_e2e_migration.yml
if: |
always() &&
!cancelled() &&
needs.pcapi-init-job.outputs.api-changed == 'true' ||
needs.pcapi-init-job.outputs.pro-changed == 'true'
with:
tag: ${{ needs.build-pcapi.result == 'skipped' && 'latest' || needs.pcapi-init-job.outputs.checksum-tag }}
CACHE_BUCKET_NAME: "passculture-infra-prod-github-runner-cache"
secrets:
GCP_EHP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_EHP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_EHP_SERVICE_ACCOUNT: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}

test-pro-e2e:
name: "Tests pro E2E"
needs: [pcapi-init-job, build-pcapi]
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/dev_on_workflow_tests_pro_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ jobs:
with:
resource: http://localhost:5001/health/api
timeout: 120000
- name: "Load sandbox"
run: ../pc sandbox -n e2e
- name: "Build vite application"
run: yarn build:development
- name: "Serve vite preview"
Expand All @@ -145,10 +143,10 @@ jobs:
wait-on-timeout: 600
working-directory: pro
browser: chrome
config-file: cypress/old_cypress.config.ts
config-file: cypress/cypress.config.ts
env: TAGS="@P0"
record: ${{ github.ref == 'refs/heads/master' }} # for Cypress Cloud
group: ${{ github.ref == 'refs/heads/master' && 'Tests with yet-to-be-removed sandbox' || '' }}
spec: "cypress/e2e/*"
env:
CYPRESS_RECORD_KEY: ${{ steps.secrets.outputs.CYPRESS_CLOUD_RECORD_KEY }}
CYPRESS_PROJECT_ID: ${{ steps.secrets.outputs.CYPRESS_CLOUD_PROJECT_ID }}
Expand Down
193 changes: 0 additions & 193 deletions .github/workflows/dev_on_workflow_tests_pro_e2e_migration.yml

This file was deleted.

1 change: 0 additions & 1 deletion api/src/pcapi/sandboxes/scripts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
from pcapi.sandboxes.scripts import sandbox_beneficiaries
from pcapi.sandboxes.scripts import sandbox_big
from pcapi.sandboxes.scripts import sandbox_data
from pcapi.sandboxes.scripts import sandbox_e2e
from pcapi.sandboxes.scripts import sandbox_industrial
110 changes: 0 additions & 110 deletions api/src/pcapi/sandboxes/scripts/creators/e2e/__init__.py

This file was deleted.

Loading

0 comments on commit 01fc86d

Please sign in to comment.