Gflows package with some shared functionalities
- Reference this project as GFlows package in
config.yml
file in your project.
# Config file for GFlows.
# See https://github.com/jbrunton/gflows/wiki/Configuration for options.
githubDir: github-sample
templates:
engine: ytt
defaults:
libs:
- workflow-configuration/scan-code-net
dependencies:
- https://raw.githubusercontent.com/CoverGo/ci-workflow-libraries/v1.1/.gflows
- Import functions required in your templates and use it in your template file, like scan-code.template.yml
#@ load("@ytt:data", "data")
#@ load("@ytt:overlay", "overlay")
#@ load("workflows.lib.yml", "pull_request_defaults")
name: Scan code
"on": #@ pull_request_defaults(data.values.scan_code_net)
jobs:
build:
name: Analyse
- checkout of private CoverGo actions
- docker image build and publish with cache and main registry
- the legacy integration tests