Central repository for handy Screwdriver-related scripts and other tools
This script will create all pipelines and their corresponding secrets, except for the GIT_KEY
s. Those will need to be created manually.
- Put all secrets into the
.secrets_config.json
file. - Run
$ npm install request
$ node mass-create-pipelines.js
Makes it easy to retag specific docker images as stable
$ ./docker-tag.sh ui v1.0.4 stable
Automatically uploads the code coverage to Coveralls inside a Screwdriver build. Requires npm module coveralls.
$ npm install coveralls
$ ./coverage.sh
Tickles the Docker Hub webhook to start a build for master and a specified tag.
$ export DOCKER_TRIGGER="webhook API key"
$ export DOCKER_REPO="screwdrivercd/screwdriver"
$ export DOCKER_TAG="v1.2.3"
$ ./docker-trigger.sh
Waits until a Git tag is finished building on Docker Hub.
$ export DOCKER_REPO="screwdrivercd/screwdriver"
$ export DOCKER_TAG="v1.2.3"
$ ./docker-wait.sh
Checks the Git tags for the latest version and writes it to a file.
$ ./git-latest.sh
$ cat VERSION
v1.2.3
You need to ssh to the K8S nodes first and then run the script. The script will install hyperd and its dependencies and start the hyperd service. Hyperd is needed to start a vm with executor-k8s-vm
.
$ sudo bash ./hyper_install.sh
$ sudo hyperctl list # To ensure the script installed correctly
POD ID POD Name VM name Status