0.51.0
Note about upgrading CDS
You have to install version 0.50.0 or newer if you want to upgrade your CDS Instance from a version < 0.50.0 to this newer version.
When you are upgrading CDS:
- backup your database before any operation
- run the database migration, documentation on https://ovh.github.io/cds/hosting/database/
- after running the API, check if there is no error on migration, with cdsctl admin migration list
Notable Changes in version 0.51
More info on https://ovh.github.io/cds/hosting/upgrade/migrate_0.51/
Note that the presentation framework is being migrated (from ng-semantic to ng-zero).
Features
- add rbac middleware system (#6103) (fce41f8), closes #6103
- api,cdsctl: remove group and project permission import (#6068) (ab62f66), closes #6068
- api,cli: remove old /mon/errors admin route (#6064) (2b56b04), closes #6064
- api,ui: rm jabb notifications (#6036) (3016fac), closes #6036
- api,vcs: use new vcs project (#6160) (c5cd38f), closes #6160
- api: add checks for workflow groups (#6077) (f260e1e), closes #6077
- api: add pipeline name to event job summary (#6106) (2876a3c), closes #6106
- api: check consumer service definition on signin (#6119) (3f02930), closes #6119
- api: compare hatchery and job region for register (#6156) (152dda5), closes #6156
- api: do not consider service as admin or maintainer (#6121) (3a70613), closes #6121
- api: don't send event to public event integrations (#6066) (008ec54), closes #6066
- api: feed a specific kafka topic with jobs (#6070) (c7080c4), closes #6070
- api: handle RSA key rollover (#6154) (a28b9d2), closes #6154
- api: hatchery config property IgnoreJobWithNoRegion on consumer (#6162) (b2b2dbc), closes #6162
- api: log new session with mfa (#6151) (607c015), closes #6151
- api: maintenance allow worker and service calls (#6163) (386edb1), closes #6163
- api: same checks for project and workflow permissions (#6092) (38e5730), closes #6092
- api: silently remove duplicate hooks (#6116) (5a33878), closes #6116
- cdn,sdk,cdsctl: remove old artifacts engine (#6117) (23e0866), closes #6117
- cdsctl,sdk: manage vcs on projects (#6132) (d3c2b12), closes #6132
- delete ratio service option (#6099) (b4967bd), closes #6099
- docs: add example of ascode artifact_manager integration (#6139) (67d92cb), closes #6139
- go 1.18 (eb47ae1)
- hatchery:k8s: set memory and CPU limits for workers and services (#6187) (2e8f30c), closes #6187
- hatchery:k8s: worker config as secret (#6105) (f0e0d92), closes #6105
- hatchery:openstack: default api is v3 (#6144) (6afd8ae), closes #6144
- sdk: improve luascript performance (#6138) (d9edaeb), closes #6138
- sdk: return error messages on ascode import (#6165) (0c58c4b), closes #6165
- sdk: ternary, urlencode, dirname, basename interpolate helper (#6057) (df7bcf9), closes #6057
- ui,cli: set service (name, type, region) on new consumer (#6118) (a73cbcb), closes #6118
- ui: upgrade from angular 11 to angular 13 (#6082) (88119af), closes #6082
- worker: multiline job variable to one line environment variable (#6071) (59f84be), closes #6071
- worker: show running worker hooks in job spawn info (#6174) (eb4c592), closes #6174
Bug Fixes
- api: check name pattern on postProjectIntegrationHandler (#6169) (9aa776a), closes #6169
- api: do not export encrypted placeholder (#6148) (a50c704), closes #6148
- api: don't change workflow permission for as-code (#6090) (b9151b4), closes #6090
- api: getWorkerModelSecretHandler permission (#6141) (e80eb41), closes #6141
- api: hooks uservice calls getWorkflowRunHandler (#6134) (f9a5b4d), closes #6134
- api: include repo type for run result unicity (#6184) (dc7444b), closes #6184
- api: inherit parent status for join and fork (#6186) (70e3ef9), closes #6186
- api: let hooks call getWorkflowJobHookDetailsHandler (#6143) (7d031e4), closes #6143
- api: load missing fields from app deployment strategies (#6140) (5f4b6c5), closes #6140
- api: new session with mfa log info (#6170) (edb9ff8), closes #6170
- api: raise error if git.branch and git.tag are set (#6104) (bf5d1b7), closes #6104
- api: same run result with different type (#6158) (6e9168d), closes #6158
- api: use final status for pipeline parent parameter (#6164) (7b1dd61), closes #6164
- api: workflow node commits history (#6083) (c679d54), closes #6083
- contrib/artifactory: push build info retry (#6159) (8e3de55), closes #6159
- engine/ui: disable directory listing (#6191) (515b469), closes #6191
- hatchery: log level for hatchery book model (#6190) (a302813), closes #6190
- hatchery:k8s: add delay before pending workers cleanup (#6107) (0030f53), closes #6107
- sdk: ignore invalid notif type (#6153) (156c3cf), closes #6153
- sdk: set worker name max length to 63 characters (#6097) (845efc5), closes #6097
- ui, api: remove import workflow template from URL (#6192) (dfa3c70), closes #6192
- ui: add title on permission tab (#6155) (97a158c), closes #6155
- ui: allow to edit notifications without pipelines (#6111) (3c0a76c), closes #6111
- ui: do not paginate job variables (#6198) (e73fe81), closes #6198
- ui: dropdown height + bookmark trigger (#6161) (fce521f), closes #6161
- ui: project tab initialization done before getting project (#6149) (01792c2), closes #6149
- ui: update to have same button width (#6166) (7fe993a), closes #6166
- vcs: notif bitbucket cloud (#6183) (a070b16), closes #6183
New Contributors
- @toutoen made their first contribution in #6058
- @jqueguiner made their first contribution in #6065
- @louisquentinjoucla made their first contribution in #6057
- @Inozuma made their first contribution in #6095
- @s47roy made their first contribution in #6102
- @quatran made their first contribution in #6146
Full Changelog: 0.50.0...0.51.0