HUB
Sign inSign up

tomgrv/ci-builder

By tomgrv

•Updated almost 6 years ago

Alpine3.8 / dotnet core 2.1 / php7 / node12 for Gitlab CI/CD (+yaml templates in github repo)

Image
0

1.5K

tomgrv/ci-builder repository overview

⁠Builder/Runner for CI systems

StyleI Docker Licence

Commitizen friendly semantic-release

Buy me a coffee

⁠Docker image

Alpine 3.8 image with :

  • php 7 available as php
  • dotnet core 2.1 available as dotnet

Available development tools:

⁠CI Configuration files

Corresponding config files are provided in folders

⁠Gitlab / Laravel

Deployment is handled with lorisleiva/laravel-deployer⁠ package.

Some variables to set in Gitlab CI variable folder:

  • SSH_PRIVATE_KEY to access target servers. You need to set corresponding public key on all your servers.
  • DEPLOY_BETA to deploy develop and feature branches automaticaly to DEPLOY_BETA url
  • DEPLOY_STAGING to deploy master and release branches automaticaly to DEPLOY_STAGING url
  • DEPLOY_PRODUCTION to deploy master branch on demand to DEPLOY_PRODUCTION url

Nota: the VERSION file at repository root will automaticaly be updated with gitversion's fullsemver value on pipeline start

⁠Gitlab / Node

Publishing is handled with release-it⁠ package File can be referenced within every gitlab project:

include:
    - project: 'tomgrv/ci-builder'
      ref: master
      file: '/templates/node/.gitlab-ci.yml'

Package.json is parsed for GitVersion_* variable replacement before each job:

{
  "name": "package-name",
  "version": "${GitVersion_SemVer}",
  "description": "This is package Description for version ${GitVersion_InformationalVersion}",
  "main": "src/index.js",
  ...
}

Some variables to set in Gitlab CI variable folder:

Tag summary

Content type

Image

Digest

Size

584.2 MB

Last updated

almost 6 years ago

docker pull tomgrv/ci-builder:4.0.0