Skip to content

Central repository for handy Screwdriver-related scripts and other tools

License

Notifications You must be signed in to change notification settings

screwdriver-cd/toolbox

Repository files navigation

Toolbox

Central repository for handy Screwdriver-related scripts and other tools

Recreate all pipelines

This script will create all pipelines and their corresponding secrets, except for the GIT_KEYs. Those will need to be created manually.

  1. Put all secrets into the .secrets_config.json file.
  2. Run
$ npm install request
$ node mass-create-pipelines.js

Re-tag Docker Images

Makes it easy to retag specific docker images as stable

$ ./docker-tag.sh ui v1.0.4 stable

Code Coverage

Automatically uploads the code coverage to Coveralls inside a Screwdriver build. Requires npm module coveralls.

$ npm install coveralls
$ ./coverage.sh

Trigger Docker Build

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

Wait for Docker Hub Build

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

Get Latest Tag

Checks the Git tags for the latest version and writes it to a file.

requires either Linux or Screwdriver build environment to run

$ ./git-latest.sh
$ cat VERSION
v1.2.3

About

Central repository for handy Screwdriver-related scripts and other tools

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages