Skip to content

Commit

Permalink
chore: page assistance retirée
Browse files Browse the repository at this point in the history
  • Loading branch information
rsauvair committed Jul 22, 2022
1 parent beca24e commit 5907549
Show file tree
Hide file tree
Showing 12 changed files with 475 additions and 579 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ services:
- NEXT_PUBLIC_BASE_URL=https://contrat-pentest.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_BASE_HOST=contrat-pentest.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_METABASE_URL=https://contrat-pentest.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_METABASE_SECRET_KEY={{ vault[env_type].NEXT_PUBLIC_METABASE_SECRET_KEY }}

metabase:
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ services:
- NEXT_PUBLIC_BASE_URL=https://contrat.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_BASE_HOST=contrat.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_METABASE_URL=https://contrat.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_METABASE_SECRET_KEY={{ vault[env_type].NEXT_PUBLIC_METABASE_SECRET_KEY }}

metabase:
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ services:
- NEXT_PUBLIC_BASE_URL=https://contrat-recette.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_BASE_HOST=contrat-recette.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_METABASE_URL=https://contrat-recette.apprentissage.beta.gouv.fr
- NEXT_PUBLIC_METABASE_SECRET_KEY={{ vault[env_type].NEXT_PUBLIC_METABASE_SECRET_KEY }}

metabase:
environment:
Expand Down
961 changes: 473 additions & 488 deletions .infra/ansible/roles/setup/vars/main/vault.yml

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion .infra/cegedim/pdigi/env-recette-cegedim.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ services:
- NEXT_PUBLIC_BASE_URL=https://{{ hostname }}
- NEXT_PUBLIC_BASE_HOST={{ hostname }}
- NEXT_PUBLIC_METABASE_URL=https://{{ hostname }}
- NEXT_PUBLIC_METABASE_SECRET_KEY={{ vault.NEXT_PUBLIC_METABASE_SECRET_KEY }}

metabase:
image: metabase/metabase:v0.42.0
Expand Down
1 change: 0 additions & 1 deletion .infra/cegedim/pdigi/env-recette-klee.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ services:
- NEXT_PUBLIC_BASE_URL=https://{{ hostname }}
- NEXT_PUBLIC_BASE_HOST={{ hostname }}
- NEXT_PUBLIC_METABASE_URL=https://{{ hostname }}
- NEXT_PUBLIC_METABASE_SECRET_KEY={{ vault.NEXT_PUBLIC_METABASE_SECRET_KEY }}

metabase:
image: metabase/metabase:v0.42.0
Expand Down
1 change: 0 additions & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ services:
- NEXT_PUBLIC_BASE_URL=http://localhost
- NEXT_PUBLIC_BASE_HOST=localhost
- NEXT_PUBLIC_METABASE_URL=https://contrat.apprentissage.beta.gouv.fr/
- NEXT_PUBLIC_METABASE_SECRET_KEY=
- SKIP_PREFLIGHT_CHECK=true

server:
Expand Down
3 changes: 1 addition & 2 deletions ui/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ NEXT_PUBLIC_ENV=dev
NEXT_PUBLIC_BASE_URL=http://localhost
NEXT_PUBLIC_BASE_HOST=localhost
NEXT_PUBLIC_METABASE_URL=https://contrat.apprentissage.beta.gouv.fr/
NEXT_PUBLIC_METABASE_SECRET_KEY=secret
SKIP_PREFLIGHT_CHECK=true
SKIP_PREFLIGHT_CHECK=true
6 changes: 1 addition & 5 deletions ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ ARG NEXT_PUBLIC_ENV
ARG NEXT_PUBLIC_BASE_URL
ARG NEXT_PUBLIC_BASE_HOST
ARG NEXT_PUBLIC_METABASE_URL
ARG NEXT_PUBLIC_METABASE_SECRET_KEY
ENV NEXT_PUBLIC_ENV=$NEXT_PUBLIC_ENV
ENV NEXT_PUBLIC_BASE_URL=$NEXT_PUBLIC_BASE_URL
ENV NEXT_PUBLIC_BASE_HOST=$NEXT_PUBLIC_BASE_HOST
ENV NEXT_PUBLIC_METABASE_URL=$NEXT_PUBLIC_METABASE_URL
ENV NEXT_PUBLIC_METABASE_SECRET_KEY=$NEXT_PUBLIC_METABASE_SECRET_KEY

RUN yarn build

Expand Down Expand Up @@ -60,13 +58,11 @@ ARG NEXT_PUBLIC_ENV
ARG NEXT_PUBLIC_BASE_URL
ARG NEXT_PUBLIC_BASE_HOST
ARG NEXT_PUBLIC_METABASE_URL
ARG NEXT_PUBLIC_METABASE_SECRET_KEY
ENV NEXT_PUBLIC_ENV=$NEXT_PUBLIC_ENV
ENV NEXT_PUBLIC_BASE_URL=$NEXT_PUBLIC_BASE_URL
ENV NEXT_PUBLIC_BASE_HOST=$NEXT_PUBLIC_BASE_HOST
ENV NEXT_PUBLIC_METABASE_URL=$NEXT_PUBLIC_METABASE_URL
ENV NEXT_PUBLIC_METABASE_SECRET_KEY=$NEXT_PUBLIC_METABASE_SECRET_KEY

ENV PORT 3000

CMD ["node", "server.js"]
CMD ["node", "server.js"]
2 changes: 0 additions & 2 deletions ui/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ ARG NEXT_PUBLIC_ENV
ARG NEXT_PUBLIC_BASE_URL
ARG NEXT_PUBLIC_BASE_HOST
ARG NEXT_PUBLIC_METABASE_URL
ARG NEXT_PUBLIC_METABASE_SECRET_KEY
ENV NEXT_PUBLIC_ENV=$NEXT_PUBLIC_ENV
ENV NEXT_PUBLIC_BASE_URL=$NEXT_PUBLIC_BASE_URL
ENV NEXT_PUBLIC_BASE_HOST=$NEXT_PUBLIC_BASE_HOST
ENV NEXT_PUBLIC_METABASE_URL=$NEXT_PUBLIC_METABASE_URL
ENV NEXT_PUBLIC_METABASE_SECRET_KEY=$NEXT_PUBLIC_METABASE_SECRET_KEY

EXPOSE 3000
CMD yarn docker-dev
3 changes: 0 additions & 3 deletions ui/components/Layout/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ const Footer = () => {
<ListItem _after={{ content: "'|'", marginLeft: "0.5rem", marginRight: "0.5rem" }}>
<Link href={"/cookies"}>Gestion des cookies</Link>
</ListItem>
<ListItem _after={{ content: "'|'", marginLeft: "0.5rem", marginRight: "0.5rem" }}>
<Link href={"/stats"}>Statistiques</Link>
</ListItem>
<ListItem _after={{ content: "'|'", marginLeft: "0.5rem", marginRight: "0.5rem" }}>
<Link href={"/assistance"}>Assistance</Link>
</ListItem>
Expand Down
73 changes: 0 additions & 73 deletions ui/pages/stats.jsx

This file was deleted.

0 comments on commit 5907549

Please sign in to comment.