ROX-26039: Create tenant argoCd app #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: emailsender-central-compatibility | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'emailsender/**' | |
- 'scripts/**' | |
- '.github/workflows/emailsender-central-compatibility.yaml' | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths: | |
- 'emailsender/**' | |
- 'scripts/**' | |
- '.github/workflows/emailsender-central-compatibility.yaml' | |
jobs: | |
e2e-test-on-kind: | |
timeout-minutes: 45 | |
name: "Test on kind cluster" | |
runs-on: ubuntu-latest | |
if: ${{ !github.event.pull_request.head.repo.fork }} # do not run for PRs from forks | |
permissions: | |
id-token: write | |
contents: read | |
environment: development | |
steps: | |
- name: Cancel Previous Runs | |
uses: n1hility/cancel-previous-runs@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Go 1.21 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
- name: Cache go module | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Login to Quay.io | |
uses: docker/login-action@v3 | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAY_RHACS_ENG_RO_USERNAME }} | |
password: ${{ secrets.QUAY_RHACS_ENG_RO_PASSWORD }} | |
- name: Checkout this repository | |
uses: actions/checkout@v4 | |
with: | |
path: acs-fleet-manager | |
fetch-depth: 0 | |
- name: Checkout stackrox/stackrox repository | |
uses: actions/checkout@v4 | |
with: | |
repository: stackrox/stackrox | |
path: stackrox | |
fetch-tags: true | |
fetch-depth: 0 | |
- name: Create Kind cluster" | |
uses: helm/kind-action@v1 | |
with: | |
cluster_name: kind | |
- name: Run Test | |
run: acs-fleet-manager/scripts/ci/central_compatibility/entrypoint.sh |