Code Monkey home page Code Monkey logo

scripts's Introduction

Codeship Scripts Codeship Status for codeship/scripts

A public collection of useful scripts for use on Codeship and similar tools.

E.g. scripts to install specific versions of software not included by default on the build VMs. Deployment scripts for external services to customize to your needs, configure caching or trigger notifications. And other scripts if you want to have them included ;)

Using the scripts

Each script includes a comment at the beginning detailing how to configure and use the script in your builds. Those comments look for example like

# Add at least the following environment variables to your project configuration
# (otherwise the defaults below will be used).
# * FIREFOX_VERSION
#
# Include in your builds via
# \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/firefox.sh | bash -s

It is important that you follow those instructions and not simply copy / paste the scripts into your Codeship project configuration.

Most scripts include set -e to make the script fail as soon as a subcommand returns a non-zero exit code (which indicates failure).

This is fine if you call the script as documented above (via the curl command). But it will have side effects if you copy the commands into your settings on codeship.com as any command that fails after the set -e) will terminate your build. You'll get a SYSTEM build status, but no further error message or log output. You probably don't want this :)

Please see the post at https://documentation.codeship.com/basic/builds-and-configuration/scripts/#set--e for more information on how set -e works and why this causes issues if you include it in your setup or test commands.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

scripts's People

Contributors

acasajus avatar amalfra avatar bfosberry avatar chrisbarber86 avatar cnieren avatar davidwter avatar dennisnewel avatar drewkit avatar dschniepp avatar ethangj avatar frunkad avatar gido avatar gitforwebwork avatar gointobits avatar grisgruis avatar hughker avatar ifpingram avatar jasonsouza avatar joesiewert avatar kuzmiigo avatar lafraia avatar larsfronius avatar mlocher avatar noamkush avatar padabou avatar rheinwein avatar rsazima avatar skysteve avatar triplepointfive avatar vikrantpogula avatar

Watchers

 avatar  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.