Coder Social home page Coder Social logo

brookslogan / github-deploy-repo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmu-delphi/github-deploy-repo

0.0 0.0 0.0 52 KB

Fetches github repos and deploys them on the Delphi server.

License: MIT License

PHP 16.01% Python 78.97% TSQL 5.03%

github-deploy-repo's Introduction

Status

Deploy Status

About

Fetches github repos and deploys them on the Delphi server.

Including this one :)

Deployment Language

Deployment instructions are defined in a JSON file. By default, this file is named "deploy.json" and lives in the root of the git repository. Most fields should be self-explanatory, but the various commands (aka "actions") are described below.

copy

Copies a file. Note that the source file must reside with the repository (e.g. it will refuse to copy /etc/passwd). The destination file, however, can be anywhere in the filesystem (well, anywhere the user has write access). Existing files will be overwritten.

Additional fields:

  • src (required)

    The source file.

  • dst (required)

    The destination file.

  • match (optional)

    A regular expression. The action is applied to all files whose basename matches the regex. If this field is present, src and dst are interpreted as directories instead of files.

  • add-header-comment (optional)

    Whether to include a header comment (containing a warning not to edit the file and a pointer to the repository) at the top of the destination file.

  • replace-keywords (optional)

    Replace template strings in source file with values found in the list of template files. Each file is a JSON object containing a list of (key, value) pairs to be replaced.

move

Identical to the copy command, except the source file is deleted.

compile-coffee

Transpiles a CoffeeScript file to a JavaScript file.

Additional fields:

  • src (required)

    The input file.

  • dst (optional)

    The output file. Default is src with extension replaced with "js", unless otherwise specified.

minimize-js

Minimize a JavaScript file.

Additional fields:

  • src (required)

    The input file.

  • dst (optional)

    The output file. Defaults to src unless otherwise specified.

py3test

Runs unit and coverage tests for python using py3tester. Any test errors or failures will cause the deployment to fail, even if it was otherwise successful.

Additional fields:

  • dir (optional)

    The directory, relative to the repo root, containing unit tests. Defaults to "tests" (e.g. "repo_name/tests").

github-deploy-repo's People

Contributors

undefx avatar dfarrow0 avatar roniros 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.