-
Notifications
You must be signed in to change notification settings - Fork 5
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
🚦 Mise en place de deux domaines sur toute la stack : locale, CI, staging #1321
base: main
Are you sure you want to change the base?
Conversation
2423f68
to
792e8b3
Compare
1db85d8
to
39e8084
Compare
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
2d4ea2a
to
f9606fa
Compare
.github/workflows/run_tests.yml
Outdated
- name: Add hosts to /etc/hosts | ||
run: | | ||
sudo echo "127.0.0.1 lvao.dev" | sudo tee -a /etc/hosts | ||
- run: >- | ||
docker run -d -p 80:80 | ||
-v ${{ github.workspace }}/nginx/servers.conf:/etc/nginx/servers.conf:ro | ||
-v ${{ github.workspace }}/nginx/certs:/etc/nginx/ssl | ||
--add-host=host.docker.internal:host-gateway | ||
-e GITHUB_ACTIONS=true -e CI=true nginx:1.18 | ||
# --health-cmd "curl -fs https://assistant.dev" | ||
# --health-interval 2s --health-timeout 5s --health-retries 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dysfonctionnel, à finir à mon retour de vacances
nginx/certs/assistant.dev+1-key.pem
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
à supprimer du repo
nginx/servers.conf
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
voir pour mutualiser les deux confs
d24f467
to
791a85e
Compare
e92a614
to
fe58963
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bcp + agréable en effet d'être sur des noms significatifs que sur du localhost/127 merci bien👏
98ed192
to
dc68ed3
Compare
dc68ed3
to
de59458
Compare
Description succincte du problème résolu
En lien avec https://www.notion.so/accelerateur-transition-ecologique-ademe/Si-iFram-et-que-je-clique-dans-une-fiche-produit-sur-le-logo-a-revient-la-page-d-accueil-mais-av-17b6523d57d7800ea4dbe206b5af86b5?pvs=4
🗺️ contexte: on utilise deux domaines en prod, on souhaite répliquer ce système
💡 quoi: définition de domaines assistant.dev et lvao.dev pour atteindre les webapps en local
🎯 pourquoi:
🤔 comment:
Note : j'en ai profité pour ajouter un lancement conditionnel des test e2e, en la présence du tag
frontend
ils se lanceront.Sur MacOS il peut être requis de rafraîchir des choses :
Auto-review
Les trucs à faire avant de demander une review :
.env.template
✅ Reste à faire (PR en cours)
📆 A faire (prochaine PR)