0.37.0
Note about upgrading your CDS
You have to install this version 0.37.0 if you want to upgrade your CDS Instance from a version < 0.37 to a newer version.
This version include some migration process of internal Workflow structures - no impact for users.
This migration process will be removed on 0.38.x release.
Notable Changes
- Outgoing Hooks: trigger a workflow or a webhook from a workflow
- Workflow templates
- New builtin action Serve Static Files
- New action CDS_SonarScanner
- Helm Chart
- Endpoint /mon/metrics contains new metrics data
- Add Coverage on the overview application page
- Step Logs improvements: html / ainsi format
- Hubot configuration, can be used with cds2http
Features
- action/sonar: contribution (#3474) (0785caf)
- actions/sonar: add version to sonar to follow evolution of repo (#3648) (056e5b4)
- api: add some metrics to /mon/metrics (#3500) (9ca2976)
- api: cdsctl admin command: unlockdb (#3730) (fb5a445)
- api, sdk, ui: notifications as code (#3546) (4bf5d50), closes #3534 #3519
- api,hook: allow user to set payload on outgoing workflow hooks (5c7edc8)
- api,ui: add workflow usage and fix some bugs (#3710) (21bb00b)
- api,ui: enable run condition for join and fork (#3673) (c33a371)
- api,ui: outgoing hooks (#3297) (1d93bca)
- api,ui,worker: add serve static files (close #3567) (#3618) (b12ddfa)
- cdsctl: Add a flag to resynchronize workflow from command line #2469 (#3684) (6cc85a5)
- cdsctl: cdsctl admin service delete --name ... (#3644) (eaa06fa)
- cdsctl: GET on a service name (#3635) (335e6db)
- chore/plugin-venom: Update to venom 0.23.2 (#3663) (7588003)
- contrib: hubot-xmpp, cds2http (#3611) (235c4d0)
- contrib/cds2xmpp: add ability to auto-recover from XMPP errors (#3485) (0bdceb4)
- debpacker: add some new features for debpacker (#3571) (81cbfa4)
- hatchery: display warning in spawn info for deprecated model (close #3422) (#3464) (24c0047)
- hatchery,api,ui: show worker model register console log (#3568) (894940a)
- hatchery/swarm: enable ipv6 (#3703) (e0e7819)
- hatchery/swarm: get register error from docker (#3654) (558f97f)
- ui: add graph for code coverage on the overview app page (#3653) (a0dca3e)
- ui: add healthcheck on sharedWorker (#3652) (2d745d0)
- ui: add sentry support (#3649) (60e3e58)
- ui: add sourcemaps on sentry (#3656) (541dcc2)
- ui: ansi and html in logs is now displayed (#3166) (#3582) (1212547)
- ui: update deps, moving to angular 7(#3527) (347a2e8)
- ui: workflow templates audits and breadcrumb for settings and admin pages (#3726) (bc81939)
- ui,api: display spawn info on waiting job (#3667) (8db52b8)
- ui,api,cli: add workflow template (#3387) (6518c9c), closes #742
- worker: add log on err plugin (#3538) (49bac8b)
- worker: add log on start job about prj... (#3539) (1287ec1)
- worker: add static-key to keep the same public url for serve static files (#3670) (0154f0f), closes #3657
- add maintenance mode (#3592) (1ee1e3c)
- new workflow model (#3494) (6c94766)
- worker: install key to file (#3723) (608a8c2)
- worker: support volkswagen (#3616) (0da717b)
- worker: worker check-secret command (#3492) (ac5e33f), closes #3295
- worker: worker key install --env (#3482) (b808ed5), closes #3476
Bug Fixes
- api,sdk: Fix some issue with error wrap (#3493) (2e9a792)
- action: bug in CDS_SonarScanner contribution (#3514) (093da33)
- api: add logs on getWorkerModelsEnabledHandler (#3575) (95f57a9)
- api: add minimum parameter for coverage action in edit as code (#3713) (16d5bdb)
- api: allow detailled node run from service call (#3631) (6d25501)
- api: artifactDownload as code (#3642) (f311b67)
- api: avoid two worflows files on push (#3481) (4c725a6)
- api: better panic recovery in SSE (#3517) (506e86f)
- api: cache tracing feature (#3669) (8541289)
- api: catch locked element and add retry in sdk if it's locked (close #3581) (#3589) (4fe015e)
- api: check application, get it from project (#3597) (1463582)
- api: check node is Root (#3717) (222302a)
- api: commits list are not longer displayed in the node run view (close #3682) (#3683) (d6426ec)
- api: compute outgoing name (#3647) (4883128)
- api: concurrency on http writer (#3665) (9f2f545)
- api: conflict when runing multiple node (#3655) (4d07557)
- api: delete binary capabilities from worker model when it doesn't exist (close #3557) (#3561) (6a734b5)
- api: do not erase hook uuid when running workflow as code manually (#3704) (33facdd)
- api: do not log err managed (#3580) (072e370)
- api: do not regenerate temp hook uuid when editing workflow as code (#3706) (1b11210)
- api: don't return error for empty payload on non root node (#3698) (ba6994f)
- api: fix constraint on model hook (#3630) (19aa43f)
- api: fix heartbeat of worker and restart worker if crash happened (#3511) (fc625bc)
- api: fix retro migrate, set node context from workflow maps (#3600) (d9d8695)
- api: fix send nodeRunEvent + update pipeline last_modified date (#3646) (feed33f)
- api: fix send pullrequest report + do not load node from old model (#3722) (10e9ed3)
- api: fix the merge of payload when there is a middle default payload (#3594) (6287d01)
- api: get pipeline and node from workflow run instead of db (#3672) (b34e71a)
- api: hook as code (#3628) (5904b28)
- api: ignore old type key in app export (#3645) (70fd21f)
- api: import pipeline error details (#3518) (9e2ab26), closes #3209
- api: init events broker earlier (#3623) (e8a6228)
- api: init list param (#3666) (948214e)
- api: insert node that already exist (#3617) (26a2460)
- api: insert notification with new model (#3587) (6fc5a68)
- api: Load project with platform for template apply (#3696) (4ff4c0b)
- api: Load WorkerModel (#3576) (991d739)
- api: manual run ancestors (#3676) (9b9c9a1)
- api: merge multiple payload (close #3550) (#3552) (f8773c4)
- api: merge payload and pipeline params for new process (#3638) (267f703)
- api: migrate old workflow run + fix resync hooks (#3588) (91c841b)
- api: override git value when it's coming from hook or manual run (#3565) (5ee9aff)
- api: purge workflow with node_root_id=null (#3506) (9ee9319)
- api: recover events (#3560) (291282f)
- api: rename node must update node ref. (#3610) (e86c5f4)
- api: report could be nil (#3562) (bee4c97)
- api: resync hook on insert workflow (#3727) (0938b10)
- api: retry in postWorkflowJobArtifacWithTempURLHandler (#3483) (4d4640b), closes #3466
- api: return error when a workflow contains default payload on non root node (#3688) (184072c)
- api: run manual join + do not run join when parent failed (#3659) (05fd62b)
- api: run multiple join in parallel (#3613) (e002fb4)
- api: search err in graylog with cdsctl (#3477) (6b5c785)
- api: services cache (#3603) (fa81e27), closes #3570
- api: services.findAll error sql no rows (#3622) (424292f)
- api: simplify get hooks (#3691) (9e9c36e)
- api: sorting metrics (#3728) (ebb6cff)
- api: Take care of workflow name value after template generation (#3707) (2e7cc39)
- api: take first value when no default value in pipeline parameter list (close #3520) (#3533) (73f6c2b)
- api: use name to find node instead of ID (#3602) (4b7ed3c)
- api: wait loading application before testing nul (#3530) (67a90ea)
- api, ui: new model (#3585) (d41a482)
- api, ui: outgoing hooks edition (#3486) (e634e4d), closes #3480
- api,ui: fix fill map platform + switch run on workflow (#3606) (4ff4a8e)
- cdsctl: no need config for doc command (#3503) (383cbe3)
- cdsctl: no need config for doc PATH too (#3504) (9fa9c63)
- cdsctl: Some fixes for shell cmd (#3541) (62072d6)
- contrib: fix manifest of plugin-download (#3572) (76336ce)
- contrib/cds2xmpp: add admin confs (#3569) (f36b94b)
- contrib/cds2xmpp: add reconnect (#3566) (f3af7d7)
- contrib/cds2xmpp: call do (#3609) (9633e11)
- hatchery: for kubernetes replace special characters in pod name (#3497) (d55944a)
- hook: fix repowebhook (#3507) (c7e5d10)
- hooks: do not restart kafka hooks (#3625) (3c4c923)
- hooks: similar outgoing hooks execution (#3489) (7ca6c03), closes #3479
- plugin: fix duplicate logs from plugins (#3547) (7316b3a)
- plugin/deploy: proto (#3554) (d9b0618)
- plugin/kafka-publish: window compatibility (#3468) (079815a)
- plugin/venom: executor mail (#3680) (8746ffd)
- sdk: don't export empty metadata in workflow as code (#3535) (168b853)
- sdk: interpolate (#3471) (1ec46bb)
- sdk: omit application description if empty (#3578) (61eeaa7)
- sql: remove potential pb flags (#3715) (ab0e5a0)
- ui: add CDS_USER tag in sentry config (#3662) (3a147bd)
- ui: add two outgoing hook (#3488) (45f353e), closes #3478
- ui: ansi in logs is now displayed (#3166) (#3579) (27d4cf6)
- ui: as code preview + add try catch on json.parse (#3660) (5e7676f)
- ui: better display for RO users (close #3475) (#3516) (87d14b5)
- ui: Catch for Webhook with no config (#3595) (d175202)
- ui: d3 version (#3559) (8328376)
- ui: display all logs after a click when job is running (#3556) (e3f3cd4)
- ui: display correct step name (close #3668) (#3678) (b6325e3)
- ui: display parent workflow run (#3509) (b5a6bb2)
- ui: do not erase name queryParams on close button sidebar #2909 (#3686) (6b0282c)
- ui: fix hooks ui and sidebar improvements (#3692) (fe8ee44)
- ui: fix modal launch node with pipeline parameters when opened several times (#3456) (bae1e97)
- ui: fix reload spawninfo / service logs (#3679) (8181ffa)
- ui: fix sidebar event (#3695) (f87ffb6)
- ui: fix sidebar for node run and add subscriptions and workflow update (#3694) (6d02b2a), closes #3502 #3658
- ui: fix some issues found in sentry (#3671) (801df7a)
- ui: fix undefined parameters with fork launch (#3586) (6108023)
- ui: join display on macOS + chromium (#3614) (b1481c3)
- ui: language awareness (#3664) (598fb58)
- ui: link to join (#3608) (d28805f)
- ui: Pipeline sidebar display customised step name (close #3633) (#3634) (64b4838)
- ui: put toolbar over the logs (#3731) (bb1c29e)
- ui: remove redirect (#3621) (0bd16d2)
- ui: run multiple node + add toast on application platform management (#3607) (cda5718)
- ui: sidebar closing, hook details, join display (fbee444)
- ui: unselect all node when update via edit as code (#3690) (#3700) (f6fb80b)
- ui: update name of requirement when we update value (#3725) (da1d343)
- ui,api: Fix and improvements for templates (#3705) (4aea929)
- vcs: Increase limit for repo get on bitbucket (#3693) (28792e2)
- worker: check if buffered before read (#3558) (d91ad63)
- worker: fix entrypoint for serve static files (#3708) (#3712) (be5f642)
- worker: fix serve static files with absolute path (#3661) (f292d60)
- display of fork on mac (#3716) (b912e19)
- update join parent ref (#3615) (9617fa1)
- worker: fix worker pending to the infinity after a fail on plugin start (#3510) (7daecf9)
- worker: plugin - fix transport is closing (#3543) (9805b22)
- worker: plugin-deploy Stop (#3555) (779259d)
- worker: step name in logs (close #3624) (#3627) (48fc1ab)