Skip to content

Re-useable continuous integration & deployment templates, workflows and actions that can be embedded in a CI pipeline.

Notifications You must be signed in to change notification settings

SanctumLabs/ci-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Workflows

CI Workflows scripts & resources. We store templates for gitlab CI, Github Actions here and include them where they are needed.

Templates

These templates can be included in other pipelines.They are "functions" for things we do often.

To use them first include the template

include:
  - project: 'sanctumlabs/tools/gitlab-ci'
    file: '/templates/docker-ecr-build.yml'

Next we need to extend them in a job, by overriding the variables with what we want them to be

build-dev:
  stage: build
  needs: []
  extends: .docker-ecr-build
  variables:
    AWS_DEFAULT_REGION: "$DEV_AWS_REGION"
    AWS_ACCESS_KEY_ID: "$DEV_AWS_ACCESS_KEY_ID"
    AWS_SECRET_ACCESS_KEY: "$DEV_AWS_SECRET_ACCESS_KEY"
    ECR_IMAGE_REPO: "$DEV_REGISTRY_IMAGE"
    ECR_IMAGE_TAG: "$CI_COMMIT_SHA"
  except:
    - master

About

Re-useable continuous integration & deployment templates, workflows and actions that can be embedded in a CI pipeline.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages