Examples for using this collection of components. 1 for gitlab, which are the focus of the components.
Examples for using this collection of components. 1 for gitlab, which are the focus of the components.
No fully worked out example exists yet, we are still in the progress of giving all the components an github action
A example for yamllint for github action syntax and docker syntax is below
name: CI
on:
push:
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Running YAMLlint
uses: "docker://pipelinecomponents/yamllint:latest"
with:
args: yamllint .
yamllint-action:
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Running YAMLlint
uses: pipeline-components/yamllint@master
A partial example from a production environment
While pipeline components are build with gitlab in mind, running in travis is also possible.