CDS v0.39.0 Release Notes

Release Date: 2019-04-19 // about 5 years ago
  • 0.39.0 (2019-04-17)

    ⬆️ Note about upgrading your CDS

    ⬆️ You have to install version 0.38.1 if you want to upgrade your CDS Instance from a version < 0.38 to a newer version.

    📚 When you upgrade a CDS Instance, always run the database migration before, documentation on https://ovh.github.io/cds/hosting/database/

    Notable Changes in version 0.39.x

    🔋 Features

    • api: add git hash short variable auto (#4119) (2369134)
    • api: add type of node on node run event (#4032) (398503b)
    • api: check downloadable binaries on startup (#4061) (16dc370), closes #4059
    • api: metrics about workflow runs purge (9baf85b)
    • api: rm feature flipping on as-code (#4138) (4eb3af3)
    • api,cli, tests: JWT access tokens management with CLI (#3987) (4d81bfc)
    • 👷 api,worker: openstack integration storage (#3900) (c713968)
    • 💻 api,ui: action for groups (#3901) (f2d1fa2)
    • 💻 api,ui: add permission on node and delete permissions on env, app and pipelines (#3902) (f7ab12e)
    • 💻 api,ui: allow to rollback an action from audit (#4036) (6b7aaad)
    • 💻 api,ui: improve gitlab integration (#3973) (e5243ce)
    • 💻 api,ui: run workflow become async (#3999) (acd7a91)
    • cli: project command improvements (#4167) (34ffed0)
    • cli,sdk: add listen cds events (#3994) (63611ae)
    • 🔌 contrib/plugin-venom: v0.24.0 (#3936) (430da43)
    • hachery/k8s: auth parsing to hatchery-k8s (#3961) (1e8a003)
    • sdk: add beginning of sdk in rust (#3940) (fff08b3)
    • 💻 ui: add state management on pipeline page (#3981) (e94c8f6)
    • 💻 ui: add state management on project and application page (#3939) (3545489)
    • 💻 ui: add store on workflow edit page (#4027) (34fba71)
    • vcs: update github vcs provider to use github enterprise (5c5a6d9)
    • vcs: Updated testing to allow for testing GHE, fix bug in api url (e2a7603)
    • 👷 worker: inject environment variables without CDS_ENV prefix (#4073) (ea97b07)
    • 👷 worker: provisioned worker should not take when memory requirements (#4084) (74d7252)
    • 👷 worker: worker download from latest workflow run (#4104) (eb6c007), closes #4095
    • gerrit integration (#3899) (000dd3b)
    • 🔒 lock application/pipeline/environment as code (#4053) (e857bac)
    • ⚡️ update go-repo to v0.1.1 (#4113) (9a90678)√

    🐛 Bug Fixes and improvements

    • api:.workflow params (#4176) (6ae1ff0)
    • api: add git hash short param on manual run (#4140) (ddf14fe)
    • api: add git param with prefix for children (#4189) (43798f0)
    • api: add git.tag in condition name (#4107) (822f355)
    • api: avoid remove VCS if still used by an application (#4111) (7bde753), closes #2610
    • api: cache Publish error logs (#4150) (26ee422)
    • api: check worker model requirements on job processing (#4062) (dce008c), closes #4002
    • api: checks binaries availability on startup (#4083) (315856d)
    • api: clean builtin artifact actions (#4069) (4c2ddf6), closes #4020
    • api: CleanArtifactBuiltinActions migration (#4144) (b39ebac)
    • api: compute permission on application (#3938) (dc9290a)
    • api: copy git params from parents (#4169) (173f46f)
    • api: db errors (#4188) (75cf412)
    • api: delete one workflow run per request (28e2490)
    • api: do not export application, pipeline and environment coming from another repository (#4174) (a3f5a44), closes #4170
    • api: do not export hook in workflow as code (#4052) (71125b0)
    • api: do not migrate worklow run on status pending (#4008) (92c3bb4)
    • api: do not prefix non cds parameters (#4175) (81c39cb)
    • api: do not try to load useless group or audits on jobs (#4031) (fcf66ba)
    • api: don't split requirements model value (#4122) (e33e2c7)
    • api: edit as code worker model with a non-admin user (#4097) (a10545f)
    • api: error inserting UpdateSpawnErrorWorkerModel with UTF8 0x00 (#4072) (b5ac2ad), closes #4055
    • api: fix permission coherence (close #4035) (#4044) (7b5b7b6)
    • api: fix return condition ko AND fix stop migration on locked error (#4043) (53f4565)
    • api: fix set statement timeout option after connect (#4196) (5b5e3c6)
    • api: force workflow runs deletion before worflow deletion (6e1ba6e)
    • api: git.server not send to children (#4181) (d18d84d)
    • api: handle complexe worker model name (#4091) (0da6f78)
    • api: import a workflow containing an app without a repository linked (#4085) (89fe68b)
    • api: import action plugin wihout integration (#4134) (4fad92e)
    • api: import workflow with conditionnal join (#4194) (79043ec)
    • api: interpolate and integer parameters (#3991) (cf87c23)
    • api: invalid payload error is not correctly raised (#4078) (46ae64a)
    • api: IsFreshInstall must check "cds_migration" instead of "user" (1a89870)
    • api: keep the ordering DESC of id to purge (#4145) (a7ef2c8)
    • api: let join trigger automatically even with different subnumber (close #3853) (#4190) (760b20f)
    • api: loadVulnerabilityReport (#3984) (c856c27)
    • api: mark workflow runs to delete before trying to remove workflow (#3949) (79693c7)
    • api: problem with assert on regen test case (#3927) (963451a)
    • api: process metric, negative index (#3976) (a894718)
    • api: purge panic (#3946) (98b35dd)
    • api: purge panic on workflow node deletion (#3948) (8198890)
    • api: purge pipeline audits (#4071) (bfaf236)
    • api: purge workflow audits (#3954) (81a75db)
    • api: raise purge frequency (f2a79ec)
    • api: release book after worker model registration or error (#4064) (4626110), closes #3862
    • api: remove default payload when it's not on root node (#3928) (dee8abd)
    • api: remove gorp database hooks on service table (3ffce6f)
    • api: return hooks info on workflow put (#4148) (85f5218)
    • api: return right commits list (#3970) (1c46aae)
    • api: return right permission for workflow created/updated (#4092) (feceb12)
    • api: returns better error when an application cannot be removed (#4005) (1cd31bd)
    • api: revert privateKey GitClone parameter to string (#4151) (81a9c53)
    • api: run from hook uservice (#4016) (13112b2)
    • api: some fixes about transform to as code (close #4037) (#4158) (e24860d)
    • api: startup logs (#4086) (f471c70)
    • api: triggered variable send to children (#4162) (f354870)
    • api: use new context for async part (#4014) (903a141)
    • api: workflow as code and project variables (#4108) (c2b5255)
    • api: workflow init (push) consider it's coming from the default branch (#4184) (b3df6fa)
    • api: workflow pull renders empty pipelines (#4193) (eca3da9)
    • api,repo: migrate as code (#3978) (16285d4)
    • api,repositories: workflow as code (#4106) (87d8fc1), closes #4098
    • api,hooks: rename workflow as-code (#4147) (f88a996)
    • 💻 api,ui: template audit save error and problem with base64 utf8 (#3956) (21560d9)
    • 💻 api,ui,repositories: as-code migration (#4173) (cbf8fd4), closes #4170
    • cdsctl: debug filters and fields options for list result (#4137) (90aba33)
    • cdsctl: rename duplicated file arg for template bulk cmd (#3986) (b6f202c)
    • chore: bad indenting in persistent volumes (#4007) (5ae0650)
    • cli: application variable argument order (#4070) (1c56670), closes #2503
    • cli: build cdsctl without keychain support (#4066) (2bf5ed4), closes #3962
    • cli: cdsctl cross compilation (#4100) (21149ff)
    • cli: cdsctl version command (#4121) (2916e08)
    • cli: command persistant flags (#4065) (79d2326), closes #3032
    • cli: set ssh key on application in workflow as code init (#4003) (bebf139)
    • cli: workflow init (#4049) (f576337)
    • contrib: delete some useless configurations on helm (#3932) (d0fb495)
    • contrib: delete vulnerabilities of lodash (#3925) (74be27d)
    • contrib: fix postgres dependency condition (#4058) (1ae2ad3)
    • contrib: indentation error in helm (#3933) (b35524c)
    • contrib: use external api endpoint for vcs deployment (#4056) (8cb106b)
    • doc: do not use underscore (#4093) (262be74)
    • engine: environment variables configuration (#3982) (2ab79b8)
    • hatchery/kubernetes: allow empty masterURL if a configFile is provided (#4141) (caf749c)
    • hatchery/local: allow spawn job with req plugin (#4135) (50c1c69)
    • hatchery/openstack: register & disabled (#4011) (c901936)
    • helm: -o does not exist in base image (#4164) (9c80069)
    • helm: config file for api (#4131) (acae6b2)
    • it: use new tag (#3943) (bfe5ad5)
    • migrate: if migration exists in database reuse to update (#4191) (e91a5d1)
    • sdk: add user agent in rust sdk (e7bb8d0)
    • sdk: data can be splitted (#4029) (6c796f3)
    • sdk: do not export default payload in as-code (#4117) (75cf5b6), closes #4116
    • sdk: do not export shared group name (#4046) (ade23df)
    • sdk: handle val struct given to helper for interpolate (#4129) (0734574)
    • sdk: release action http timeout (#4067) (a37c1a1), closes #3926
    • tools/debpacker: add set -e on post install (#4114) (5d63430)
    • 💻 ui: add a pipeline parameter refresh workflows store (#4103) (e7b915c)
    • 💻 ui: add delay to render the workflow (#4087) (fd540ca)
    • 💻 ui: add filter for template list in create workflow page (#4018) (32ff42c)
    • 💻 ui: bug actions with same name in step list, show group name in job steps (#4139) (6af95fe)
    • 💻 ui: change date format + refactor to datatable (#4171) (979938a)
    • 💻 ui: clear workflow cache when needed and don't fetch commits when no num (#4172) (936aa52)
    • 💻 ui: delete broken link in as code modal #4179 (#4180) (2e6aff4)
    • 💻 ui: disable logger on production env (#3969) (a9f1d75)
    • 💻 ui: do not call /mon/metrics (64a1cab)
    • 💻 ui: do not export pipeline and workflows with permissions (#4054) (31766d3)
    • 💻 ui: do not try to select a node if workflow is not already created (#4089) (ecccfea)
    • 💻 ui: fix create project key (#3971) (34421e5)
    • 💻 ui: fix pipeline view with store (#4030) (1dfc43e)
    • 💻 ui: let user add permission via ui on node (#3935) (d5f6ff3)
    • 💻 ui: missing some translate (#4149) (404a680)
    • 💻 ui: overview empty first time opening app (#4006) (4cf508a)
    • 💻 ui,api: let users add/edit/delete workflow icon when as code (#4163) (494d244)
    • vcs: avoid duplicate set statuses requests on gitlab API (#4080) (f93b278)
    • vcs: avoid too big payload (#4081) (d71c857), closes #3990
    • vcs: Gitlab oauth Application callback URL (#4168) (7a4fb6b)
    • vcs: ignore case when comparing vcs info for bibucket (#4186) (b305d1f)
    • vcs: initialize github ratelimit values (#4063) (901e836), closes #2655
    • vcs: inverted base and head refs for bitbucket pull requests (#4178) (9f812e1)
    • vcs: no need to call get branch (#3992) (6adf694)
    • 👷 worker: download in the current directory (#4101) (85cd609), closes #4095
    • 👷 worker: fetch given hash only if branch or tag info not given (#4183) (446f430)
    • 👷 worker: respect logs formats (#4109) (2f0de8c), closes #2314
    • 👷 worker: shebang incorrectly interpreted in Script (#4060) (d120680), closes #2483
    • migrate last old model workflow run (#4017) (19c4bea)