0.48.1 (2021-03-23)
Note about upgrading CDS
You have to install version 0.46.0 or newer if you want to upgrade your CDS Instance from a version < 0.46 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
- follow the migration guide for CDN service https://ovh.github.io/cds/hosting/upgrade/migrate_0.48/
Notable Changes in version 0.48
CDN service
The release 0.48.0 introduced a new CDS service called CDN. This service is dedicated to receive and store CDS’s job logs.
We created this service to be able to move out job's logs from CDS database to an object storage provider.
In this release, logs are stored both in CDN storage units and CDS database to facilitate migration. Old log data and database table will be removed in a future release.
More info about CDN service at https://ovh.github.io/cds/docs/components/cdn/.
We also completely rework the UI log page to improve logs readability. Thanks to CDN paginated and streaming apis, rendering logs is now faster and efficient.
Workflow Run retention policy (feature preview)
Workflow run retention policy is now expressed with LUA, this allows to define custom rules for workflows. The default rule will keep a run for one year. More information at https://ovh.github.io/cds/docs/concepts/workflow/retention/.
Features
- api: add has_git_branch variable to purge (#5765) (a7cc2bc)
- api: export workflow purge info (#5769) (bf30f99)
- api: improve error for callback repo manager (#5732) (9a35539)
- api: strict variable usage for lua, check result is bool (#5757) (a239e4a)
- api: template skip empty files (#5763) (3475549)
- cdn: remove storage unit (#5729) (9ff91bd)
- cdn: requires at least one storage that is not cds (#5747) (855efde)
- cdsctl: search by commit instead of run number (#5751) (a6d8fe4)
- cli, cdn: database keys rollover (#5771) (eafe13d)
- hatchery: allow to set specific api url for workers (#5773) (25dda4d)
- sdk: add json lib to lua script (#5774) (aaeea69)
- cdn: disable backend synchronization (#5734) (b50d664)
Bug Fixes
- api, ui: run retention policy with feature flipping (#5755) (6a77e84)
- cdn: clean Incoming item without item unit (#5722) (3dc3293)
- cdn: do not select all database for item unit purge (#5739) (97bc1ef)
- cdn: missing default config panic (#5744) (e388c07)
- cdn,api: check workflow access with id, use workflow name from run (#5753) (28fcaed)
- doc: search links (#5725) (2a0f93d)
- engine: download - check config (#5727) (0f356b4), closes #5716
- hatchery: double check flag need registration (#5752) (7adfafa), closes #5750
- ui: use node pipeline parameters from run's workflow data (#5772) (4f55b1a)
- worker: flush graylog hook logs when run or register ends (#5768) (ab7b0b3)
- worker: reduce httpclient timeout and remove some context (#5735) (c61ab8b)
- change error to have more details (#5724) (25a13f2)