diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8942e2db..979f82f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,32 +21,41 @@ jobs: with: fetch-depth: 0 - - name: Get frontend version - uses: avides/actions-project-version-check@v1.4.0 - id: frontend_version + # - name: Get frontend version + # uses: avides/actions-project-version-check@v1.4.0 + # id: frontend_version + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # file-to-check: frontend/package.json + # only-return-version: true + # + # - name: Upload Frontend sourcemaps + # uses: ./.github/actions/upload-sourcemaps + # with: + # SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + # VERSION: ${{ steps.frontend_version.outputs.version }} + + - uses: yesolutions/mirror-action@master with: - token: ${{ secrets.GITHUB_TOKEN }} - file-to-check: frontend/package.json - only-return-version: true - - - name: Upload Frontend sourcemaps - uses: ./.github/actions/upload-sourcemaps - with: - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - VERSION: ${{ steps.frontend_version.outputs.version }} - - - name: Mirror + trigger CI - uses: SvanBoxel/gitlab-mirror-and-ci-action@master - with: - args: https://gitlab-sml.din.developpement-durable.gouv.fr/num3-exploitation/deploiement-continu/gitlab-ci/applications/rapportnav-v2/rapportnav-v2.git - env: - FOLLOW_TAGS: true - FORCE_PUSH: true - GITLAB_HOSTNAME: "gitlab-sml.din.developpement-durable.gouv.fr" - GITLAB_USERNAME: ${{ github.actor }} - GITLAB_PASSWORD: ${{ secrets.GITLAB_MIRROR_TOKEN }} - GITLAB_PROJECT_ID: "num3-exploitation/deploiement-continu" - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REMOTE: https://gitlab-sml.din.developpement-durable.gouv.fr/num3-exploitation/deploiement-continu/gitlab-ci/applications/rapportnav-v2/rapportnav-v2.git + GIT_USERNAME: ${{ github.actor }} + GIT_PASSWORD: ${{ secrets.GITLAB_MIRROR_TOKEN }} + GIT_PUSH_ARGS: "--tags --prune" + PUSH_ALL_REFS: false + DEBUG: true + +# - name: Mirror + trigger CI +# uses: SvanBoxel/gitlab-mirror-and-ci-action@master +# with: +# args: https://gitlab-sml.din.developpement-durable.gouv.fr/num3-exploitation/deploiement-continu/gitlab-ci/applications/rapportnav-v2/rapportnav-v2.git +# env: +# FOLLOW_TAGS: true +# FORCE_PUSH: true +# GITLAB_HOSTNAME: "gitlab-sml.din.developpement-durable.gouv.fr" +# GITLAB_USERNAME: ${{ github.actor }} +# GITLAB_PASSWORD: ${{ secrets.GITLAB_MIRROR_TOKEN }} +# GITLAB_PROJECT_ID: "num3-exploitation/deploiement-continu" +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/backend/src/main/kotlin/fr/gouv/dgampa/rapportnav/infrastructure/monitorfish/APIFishActionRepositoryEnv.kt b/backend/src/main/kotlin/fr/gouv/dgampa/rapportnav/infrastructure/monitorfish/APIFishActionRepositoryEnv.kt index 57ed87f2..455fefe0 100644 --- a/backend/src/main/kotlin/fr/gouv/dgampa/rapportnav/infrastructure/monitorfish/APIFishActionRepositoryEnv.kt +++ b/backend/src/main/kotlin/fr/gouv/dgampa/rapportnav/infrastructure/monitorfish/APIFishActionRepositoryEnv.kt @@ -28,8 +28,6 @@ class APIFishActionRepositoryEnv( ) .build(); - // test - val response = client.send(request, HttpResponse.BodyHandlers.ofString()) if (response.statusCode() in 200..299) {