diff --git a/CHANGELOG.md b/CHANGELOG.md index 1765e03b95f95a9de06dbd7db426709770e4b0e1..46216b30ed1343994979fc2c20b7fadfb9a476a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,75 @@ +# 1.0.0 (2024-06-05) + + +* feat!: support environment auto-stop ([7dd65d4](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/7dd65d45c8d71937f2f414b0b1b7f7d22854ed13)) + + +### Bug Fixes + +* "Add registry name in all Docker images" ([ef89e38](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/ef89e38bbe5e116effc96464c6deb351e90c63cb)) +* **authent:** support text or file variable for Kubeconfig ([ce10ca3](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/ce10ca3efdf42fb1236a4eb286cd9135ccfb8796)) +* conflict between vault and scoped vars ([ed07480](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/ed074803fa0998586bd27d0c1c76eed35c069123)) +* declare all TBC stages ([a6212ac](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/a6212acf238f239f85cd84242408fb3beb5cc99d)) +* disable shellcheck rule ([5cf7f4e](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/5cf7f4e98e689b02ff7ae765e24caa924c141725)) +* enforce AUTODEPLOY_TO_PROD as boolean variable ([154ca7a](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/154ca7aca56b19dbf8b0c926545f6ff271f9de67)) +* envsubst when variable contains a '&' ([33469c8](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/33469c8c1d37713bf41eb9bfceb23366aa135744)) +* execute hook scripts with shebang shell ([9eac25d](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/9eac25d9e41d46b7522dd7ea25eee5ee61c8f667)) +* Export 'awkenvsubst' function ([fe768a1](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/fe768a1dfd43b2673247cd5a331065b1d251671b)), closes [#18](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/issues/18) +* hanging awk script ([c658c4a](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/c658c4aa8d2664f2f78952ad53abb3a415d084a3)) +* improved logging kubectl apply even on cleanup job ([178892e](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/178892e71402b34059b4fe1c356bc982620e112a)) +* **KUBECONFIG:** select to the given KUBE_CONTEXT if provided ([c31371c](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/c31371c7a61a770b3ecb34c17ef7f932f18fb033)) +* launch score on generated manifest file ([17b5d05](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/17b5d051688a3714b360df3ab34ec6f028209fb6)) +* non-blocking warning in case failed decoding [@url](https://git.code.tecnalia.com/url)@ variable ([162cd38](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/162cd380229369f8cf7aa865e8db8d807b5e3b54)) +* permission problem on chmod ([ce2012e](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/ce2012e497a339ead6ab356fb944fc49a7b5e399)) +* preserve priority even when mixing .yml and .yaml extensions ([078019d](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/078019da75e03111413dd986b5695b8b3bfeb5c2)) +* **score:** declare package-test stage ([bc5c7fa](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/bc5c7fa690bbf9c855e70d7dca75278a2e2e7211)) +* **score:** move kubescore to 'package-test' stage (if package variables used in manifests) ([a6e07eb](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/a6e07eb9ebb5ef66e969e7f640534fcb4bef41da)) +* set ENV_VAR_SUFFIX on cleanup ([78f1025](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/78f10257b5bd873f1fa606fdb6c61ed7df460f6b)) +* skip k8s-jobs when *_SPACE variables are empty ([83404bf](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/83404bf4cccfd113b3e7daf7adb657e70e0c3b1a)) +* use master or main for production env ([0822400](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/0822400ecd6c4965c3ba23d06b88c925497d7017)) +* use namespace from template vars ([1e326c1](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/1e326c11b7455561e5fd419685505a2ca03394eb)) +* use zegl/kube-score:latest by default ([2cb02bd](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/2cb02bd435419bc1624252a2dffb699f826a542b)) +* vault variant ([a484505](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/a484505184ab50ea958af488db06cb498c267dc1)) +* **vault:** revert Vault JWT authentication not working ([4ee0725](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/4ee0725c38c572842efcece1ba37bb5747ac0533)) +* **vault:** use vault-secrets-provider's "latest" image tag ([6c2cdae](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/6c2cdaedeea13e761de7fd80cc5207617f8a84d9)) +* **workflow:** disable MR pipeline from prod & integ branches ([ef6f248](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/ef6f248b4c213e48cf5f254baadcbea1f94d03bf)) + + +### Features + +* adaptive pipeline ([863412f](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/863412f5ea8e2812ded6e7578045ca382fd94657)) +* add $k8s_namespace ctx variables ([029fb9c](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/029fb9cbca23c0e678ac9bca84e115c28e18879f)) +* add scoped variables support ([f2c8894](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/f2c8894eb1f8d73fa7d37a93553a3f3b50f670f9)) +* allow propagate custom output variables ([55d0eb9](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/55d0eb94cc2a6769bb04b16cd108a76cd4ac8fea)) +* apply kustomize independently and allow setting ARGS ([d124593](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/d1245931d4dd96570412eecadd9418cd78405c1f)) +* Change boolean variable behaviour ([3bd6a03](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/3bd6a03f63f3083d6982d37f3bada6cc9cd8c08c)) +* configurable tracking image ([75e5cc5](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/75e5cc5b516fa5023fea26241403fa03e37d2f18)) +* **deploy:** redesign deployment strategy ([383ed88](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/383ed88accb5a9cb4761dfe06c33b6a16b06003e)) +* enable kustomize support ([3ad8b84](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/3ad8b84a4e626273a6c03af2dc98e834ac8cc234)) +* enforce AUTODEPLOY_TO_PROD and PUBLISH_ON_PROD as boolean variables ([5d3c5a5](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/5d3c5a5ced96306d20d1ab8cbc070c5da4f16798)) +* initial release ([885caed](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/885caed8b3063252d72abbdb568f40a59e99585e)) +* keyword to prevent variables substitution ([24fa867](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/24fa8674c4e9a5e15a08aede8f731957bc4535eb)) +* move group ([0042198](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/0042198c0f6e5c14877f5693b986dc778d9b5fef)) +* **oidc:** OIDC authentication support now requires explicit configuration (see doc) ([26e059e](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/26e059efa2a292f8c3f40e79e0a76b64421a0112)) +* **score:** run score against cascading environments ([07dbbae](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/07dbbae7ca8491df422b1e78b11857dd5ba3bd9a)) +* support dynamic env url ([0e97232](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/0e97232acd6700b28e33de2caf92c12a7d7aa473)) +* support multi-lines environment variables substitution ([bc2f8d5](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/bc2f8d58ccdef31bd66afb845f8877007e91f026)) +* use centralized service images (gitlab.com) ([687e5c7](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/687e5c76e905057b072b3f4b3ed74dfa78a1936e)) +* **vault:** configurable Vault Secrets Provider image ([1280d8a](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/1280d8a95a7de7b02efbcd15ab4939a2743ebcef)) +* **workflow:** extend (skip ci) feature ([0a544fc](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kubernetes/commit/0a544fc8aaa044f457d29cf70c0139ef30489bee)) + + +### BREAKING CHANGES + +* now review environments will auto stop after 4 hours +by default. Configurable (see doc). +* **oidc:** OIDC authentication support now requires explicit configuration (see doc) +* **deploy:** $AUTODEPLOY_TO_PROD no longer supported (replaced by $K8S_PROD_DEPLOY_STRATEGY - see doc) +* change default workflow from Branch pipeline to MR pipeline +* boolean variable now triggered on explicit 'true' value + +Signed-off-by: Cédric OLIVIER <cedric3.olivier@orange.com> + ## [6.1.4](https://gitlab.com/to-be-continuous/kubernetes/compare/6.1.3...6.1.4) (2024-06-02)