3AceShowHand / ci

Continue intergration tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PingCAP CI/CD public configurations

Servers

New

Only one site in our roadmap.

Notices: when you develop new pipeplines or jobs, you should put them in /staging folder and create a PR. When the PR merged, seed job will deploy it in staging CI server. When you tested with successful results, please create a PR with contents moved in top level folders and comment the PR with your tested job links in staging CI server.

Old ones

New top level directories

  • /jobs store Jenkins CI job DSL files.
  • /pipelines store Jenkins CI pipeline scripts.
  • /libraries store Jenkins CI shared libraries.
  • /staging store staging jobs and pipelines before deploying to production.
    • /staging/jobs like /jobs but only deployed to staging env.
    • ......

File structure for jobs and pipelines

  • using <org>/<repo>/<branch-special>/<pipeline-name>.groovy structure.
    • the lastet store CI jobs and scripts for trunk branch and feature branches.
    • the release-x.y store CI jobs and scripts for the special release branch.

Job DSL important usage

  • Do not use light checkout: avoid soft link in git.

Old directories(migrating)

  • /jenkins/jobs store migrated or migrating Jenkins CI job DSL files for server ci.pingcap.net, ci2.pingcap.net and cd.pingcap.net.
  • /jenkins/pipelines store Jenkins CI pipeline scripts for server ci.pingcap.net, ci2.pingcap.net and cd.pingcap.net.

About

Continue intergration tests

License:Apache License 2.0


Languages

Language:Groovy 97.5%Language:Shell 1.2%Language:Python 0.7%Language:TypeScript 0.6%Language:Makefile 0.0%Language:Dockerfile 0.0%