Giter Site home page Giter Site logo

toolbox's Introduction

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.

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

Install hyperd and its dependencies on nodes

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

toolbox's People

Contributors

tkyi avatar minzcmu avatar fenrirunbound avatar stjohnjohnson avatar d2lam avatar jithine avatar petey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.