diff --git a/.kontinuous/env/dev/values.yaml b/.kontinuous/env/dev/values.yaml index b6d0034ed9..4592decae4 100644 --- a/.kontinuous/env/dev/values.yaml +++ b/.kontinuous/env/dev/values.yaml @@ -34,11 +34,6 @@ jobs: secretKey: ELASTICSEARCH_URL app: - tolerations: - - key: startup - operator: Equal - value: cdtn - effect: NoSchedule env: - name: "NEXT_PUBLIC_BRANCH_NAME_SLUG" value: "{{.Values.global.branchSlug32}}" diff --git a/.kontinuous/env/preprod/values.yaml b/.kontinuous/env/preprod/values.yaml index 3fcba9fda2..6631fbaeb9 100644 --- a/.kontinuous/env/preprod/values.yaml +++ b/.kontinuous/env/preprod/values.yaml @@ -1,10 +1,3 @@ -app: - tolerations: - - key: startup - operator: Equal - value: cdtn - effect: NoSchedule - jobs: runs: build-app: diff --git a/.kontinuous/env/prod/values.yaml b/.kontinuous/env/prod/values.yaml index 3bfb5666f9..e2cc3dbe6c 100644 --- a/.kontinuous/env/prod/values.yaml +++ b/.kontinuous/env/prod/values.yaml @@ -49,8 +49,3 @@ app: oblik.socialgouv.io/min-request-memory: 1280Mi oblik.socialgouv.io/min-limit-cpu: 900m oblik.socialgouv.io/min-limit-memory: 1536Mi - tolerations: - - key: startup - operator: Equal - value: cdtn - effect: NoSchedule diff --git a/.kontinuous/values.yaml b/.kontinuous/values.yaml index 2f2761d17a..ac569f3b09 100644 --- a/.kontinuous/values.yaml +++ b/.kontinuous/values.yaml @@ -43,7 +43,8 @@ app: name: next initContainers: - name: copy-next - image: "{{ .Values.global.registry }}/{{ .Values.global.projectName }}/{{ + image: + "{{ .Values.global.registry }}/{{ .Values.global.projectName }}/{{ .Values.global.imageRepository }}/app:{{ .Values.global.imageTag }}" command: ["/bin/sh", "-c"] args: @@ -51,3 +52,17 @@ app: volumeMounts: - name: next mountPath: /mnt/next + tolerations: + - key: startup + operator: Equal + value: cdtn + effect: NoSchedule + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: nodepool + operator: In + values: + - cdtn-worker-nodepool diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b141d37ff..dc7a8855be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.152.0](https://github.com/SocialGouv/code-du-travail-numerique/compare/v4.151.1...v4.152.0) (2024-09-04) + +### Bug Fixes + +- **csp:** remove reporting on sentry ([#6092](https://github.com/SocialGouv/code-du-travail-numerique/issues/6092)) ([a28634e](https://github.com/SocialGouv/code-du-travail-numerique/commit/a28634eddd7b55af23bc01c82c87bedaa1ae5771)) + +### Features + +- ajout d'un questionnaire sur l'utilisation du site ([#6084](https://github.com/SocialGouv/code-du-travail-numerique/issues/6084)) ([5be1d4a](https://github.com/SocialGouv/code-du-travail-numerique/commit/5be1d4affee9d821b6f67914fc6e4b3ef45095b0)) + ## [4.151.1](https://github.com/SocialGouv/code-du-travail-numerique/compare/v4.151.0...v4.151.1) (2024-08-30) ### Bug Fixes diff --git a/lerna.json b/lerna.json index d5ef57e477..c9bc128b13 100644 --- a/lerna.json +++ b/lerna.json @@ -8,5 +8,5 @@ }, "npmClient": "yarn", "useWorkspaces": true, - "version": "4.151.1" + "version": "4.152.0" } diff --git a/packages/code-du-travail-frontend/CHANGELOG.md b/packages/code-du-travail-frontend/CHANGELOG.md index 0fdc47bdde..4116d8e37e 100644 --- a/packages/code-du-travail-frontend/CHANGELOG.md +++ b/packages/code-du-travail-frontend/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.152.0](https://github.com/SocialGouv/code-du-travail-numerique/compare/v4.151.1...v4.152.0) (2024-09-04) + +### Bug Fixes + +- **csp:** remove reporting on sentry ([#6092](https://github.com/SocialGouv/code-du-travail-numerique/issues/6092)) ([a28634e](https://github.com/SocialGouv/code-du-travail-numerique/commit/a28634eddd7b55af23bc01c82c87bedaa1ae5771)) + +### Features + +- ajout d'un questionnaire sur l'utilisation du site ([#6084](https://github.com/SocialGouv/code-du-travail-numerique/issues/6084)) ([5be1d4a](https://github.com/SocialGouv/code-du-travail-numerique/commit/5be1d4affee9d821b6f67914fc6e4b3ef45095b0)) + ## [4.151.1](https://github.com/SocialGouv/code-du-travail-numerique/compare/v4.151.0...v4.151.1) (2024-08-30) ### Bug Fixes diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.tsx.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.tsx.snap index 6d7e70a5d8..70e766c682 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.tsx.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.tsx.snap @@ -3,10 +3,10 @@ exports[` should render 1`] = `
should render 1`] = `
+
+
+ + + + + + + Votre avis compte ! Aidez-nous à nous améliorer. + + Répondre + + + +
+
diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/droit-du-travail.test.js.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/droit-du-travail.test.js.snap index c32ea7b445..0ba2c9c0be 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/droit-du-travail.test.js.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/droit-du-travail.test.js.snap @@ -3,10 +3,10 @@ exports[` should render 1`] = `
should render 1`] = `
+
+
+ + + + + + + Votre avis compte ! Aidez-nous à nous améliorer. + + Répondre + + + +
+
@@ -194,7 +263,7 @@ exports[` should render 1`] = ` > Retrouvez la définition du droit du travail, les textes qui en sont à l’origine
ainsi que leur articulation.

diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/fiche-ministere-travail.test.tsx.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/fiche-ministere-travail.test.tsx.snap index 4a64c69a15..ec2a3868ac 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/fiche-ministere-travail.test.tsx.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/fiche-ministere-travail.test.tsx.snap @@ -3,10 +3,10 @@ exports[` should render 1`] = `
should render 1`] = `
+
+
+ + + + + + + Votre avis compte ! Aidez-nous à nous améliorer. + + Répondre + + + +
+
@@ -231,7 +300,7 @@ exports[` should render 1`] = ` class="sc-aXZVg sc-fulCBj gZgZQL dnfESq" >
should render 1`] = ` class="sc-bXCLTC fcbJdD" >

Depuis le 1er janvier 2017, la diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/glossaire-[slug].test.tsx.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/glossaire-[slug].test.tsx.snap index 5254d1e437..1ddcde7938 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/glossaire-[slug].test.tsx.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/glossaire-[slug].test.tsx.snap @@ -3,10 +3,10 @@ exports[` should render 1`] = `

should render 1`] = `
+
+
+ + + + + + + Votre avis compte ! Aidez-nous à nous améliorer. + + Répondre + + + +
+
diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/glossaire.test.tsx.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/glossaire.test.tsx.snap index 3e235551bc..56e84bddaa 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/glossaire.test.tsx.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/glossaire.test.tsx.snap @@ -3,10 +3,10 @@ exports[` should render 1`] = `
should render 1`] = `
+
+
+ + + + + + + Votre avis compte ! Aidez-nous à nous améliorer. + + Répondre + + + +
+
@@ -200,7 +269,7 @@ exports[` should render 1`] = ` >
  • should render 1`] = `
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • I
  • J
  • K
  • L
  • M
  • N
  • O
  • P
  • Q
  • R
  • S
  • T
  • U
  • V
  • W
  • X
  • Y
  • Z diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers-[slug].test.tsx.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers-[slug].test.tsx.snap index 25480eaf46..4314db9db2 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers-[slug].test.tsx.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers-[slug].test.tsx.snap @@ -3,10 +3,10 @@ exports[` should render 1`] = `
    should render 1`] = `
    +
    +
    + + + + + + + Votre avis compte ! Aidez-nous à nous améliorer. + + Répondre + + + +
    +
    should render 1`] = ` class="sc-iGgWBj biWgIW" >

    theme

    should render 1`] = `

    Mis à jour le  :  @@ -280,10 +349,10 @@ exports[` should render 1`] = `

    should render 1`] = `

    should render 1`] = ` Partager ce contenu : 

    should render 1`] = `
    should render 1`] = ` class="sc-iGgWBj cRLRjd" >

    should render 1`] = ` Avez-vous trouvé la réponse à votre question ?

    diff --git a/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers.test.tsx.snap b/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers.test.tsx.snap index fc027dd999..8e60581923 100644 --- a/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers.test.tsx.snap +++ b/packages/code-du-travail-frontend/__tests__/__snapshots__/modeles-de-courriers.test.tsx.snap @@ -3,10 +3,10 @@ exports[` should render 1`] = `

    should render 1`] = `
    +
    +
    + + + + + + + Votre avis compte ! Aidez-nous à nous améliorer. + + Répondre + + + +
    +
    @@ -196,7 +265,7 @@ exports[` should render 1`] = `