Closed renovate[bot] closed 3 years ago
Merging #65 (8abf331) into master (057d3a7) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #65 +/- ##
=======================================
Coverage 84.37% 84.37%
=======================================
Files 3 3
Lines 32 32
Branches 6 6
=======================================
Hits 27 27
Misses 4 4
Partials 1 1
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 9bdcf79...8abf331. Read the comment docs.
:tada: This PR is included in version 1.8.7 :tada:
The release is available on:
v1.8.7
Your semantic-release bot :package::rocket:
This PR contains the following updates:
^8.0.3
->^9.0.0
Release Notes
SocialGouv/kosko-charts
### [`v9.0.0`](https://togithub.com/SocialGouv/kosko-charts/blob/master/CHANGELOG.md#900-httpsgithubcomSocialGouvkosko-chartscomparev811v900-2021-07-29) [Compare Source](https://togithub.com/SocialGouv/kosko-charts/compare/v8.1.1...v9.0.0) - feat(azure-pg)!: use one database per branch ([#624](https://togithub.com/SocialGouv/kosko-charts/issues/624)) ([a0883a3](https://togithub.com/SocialGouv/kosko-charts/commit/a0883a3df670349d11f9902faeb9c83b5d87d993)), closes [#624](https://togithub.com/SocialGouv/kosko-charts/issues/624) ##### BREAKING CHANGES - Our create database component is now creating one database per branch Previously our `@socialgouv/kosko-charts/components/azure-pg` component was creating one database per commit. As it happen to be a rare need at [@SocialGouv](https://togithub.com/SocialGouv), we now switch to one database per branch. - Unify commen `pg.ts` component use under the same function Previously our `@socialgouv/kosko-charts/components/azure-pg` component was only handling the "dev"/"review" use case where we have to create the database and the user ourself. This ends up putting on the user land the responsibility of manually loading a sealedsecret in other case. As it happen to be a common need at [@SocialGouv](https://togithub.com/SocialGouv), we now deal with loading the file our creating the database as before if the named file does not exist. ```diff import env from "@kosko/env"; -import type { SealedSecret } from "@kubernetes-models/sealed-secrets/bitnami.com/v1alpha1/SealedSecret"; import { create } from "@socialgouv/kosko-charts/components/azure-pg"; -import environments from "@socialgouv/kosko-charts/environments"; -import { loadYaml } from "@socialgouv/kosko-charts/utils/getEnvironmentComponent"; -import { updateMetadata } from "@socialgouv/kosko-charts/utils/updateMetadata"; +export default create("pg-user", { + env, +}); -export default async (): Promise<{ kind: string }[]> => { - if (env.env === "dev") { - return create({ - env, - }); - } - - // in prod/preprod, we try to add a fixed sealed-secret - const secret = await loadYamlConfiguration
📅 Schedule: "before 3am on the first day of the month" in timezone Europe/Paris.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.