Skip to content

added version check before starting reconciliation #246

added version check before starting reconciliation

added version check before starting reconciliation #246

Workflow file for this run

name: pull_request_created
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
branches:
- 'main'
paths-ignore:
- '*.md'
- '*.yaml'
- '.github/workflows/*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr-created:
uses: kubescape/workflows/.github/workflows/incluster-comp-pr-created.yaml@main
with:
GO_VERSION: "1.21"
CGO_ENABLED: 0
secrets: inherit
component-tests:
runs-on: ubuntu-latest
strategy:
matrix:
test: [
"TestSynchronizer_TC01_InCluster",
"TestSynchronizer_TC01_Backend",
"TestSynchronizer_TC02_InCluster",
"TestSynchronizer_TC02_Backend",
"TestSynchronizer_TC04_InCluster",
"TestSynchronizer_TC04_Backend",
"TestSynchronizer_TC05_InCluster",
"TestSynchronizer_TC05_Backend",
"TestSynchronizer_TC06",
"TestSynchronizer_TC07",
"TestSynchronizer_TC08",
"TestSynchronizer_TC09",
"TestSynchronizer_TC10",
"TestSynchronizer_TC11",
"TestSynchronizer_TC12"
]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
env:
CGO_ENABLED: 0
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Run test
run: |
echo "machine github.com login git password ${{ secrets.INGESTERS_READ_TOKEN }}" > ~/.netrc
cd tests && go test -v ./... -run ${{ matrix.test }} --timeout=20m --tags=integration