-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: upgrade version github actions (cd.yml) (#201) downgrade python github action to v4 fix cd * Ajout wrapper cron sentry (#204) * feat: ajoute un wrapper pour capturer les erreurs des crons sur sentry * feat: add sentry-cli * fix: indentation * fix: sentry-cli install * fix: sentry_wrapper_cron path * fix: sentry wrapper fonctionnel * fix: arg invalide en production - install ansible * chore: bump pm2 v5.4.2 (#206) * fix: utilise apt pour l'install ansible * fix: utilise environnement virtuel pour l'install ansible * fix: utilise environnement virtuel pour l'install ansible * chore: reset pm2 v5.2 * fix: setup openfisca install * Debian 11 to 12 (#208) * fix: ajout de paramétrage pour gérer les M1 plus proprement * feat: passage a la version 12 de debian --------- Co-authored-by: Jeremy PASTOURET <[email protected]> * chore: upgrade pm2 version * trigger CD --------- Co-authored-by: Jeremy PASTOURET <[email protected]>
- Loading branch information
1 parent
293718f
commit 40ffe42
Showing
9 changed files
with
48 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:11.6 | ||
FROM debian:12 | ||
ENV container=docker | ||
|
||
RUN apt-get update -y && apt-get dist-upgrade -y | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
--- | ||
- name: Add nodejs apt key | ||
ansible.builtin.apt_key: | ||
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key | ||
state: present | ||
- name: Add nodejs 18.x ppa for apt repo | ||
ansible.builtin.apt_repository: | ||
repo: deb https://deb.nodesource.com/node_18.x bullseye main | ||
update_cache: true | ||
- name: Install nodejs | ||
|
||
- name: Download node.js installation script | ||
ansible.builtin.get_url: | ||
url: https://deb.nodesource.com/setup_{{ node_version }}.x | ||
dest: /tmp/nodesource_setup.sh | ||
mode: '0755' | ||
|
||
- name: Run the nodesource setup script | ||
become: true | ||
ansible.builtin.command: sh /tmp/nodesource_setup.sh | ||
args: | ||
creates: /usr/bin/node | ||
|
||
- name: Update and install nodejs | ||
become: true | ||
ansible.builtin.apt: | ||
update_cache: true | ||
name: nodejs | ||
state: present | ||
update_cache: true | ||
|
||
- name: Clean up NodeSource setup script | ||
ansible.builtin.file: | ||
path: /tmp/nodesource_setup.sh | ||
state: absent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters