Skip to content

CR-21589 -- reporter #660

CR-21589 -- reporter

CR-21589 -- reporter #660

Workflow file for this run

name: CI
on:
- pull_request
jobs:
check-version:
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'release-')
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: get tag
run: |
echo "NEW_VERSION=$(cat VERSION)" >> $GITHUB_ENV
- name: Check repo tags
uses: mukunku/[email protected]
id: checkTag
with:
tag: "${{ env.NEW_VERSION }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check if version tag already exists
if: ${{ steps.checkTag.outputs.exists == 'true' }}
run: echo "version '${{ env.NEW_VERSION }}' already exists. Update the VERSION file and run 'make bump'" && exit 1
- name: Check if version bumped correctly
run: make check-bump
check-kustomize-build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: "Kustomize Build hosted basic"
uses: karancode/kustomize-github-action@master
with:
kustomize_version: "4.4.1"
kustomize_build_dir: "./csdp/hosted/basic/bootstrap"
- name: "Kustomize Build hybrid basic"
uses: karancode/kustomize-github-action@master
with:
kustomize_version: "4.4.1"
kustomize_build_dir: "./csdp/hybrid/basic/bootstrap"
- name: "Kustomize Build hosted HA"
uses: karancode/kustomize-github-action@master
with:
kustomize_version: "4.4.1"
kustomize_build_dir: "./csdp/hosted/ha/bootstrap"
- name: "Kustomize Build hybrid HA"
uses: karancode/kustomize-github-action@master
with:
kustomize_version: "4.4.1"
kustomize_build_dir: "./csdp/hybrid/ha/bootstrap"