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

[Sentry]: Désactivation de Sentry #1772

Merged
merged 1 commit into from
Oct 15, 2024
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
19 changes: 10 additions & 9 deletions .github/workflows/cicd-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ jobs:
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
working-directory: ./frontend
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
working-directory: ./frontend

build:
name: Build and package
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:

e2e_test:
name: Run E2E tests
needs: [version, build]
needs: [ version, build ]
runs-on: ubuntu-22.04
strategy:
# when one test fails, DO NOT cancel the other
Expand All @@ -188,7 +188,7 @@ jobs:
# https://github.com/cypress-io/github-action/issues/48
fail-fast: false
matrix:
containers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
containers: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
Expand Down Expand Up @@ -242,14 +242,14 @@ jobs:
record: true
wait-on: "http://localhost:8880"
working-directory: ./frontend

- name: Display Docker container logs for debugging
if: failure()
run: docker logs monitorenv_backend

e2e_multi_windows_test:
name: Run E2E multi windows tests
needs: [version, build]
needs: [ version, build ]
runs-on: ubuntu-22.04
if: false
env:
Expand Down Expand Up @@ -298,8 +298,9 @@ jobs:

generate_and_upload_source_maps:
name: Generate and upload source maps to Sentry
needs: [version, build, unit_test_backend, unit_test_frontend, e2e_test]
needs: [ version, build, unit_test_backend, unit_test_frontend, e2e_test ]
runs-on: ubuntu-22.04
if: false
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: c'est le if: false qui permet de desactiver le job

env:
VERSION: ${{ needs.version.outputs.VERSION }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
Expand Down Expand Up @@ -339,7 +340,7 @@ jobs:

push_to_registry:
name: Push to registry
needs: [version, unit_test_backend, unit_test_frontend, e2e_test, generate_and_upload_source_maps]
needs: [ version, unit_test_backend, unit_test_frontend, e2e_test, generate_and_upload_source_maps ]
# needs: [version, e2e_test, e2e_multi_windows_test, unit_test_frontend, e2e_test]
runs-on: ubuntu-22.04
if: startsWith(github.ref, 'refs/heads/dependabot') == false
Expand Down
Loading