5 4 1 - Shippable/support GitHub Wiki
5.4.1 (9:30pm PST, Sunday, 2nd April 2017)
API Changes
- POST clusterNodes/systemNodes: Value of
nodeInitScripthave changed since we have renamed the scripts used to initialize custom nodes. For new names, refer to https://github.com/Shippable/node/tree/v5.4.1/scripts - GET projects/:id/branchRunStatus: Added a flag
activeBranchesas a query. Using this flag will return only runs from active branches which are not deleted from SCM.
Features
- Custom Name Value Pair integration: Users can now add an integration with one or more key-value pairs they can use for their CI or Pipeline workflows.
- Building tags for Gitlab, Bitbucket and Bitbucket Server
- Upgrade indicator for custom nodes: We've added an indicator to let you know whenever an update is available to the Shippable Agent running on your custom nodes.
- API documentation for clusterNode routes
Bug fixes
- Amazon ECS deployments: Deployments failing for AWS_IAM integration.
- Default account email: Incorrect default email set for accounts even when personal email exists in account profile.
- Builds listing table: Builds listing table commit message truncation logic is inconsistent.
- GitHub Enterprise: Manual triggers failing for GitHub Enterprise builds.
- Project Filter not working as expected in Subscriptions->Settings->Integrations page
- Bitbucket Server: Fix inconsistency in showing project name in dashboard for BitBucket Server
- Bitbucket Server: Runs page not displaying
- Bitbucket Server: Fixed PR builds and links on Runs page
- PHP images: Fixed PHP modules on both images
- runSh jobs: Provision node msg not being shown for runSh jobs
- Pipeline delete: Show the message about adding a sync repo when no resource, job or runCI is left
- Console log: Fixes blank consoles for pipeline jobs in Safari
- Console log: Fixes out of sequence console output
- CPU usage stats : Fixed CPU usage stats in clusterNodes/systemNodes pages
- subscriptions/getS API: Issues with case sensitivity and other related problems.
Steps to Upgrade
-
Pre-installation:
- Backup the
usr/state.jsonfile and the Postgres database (on the core machine) - Pull the latest code by running the following:
git fetch origin --tagsgit taggit checkout v5.4.1
- Run
sudo apt-get updateon all machines - Enable/disable any integrations by adding/removing services in the
systemIntegrationsection of thestate.jsonfile - Add
"allowedSystemImageFamily": "shippable/minv2|drydock/"to systemSettings in state.json - Rename
ghe/githubenterprise -> githubEnterpriseandgheKeys/githubenterpriseKeys -> githubEnterpriseKeysif present in state.json
- Backup the
-
Installation:
- Run
./base.sh upgrade --version v5.4.1
- Run
-
Post installation:
- Stop the genexec container manually before resetting the systemNodes
- Reset all system nodes
- Verify genexec are running the latest version