From 2c99774b28d9286db64929539b6a8db27c04e721 Mon Sep 17 00:00:00 2001 From: baptou12 Date: Fri, 15 Sep 2023 16:58:28 +0200 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20change=20script=20acc=C3=A8s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/bootstrap/templates/pm2_config.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/bootstrap/templates/pm2_config.yaml.j2 b/roles/bootstrap/templates/pm2_config.yaml.j2 index 62eebb36..fd39ddd7 100644 --- a/roles/bootstrap/templates/pm2_config.yaml.j2 +++ b/roles/bootstrap/templates/pm2_config.yaml.j2 @@ -1,8 +1,8 @@ #jinja2: trim_blocks: True, lstrip_blocks: True apps: - name: {{ item.name }}-node-server - cwd: /home/main/{{ item.name }}/repository/dist-server/backend/ - script: server.js + cwd: /home/main/{{ item.name }}/repository/ + script: dist-server/backend/server.js instances: {{ item.node_instance_number }} exec_mode: cluster merge_logs: true From bdb093075a121858397f19d1802891beceddd3e7 Mon Sep 17 00:00:00 2001 From: baptou12 Date: Mon, 18 Sep 2023 10:06:31 +0200 Subject: [PATCH 2/2] temporary disable equinoze deployement --- .github/workflows/pipeline.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index ab26168d..6dc26079 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -71,10 +71,10 @@ jobs: echo "${{ secrets.ECLIPSE_PRIVATE_KEY }}" > ~/.ssh/eclipse chmod 600 ~/.ssh/eclipse ssh -o StrictHostKeyChecking=no ${{ env.ECLIPSE_SSH_USER }}@${{ env.ECLIPSE_SSH_HOST }} -i ~/.ssh/eclipse - - name: Equinoxe Deployment - shell: bash - run: | - mkdir -p ~/.ssh/ - echo "${{ secrets.EQUINOXE_PRIVATE_KEY }}" > ~/.ssh/equinoxe - chmod 600 ~/.ssh/equinoxe - ssh -o StrictHostKeyChecking=no ${{ env.EQUINOXE_SSH_USER }}@${{ env.EQUINOXE_SSH_HOST }} -i ~/.ssh/equinoxe + # - name: Equinoxe Deployment + # shell: bash + # run: | + # mkdir -p ~/.ssh/ + # echo "${{ secrets.EQUINOXE_PRIVATE_KEY }}" > ~/.ssh/equinoxe + # chmod 600 ~/.ssh/equinoxe + # ssh -o StrictHostKeyChecking=no ${{ env.EQUINOXE_SSH_USER }}@${{ env.EQUINOXE_SSH_HOST }} -i ~/.ssh/equinoxe