Coder Social home page Coder Social logo

rpc-gating's Introduction

Welcome!

Repo Layout

  • rpc_jobs: JJB Job definitions
  • pipeline_steps: Groovy Functions for use in pipelines
  • playbooks: Ansible Playbooks
  • scripts: Bash and Python scripts

Git Hooks

Run githooks.sh to add the lint.sh script as a pre-commit hook. This will do a basic syntax check before each commit. Note that unavailable tools will be skipped so for this to be useful you need to have the following tools installed:

  • groovy (apt/groovy2)
  • jenkins-jobs (pip/jenkins-job-builder)
  • ansible-playbook (pip/ansible)

Conventions

Naming

Files

  • Use _ as the word delimiter
  • All lowercase
  • Examples:
    • jjb_setup.yml
    • pipeline_steps

Jobs

  • Use - as the word delimiter
  • Use _ between a job name and the job template variables
  • Use standard capitalization rules, template variables can be an exception to this
  • Examples:
    • RPC-AIO_{series}-{image}-{action}-{scenario}-{ztrigger}
    • RPC-AIO_master-xenial-deploy-swift-periodic
    • Merge-Trigger-JJB
    • {trigger}-Dep-Update_{repo_name}-{branch}

Required Properties

Retention Policy

Every Job must have a retention policy either based on days or number of builds.

Example job with number of builds retention policy:

  - job:
      properties:
        - build-discarder:
            num-to-keep: 30

Example job with number of days retention policy:

  - job:
      properties:
        - build-discarder:
            days-to-keep: 30

rpc-gating's People

Contributors

abassel avatar andymcc avatar antonym avatar bjoernt avatar chundu avatar claco avatar cloudnull avatar coreywright avatar corystone avatar dankolbrs avatar dealako avatar evrardjp avatar frank-zhangxin avatar git-harry avatar hughsaunders avatar jnoller avatar jpward1981 avatar major avatar mancdaz avatar mattt416 avatar mvollman avatar npawelek avatar phongdly avatar prometheanfire avatar rexredinger avatar ryan-rs avatar supermari0 avatar tonytan4ever avatar xgerman avatar zreichert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpc-gating's Issues

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.