Skip to content

Syse 288/deprecating old pipelines #226

Syse 288/deprecating old pipelines

Syse 288/deprecating old pipelines #226

Workflow file for this run

name: Dr. Releng
on:
pull_request:
paths:
- policy/templates/**
jobs:
doctor:
runs-on: ubuntu-latest
container: tykio/gromit:v1.6
strategy:
fail-fast: false
matrix:
repo: [tyk, tyk-analytics, tyk-pump, tyk-identity-broker, tyk-sink, portal]
branch: [master]
feature: [releng]
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
repository: TykTechnologies/${{ matrix.repo }}
token: ${{ secrets.ORG_GH_TOKEN }}
path: ${{ matrix.repo }}
fetch-depth: 1
- name: checkout gromit
uses: actions/checkout@v4
with:
fetch-depth: 1
path: gromit
- name: Generate
run: gromit bundle gen --features ./gromit/policy/templates/${{ matrix.feature }} --branch ${{matrix.branch}} --repo ${{ matrix.repo }}$ {{ matrix.repo }}
- name: Check for zero diffs
run: |
op_file=${{ matrix.repo }}-${{ matrix.bundle }}-${{matrix.branch}}.txt
gromit git diff ${{ matrix.repo }} 2>${op_file}
[ $? != 0 ] && echo "::warning::$(cat $op_file)"