Skip to content

Commit

Permalink
1.0.0 Alpha (#373)
Browse files Browse the repository at this point in the history
* feat(infra): logger module (#366)

* chore(release): version 1.0.0-alpha.2

# [1.0.0-alpha.2](v1.0.0-alpha.1...v1.0.0-alpha.2) (2021-03-24)

### Bug Fixes

* **alert:** add console arount sending contributions ([#309](#309)) ([f797d2a](f797d2a))
* **alert:** increase alert storage space ([#337](#337)) ([7b5acfa](7b5acfa))
* **alerts:** allow git clone to fail ([#343](#343)) ([ea9935c](ea9935c))
* **alerts:** remove volume ([#338](#338)) ([50f18b7](50f18b7))
* **ci:** fix restore job initContainer ([#310](#310)) ([a35412f](a35412f))
* **deps:** update all dependencies ([#293](#293)) ([1a61f15](1a61f15))
* **deps:** update all dependencies ([#314](#314)) ([83671ca](83671ca))
* **deps:** update all dependencies ([#349](#349)) ([2304439](2304439))
* **deps:** update all non-major dependencies ([#300](#300)) ([c45bba6](c45bba6))
* **deps:** update all non-major dependencies (minor) ([#294](#294)) ([c6e900b](c6e900b))
* **deps:** update all non-major dependencies (minor) ([#350](#350)) ([394bbd0](394bbd0))
* **deps:** update sentry monorepo to v6 ([#295](#295)) ([dd33efb](dd33efb))
* **frontend:** add ref to relevant content ([#340](#340)) ([8b1346a](8b1346a)), closes [#321](#321)
* **frontend:** re-orgnaize imports for ace-editor ([#325](#325)) ([a33ac61](a33ac61)), closes [#326](#326)
* **frontend:** reove cdt and dulpicate contribution from /contenus ([#345](#345)) ([d471d1c](d471d1c)), closes [#305](#305)
* **frontend:** update fiches service-public view ([#361](#361)) ([7a54a73](7a54a73))
* **hasura:** fix migrations ([#342](#342)) ([63a0463](63a0463))
* **ingest:** lower nb of documents to ingest ([#316](#316)) ([5b2c30f](5b2c30f))
* **ingester:** handle legifrance new url style ([#334](#334)) ([7ecf74b](7ecf74b))
* **ingester:** update package data even if not present in the database ([#328](#328)) ([fa807d4](fa807d4))
* **ingester:** use kaliblock from admin ([#362](#362)) ([56f41bb](56f41bb))
* **restore:** fix for legacy db password ([#313](#313)) ([79d93ae](79d93ae))

### Features

* **infra:** logger module ([#366](#366)) ([442a8f7](442a8f7))
* add handle service-public.fr ([#359](#359)) ([da92296](da92296))
* **alert:** add a tooltip to show the CCN title ([#347](#347)) ([724dc08](724dc08))
* **alert:** fiches SP diff ([#312](#312)) ([c3558af](c3558af))
* **frontend:** add confirmation before update docs published status ([#353](#353)) ([eb3525f](eb3525f))
* **frontend:** add prequalified requests ([#277](#277)) ([4fa383b](4fa383b))
* **frontend:** fix multiple auth ([#358](#358)) ([b662ec0](b662ec0))
* **frontend:** handle unthemed documents ([#287](#287)) ([9ba8502](9ba8502))
* **hasura:** add audit tables ([#329](#329)) ([4dafe99](4dafe99))
* **hasura:** remove old alerts ([#339](#339)) ([ac649ad](ac649ad))

* fix(release): add infra to release assets

* chore(release): version 1.0.0-alpha.3

# [1.0.0-alpha.3](v1.0.0-alpha.2...v1.0.0-alpha.3) (2021-03-24)

### Bug Fixes

* **release:** add infra to release assets ([205c3b3](205c3b3))

* fix(release): make @socialgouv/cdtn-logger public 🎉

* chore(release): version 1.0.0-alpha.4

# [1.0.0-alpha.4](v1.0.0-alpha.3...v1.0.0-alpha.4) (2021-03-24)

### Bug Fixes

* **release:** make @socialgouv/cdtn-logger public 🎉 ([facc562](facc562))

* chore(husky): precommit and prepush (#365)

* fix(frontend): remove old legifrance beta url (#367)

* fix(release): add npm token to gitlab pipeline

* chore(release): version 1.0.0-alpha.5

# [1.0.0-alpha.5](v1.0.0-alpha.4...v1.0.0-alpha.5) (2021-03-24)

### Bug Fixes

* **frontend:** remove old legifrance beta url ([#367](#367)) ([c4d5018](c4d5018))
* **release:** add npm token to gitlab pipeline ([3355c3d](3355c3d))

* fix(release): provide an NPM_TOKEN somehow

* chore(release): version 1.0.0-alpha.6

# [1.0.0-alpha.6](v1.0.0-alpha.5...v1.0.0-alpha.6) (2021-03-24)

### Bug Fixes

* **release:** provide an NPM_TOKEN somehow ([68bd0a4](68bd0a4))

* feat(infra): elasticsearch module (#369)

* chore(release): version 1.0.0-alpha.7

# [1.0.0-alpha.7](v1.0.0-alpha.6...v1.0.0-alpha.7) (2021-03-24)

### Features

* **infra:** elasticsearch module ([#369](#369)) ([1f35e9c](1f35e9c))

* fix(release): ensure to have the logger libs before releases

* chore(release): version 1.0.0-alpha.8

# [1.0.0-alpha.8](v1.0.0-alpha.7...v1.0.0-alpha.8) (2021-03-24)

### Bug Fixes

* **release:** ensure to have the logger libs before releases ([14557b4](14557b4))

* fix(release): provide an logger libs somehow

* chore(release): version 1.0.0-alpha.9

# [1.0.0-alpha.9](v1.0.0-alpha.8...v1.0.0-alpha.9) (2021-03-24)

### Bug Fixes

* **release:** provide an logger libs somehow ([1277748](1277748))

* fix(release): allow some dependencies

* chore(release): version 1.0.0-alpha.10

# [1.0.0-alpha.10](v1.0.0-alpha.9...v1.0.0-alpha.10) (2021-03-24)

### Bug Fixes

* **release:** allow some dependencies ([d630050](d630050))

* feat(modules): ingester module  (#370)

* feat(modules): ingester module

* rename

* fix gitlab

* fix path

* fix test

* fix crap

* ci(gitlab): missing module/ingester on target build

* ci(gitlab): corrent shared/elasticsearch-document-adapter artifact path

* remove

Co-authored-by: LionelB <lionel@lumographe.fr>

* refactor: replace console.log with logger

* add plna de contenue

* fix import plan de contenue

* build(k8s): deploy ingester-elasticsearch job (#372)

Co-authored-by: LionelB <lionel@lumographe.fr>

* fix(ingester): allow url for external doc

* ci(gitlab): update to autodevops 20.7.14 (#374)

Co-authored-by: Julien Bouquillon <julien.bouquillon@sg.social.gouv.fr>

* build(k8s): update snapshot

* chore(husky): diff with alpha for now

* ci: add description in sitemap job for BASE_URL

* ci(gitlab): disable kapp

* fix: BASE_URL

* remove pre filled var

* fix(release): force patch

* ci: needs stop review

* fix(ingester): rename yarn cli to yarn start

* build(k8s): strange volume behavior

* ci: allow failure

* update allow failure

* build(k8s): strange volume behavior

* ci(gitlab): try to run restore once

* build(k8s): add ingester.sealed-secret

* ci: allow failure

* ci(gitlab): remove alert from triggered release

* ci(gitlab): remove alert from triggered release (2)

* chore(release): version 1.0.0-alpha.11

# [1.0.0-alpha.11](v1.0.0-alpha.10...v1.0.0-alpha.11) (2021-03-30)

### Bug Fixes

* **ingester:** rename yarn cli to yarn start ([9117484](9117484))
* **release:** force patch ([fba1522](fba1522))
* BASE_URL ([f170db5](f170db5))
* **frontend:** handle jwt parsing error ([#376](#376)) ([c455ceb](c455ceb))
* **frontend:** remove old legifrance beta url ([#367](#367)) ([bc572a5](bc572a5))
* **hasura:** improve trigger management ([#368](#368)) ([73d8baf](73d8baf)), closes [#363](#363)
* **ingester:** allow url for external doc ([3036d35](3036d35))

### Features

* **modules:** ingester module  ([#370](#370)) ([96118cc](96118cc))

* ci(gitlab): custome triggered release pipe

* Revert "ci(gitlab): custome triggered release pipe"

This reverts commit f0cbca9.

* update sealed secret

* build(k8s): strange missing ingester.sealed-secret

* build(k8s): strange missing ingester.sealed-secret (2)

* fix(release): force patch

* chore(release): version 1.0.0-alpha.12

# [1.0.0-alpha.12](v1.0.0-alpha.11...v1.0.0-alpha.12) (2021-03-30)

### Bug Fixes

* **release:** force patch ([1b5abd8](1b5abd8))

* update token

* fix(release): force patch

* ci(database): move restore to post pipeline stage

* chore(release): version 1.0.0-alpha.13

# [1.0.0-alpha.13](v1.0.0-alpha.12...v1.0.0-alpha.13) (2021-03-31)

### Bug Fixes

* **release:** force patch ([6bcd9c5](6bcd9c5))

* ci(database): move restore to post pipeline stage (2)

* perf(gitlab): temporally use alpha as fallback branch

* ci(database): move restore to post pipeline stage (3)

* ci(gitlab): trigger job if k8s test ok

* build(k8s): strange missing ingester.sealed-secret (42) 🎯

* fix(release): force patch

* chore(release): version 1.0.0-alpha.14

# [1.0.0-alpha.14](v1.0.0-alpha.13...v1.0.0-alpha.14) (2021-03-31)

### Bug Fixes

* **release:** force patch ([c5bef1c](c5bef1c))

### Performance Improvements

* **gitlab:** temporally use alpha as fallback branch ([b2c8c9a](b2c8c9a))

* ci: update secrets

* update k8s snap

* revert(gitlab): cache from yarn.lock

* ci(gitlab): reorder job keys

* ci(gitlab): rework ingester install

* fix(release): force patch

* ci(gitlab): try to restore once (#377)

Co-authored-by: Julien Bouquillon <julien.bouquillon@sg.social.gouv.fr>
Co-authored-by: Lionel <lionel.breduillieard@beta.gouv.fr>

* udpate elastic token doc

* update index name

* ci(gitlab): try to restore once with short label (#380)

* ci(gitlab): log and wait for ingester-elasticsearch job (#379)

* ci(gitlab): log and wait for ingester-elasticsearch job

* fix(gitlab): kubectl is not a yarn run script...

* fix(gitlab): indirectly correct the environment slug

* build(k8s): update ingester-elasticsearch prod secrets

* feat(frontend): use hasura action for pipelines (#378)

* fix(release): force patch

* ci(gitlab): missing needs in production

* fix:external urls

* chore(release): version 1.0.0-alpha.15

# [1.0.0-alpha.15](v1.0.0-alpha.14...v1.0.0-alpha.15) (2021-03-31)

### Bug Fixes

* **release:** force patch ([08d658e](08d658e))
* **release:** force patch ([f5f1d42](f5f1d42))

### Features

* **frontend:** use hasura action for pipelines ([#378](#378)) ([2543af4](2543af4))

### Reverts

* **gitlab:** cache from yarn.lock ([f24ebb3](f24ebb3))

* emoji

* emojiiii

* meh

* update emoji

* rename

* build(k8s): add sitemap-uploader secrets (#390)

* ci(gitlab): stop reviewe should ignore errors

* ci(gitlab): stop reviewe should ignore errors (2)

* test: generate prerprod with preprod env

* fix(release): force patch

* ci(gitlab): update to v21.0.0 autodevops with TRIGGER beauty (#391)

Co-authored-by: Douglas DUTEIL <douglasduteil@gmail.com>

* fix(release): force patch

* chore(release): version 1.0.0-alpha.16

# [1.0.0-alpha.16](v1.0.0-alpha.15...v1.0.0-alpha.16) (2021-04-01)

### Bug Fixes

* **release:** force patch ([394e7b7](394e7b7))
* **release:** force patch ([1568d10](1568d10))

* fix(k8s): prod secrets (#393)

* chore(release): version 1.0.0-alpha.17

# [1.0.0-alpha.17](v1.0.0-alpha.16...v1.0.0-alpha.17) (2021-04-01)

### Bug Fixes

* **k8s:** prod secrets ([#393](#393)) ([73354fd](73354fd))

* ci: allow manual ingest on tag

* build(k8s): make the restore db use preprod db on preprod (#395)

* fix(release): force patch

* chore(release): version 1.0.0-alpha.18

# [1.0.0-alpha.18](v1.0.0-alpha.17...v1.0.0-alpha.18) (2021-04-01)

### Bug Fixes

* **release:** force patch ([765c0fc](765c0fc))

* build(k8s): provide the pgdatabase to the admin in prerprod

* fix(release): force patch

* chore(release): version 1.0.0-alpha.19

# [1.0.0-alpha.19](v1.0.0-alpha.18...v1.0.0-alpha.19) (2021-04-01)

### Bug Fixes

* **release:** force patch ([3e44514](3e44514))

* fix(ci): ingester secrets (#396)

* chore(release): version 1.0.0-alpha.20

# [1.0.0-alpha.20](v1.0.0-alpha.19...v1.0.0-alpha.20) (2021-04-02)

### Bug Fixes

* **ci:** ingester secrets ([#396](#396)) ([d1f87e5](d1f87e5))

* build(k8s): remove null namespaces (#392)

* ci(gitlab): remove kapp from stop env (#394)

* fix(frontend): force storage container on api (#398)

* fix(frontend): force storage container on api

* Update targets/frontend/src/pages/fichiers.js

Co-authored-by: Julien Bouquillon <julien.bouquillon@sg.social.gouv.fr>

* fix: add misseng env to config map

* fix(k8s): update snap

Co-authored-by: Julien Bouquillon <julien.bouquillon@sg.social.gouv.fr>

Co-authored-by: Social Groovy Bot <45039513+SocialGroovyBot@users.noreply.github.com>
Co-authored-by: Lionel <lionel.breduillieard@beta.gouv.fr>
Co-authored-by: LionelB <lionel@lumographe.fr>
Co-authored-by: Julien Bouquillon <julien.bouquillon@sg.social.gouv.fr>
  • Loading branch information
5 people committed Apr 6, 2021
1 parent c455ceb commit 1293722
Show file tree
Hide file tree
Showing 203 changed files with 73,780 additions and 1,322 deletions.
20 changes: 12 additions & 8 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,37 @@
##
PUBLICATION_WEBHOOK_URL=http://host.docker.internal:3000/api/webhooks/publication
API_URL=http://host.docker.internal:3000/api
HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/postgres
HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_NO_OF_RETRIES=5
HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT=10
HASURA_GRAPHQL_UNAUTHORIZED_ROLE=public

##
## frontend secrets
##

GITLAB_ACCESS_TOKEN = <your-token>
GITLAB_TRIGGER_TOKEN = <your-token>

AZURE_STORAGE_ACCOUNT_KEY=accountKey
AZURE_STORAGE_ACCOUNT_NAME=cdtnadmindev

SMTP_URL=smtp.url
SMTP_EMAIL_USER=email
SMTP_EMAIL_PASSWORD=pass

AZURE_STORAGE_ACCOUNT_KEY=accountKey
AZURE_STORAGE_ACCOUNT_NAME=cdtnadmindev
STORAGE_CONTAINER=cdtn-dev

##
## Shared secret between hasura and frontend
##

# Hasura
HASURA_GRAPHQL_ADMIN_SECRET=admin1
HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/postgres
HASURA_GRAPHQL_ENABLED_LOG_TYPES=startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_JWT_SECRET={"type": "HS256", "key": "a_pretty_long_secret_key_that_should_be_at_least_32_char"}
HASURA_GRAPHQL_NO_OF_RETRIES=5
HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT=10
HASURA_GRAPHQL_UNAUTHORIZED_ROLE=public

# webhook & action
ACTIONS_SECRET=a random string that will be verify when calling the webhook
PUBLICATION_SECRET=a random string that will be verify when calling the webhook

NEXT_PUBLIC_CONTAINER_NAME=cdtn-dev
Loading

0 comments on commit 1293722

Please sign in to comment.