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

[BO - Maintenance] Bloquer les crons et la page de contact #2351

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

sfinx13
Copy link
Collaborator

@sfinx13 sfinx13 commented Mar 20, 2024

Ticket

#2350

Description

Les crons ainsi que la page de contact doivent être bloqué pour éviter toute interaction avec la base de données, notamment le cron SCHS à 18H UTC

Changements apportés

  • Ajout condition dans AbstractCronCommand
  • Inclure la page de contact dans les pages inaccessibles

Pré-requis

Tests

  • Activer le mode maintenance MAINTENANCE_ENABLE=1
  • Vérifier que la page contact est inaccessible
  • Vérifier qu'aucune commande de cron (les commandes situé dans App\Command\Cron ) puisse être lancé, en voici quelques une
    • make console app="remind-inactive-user"
    • make console app="sync-esabora-sish"
    • make console app="sync-esabora-schs"

Copy link

sonarcloud bot commented Mar 20, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Collaborator

@numew numew left a comment

Choose a reason for hiding this comment

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

Test et relecture OK

@numew numew merged commit 957dc22 into main Mar 20, 2024
3 checks passed
@hmeneuvrier hmeneuvrier deleted the feature/2350-block-cron-contact-maintenance branch April 11, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants