...
- Regenerate Swagger API / Client from spec (this can be skipped if the spec has not changed)
- apiserver/???: generated Go swagger server
- gui/js/app/shared/api.js: generated AngularJS swagger client
- Roll forward version numbers in ndslabs-deploy-tools and ensure that all values match the version number you are about to create:
- roles/cluster-backup/defaults/main.yml
- roles/ndslabs-api-gui/defaults/main.yml
roles/k8s-nagios-nrpe/defaults/main.yml- roles/k8-glfs-server-pods/defaults/main.yml
- roles/k8-glfs-client-set/defaults/main.yml
- Create a new tag from master in GithHub for the new version (i.e. 1.0.0, 1.0.1, etc):
- Repositories should be tagged in the following order when possible:
- ndslabs (API server / REST API / CLI / UI)
- ndslabs-specs (service specs)
gluster(global file system - deprecated, no longer used)cluster-backup(cron job for backing up glfs / etcd / kubectl dump - this can now be versioned separately from Workbench)ndslabs-nrpe(nagios monitoring - these can now be versioned separately from the rest of Labs Workbench)ndslabs-startup(dev-cluster startup - deprecated, no longer used)ndslabs-deploy-tools(ansible scripts - deprecated, no longer used)- kubeadm-bootstrap (kubernetes deployment scripts - versioned separately?)
- kubeadm-terraform (terraform deployment procedure - versioned separately?)
ndslabs-devenvs(developer environments - these can now be versioned separately from the rest of Labs Workbench)- NOTE: ndslabs-devenvs contains a large number of cascading images that will quickly fill up the build queue, that's why we do it last
- New versioned Docker images are automatically built from the upstream tags created on GitHub.
- All new tags that are created will trigger a build
- For example: https://hub.docker.com/r/ndslabs/apiserver/builds/
- Repositories should be tagged in the following order when possible:
- Roll forward version numbers in source and ensure that all values match on upstream master on GitHub:
- Swagger API
- apis/swagger-spec/ndslabs.yaml: NDS Labs swagger API spec version number
- gui/swagger.yaml: NDS Labs swagger API spec version number
- API Server:
- apiserver/build.sh: NDS Labs API Server Docker image version tag
apiserver/version.go: NDS Labs API / Server version numberfile no longer exists
- CLI Client:
apictl/build.sh: NDS Labs CLI version numberfile no longer existsapictl/cmd/clientVersion.go: NDS Labs CLI / API version numberfile no longer exists
- UI Client:
- gui/Dockerfile: NDS Labs UI / webserver Docker image version tag
- gui/package.json: NDS Labs UI / webserver NPM package version number
- gui/bower.json: NDS Labs UI Angular app Bower package version number
- gui/app/app.js: NDS Labs UI Angular app build version number
- Swagger API
...