From fa35baea9a89ae70040ca81aa3c348c18f095dc0 Mon Sep 17 00:00:00 2001 From: Marek Aufart Date: Fri, 6 Sep 2024 14:46:33 +0200 Subject: [PATCH 1/3] Trigger on pull_request workflows on all branches There are TIER 0..2 on pull request workflows that should check the PR with CI. These workflows were targeted only to `main` branch that lead to not being executed on release-* branches. Updated to trigger on all branches. Fixes: https://github.com/konveyor/go-konveyor-tests/issues/173 Signed-off-by: Marek Aufart --- .github/workflows/main-tier0.yml | 4 ++-- .github/workflows/main-tier1.yml | 4 ++-- .github/workflows/main-tier2.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main-tier0.yml b/.github/workflows/main-tier0.yml index 41086b2..be15c53 100644 --- a/.github/workflows/main-tier0.yml +++ b/.github/workflows/main-tier0.yml @@ -2,11 +2,11 @@ name: Test TIER0 on: pull_request: - branches: [ "main" ] + branches: [ "*" ] paths-ignore: - '**.md' push: - branches: [ "main" ] + branches: [ "*" ] paths-ignore: - '**.md' diff --git a/.github/workflows/main-tier1.yml b/.github/workflows/main-tier1.yml index 54818fa..d44fa53 100644 --- a/.github/workflows/main-tier1.yml +++ b/.github/workflows/main-tier1.yml @@ -2,11 +2,11 @@ name: Test TIER1 on: pull_request: - branches: [ "main" ] + branches: [ "*" ] paths-ignore: - '**.md' push: - branches: [ "main" ] + branches: [ "*" ] paths-ignore: - '**.md' diff --git a/.github/workflows/main-tier2.yml b/.github/workflows/main-tier2.yml index da1c94d..cad677a 100644 --- a/.github/workflows/main-tier2.yml +++ b/.github/workflows/main-tier2.yml @@ -2,11 +2,11 @@ name: Test TIER2 on: pull_request: - branches: [ "main" ] + branches: [ "*" ] paths-ignore: - '**.md' push: - branches: [ "main" ] + branches: [ "*" ] paths-ignore: - '**.md' From f1bb64a71e6e5e7c6fdb82a01c2382c20cdc4262 Mon Sep 17 00:00:00 2001 From: Marek Aufart Date: Mon, 30 Sep 2024 15:14:56 +0200 Subject: [PATCH 2/3] Add separate workflows for release branches Signed-off-by: Marek Aufart --- .github/workflows/main-tier0-0.3.yml | 33 ++++++++++++++++++++++++++++ .github/workflows/main-tier0-0.4.yml | 33 ++++++++++++++++++++++++++++ .github/workflows/main-tier0-0.5.yml | 33 ++++++++++++++++++++++++++++ .github/workflows/main-tier0.yml | 4 ++-- .github/workflows/main-tier1-0.3.yml | 30 +++++++++++++++++++++++++ .github/workflows/main-tier1-0.4.yml | 30 +++++++++++++++++++++++++ .github/workflows/main-tier1-0.5.yml | 30 +++++++++++++++++++++++++ .github/workflows/main-tier1.yml | 4 ++-- .github/workflows/main-tier2-0.3.yml | 30 +++++++++++++++++++++++++ .github/workflows/main-tier2-0.4.yml | 30 +++++++++++++++++++++++++ .github/workflows/main-tier2-0.5.yml | 30 +++++++++++++++++++++++++ .github/workflows/main-tier2.yml | 4 ++-- 12 files changed, 285 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/main-tier0-0.3.yml create mode 100644 .github/workflows/main-tier0-0.4.yml create mode 100644 .github/workflows/main-tier0-0.5.yml create mode 100644 .github/workflows/main-tier1-0.3.yml create mode 100644 .github/workflows/main-tier1-0.4.yml create mode 100644 .github/workflows/main-tier1-0.5.yml create mode 100644 .github/workflows/main-tier2-0.3.yml create mode 100644 .github/workflows/main-tier2-0.4.yml create mode 100644 .github/workflows/main-tier2-0.5.yml diff --git a/.github/workflows/main-tier0-0.3.yml b/.github/workflows/main-tier0-0.3.yml new file mode 100644 index 0000000..874d4f1 --- /dev/null +++ b/.github/workflows/main-tier0-0.3.yml @@ -0,0 +1,33 @@ +name: Test TIER0 release-0.3 + +on: + pull_request: + branches: [ "release-0.3" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.3" ] + paths-ignore: + - '**.md' + +jobs: + test-tier0: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier0 + env: + MAVEN_TESTAPP_USER: ${{ secrets.MAVEN_TESTAPP_USER }} + MAVEN_TESTAPP_TOKEN: ${{ secrets.MAVEN_TESTAPP_TOKEN }} diff --git a/.github/workflows/main-tier0-0.4.yml b/.github/workflows/main-tier0-0.4.yml new file mode 100644 index 0000000..4069c9f --- /dev/null +++ b/.github/workflows/main-tier0-0.4.yml @@ -0,0 +1,33 @@ +name: Test TIER0 release-0.4 + +on: + pull_request: + branches: [ "release-0.4" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.4" ] + paths-ignore: + - '**.md' + +jobs: + test-tier0: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier0 + env: + MAVEN_TESTAPP_USER: ${{ secrets.MAVEN_TESTAPP_USER }} + MAVEN_TESTAPP_TOKEN: ${{ secrets.MAVEN_TESTAPP_TOKEN }} diff --git a/.github/workflows/main-tier0-0.5.yml b/.github/workflows/main-tier0-0.5.yml new file mode 100644 index 0000000..7058c3e --- /dev/null +++ b/.github/workflows/main-tier0-0.5.yml @@ -0,0 +1,33 @@ +name: Test TIER0 release-0.5 + +on: + pull_request: + branches: [ "release-0.5" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.5" ] + paths-ignore: + - '**.md' + +jobs: + test-tier0: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier0 + env: + MAVEN_TESTAPP_USER: ${{ secrets.MAVEN_TESTAPP_USER }} + MAVEN_TESTAPP_TOKEN: ${{ secrets.MAVEN_TESTAPP_TOKEN }} diff --git a/.github/workflows/main-tier0.yml b/.github/workflows/main-tier0.yml index be15c53..41086b2 100644 --- a/.github/workflows/main-tier0.yml +++ b/.github/workflows/main-tier0.yml @@ -2,11 +2,11 @@ name: Test TIER0 on: pull_request: - branches: [ "*" ] + branches: [ "main" ] paths-ignore: - '**.md' push: - branches: [ "*" ] + branches: [ "main" ] paths-ignore: - '**.md' diff --git a/.github/workflows/main-tier1-0.3.yml b/.github/workflows/main-tier1-0.3.yml new file mode 100644 index 0000000..3b44930 --- /dev/null +++ b/.github/workflows/main-tier1-0.3.yml @@ -0,0 +1,30 @@ +name: Test TIER1 release-0.3 + +on: + pull_request: + branches: [ "release-0.3" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.3" ] + paths-ignore: + - '**.md' + +jobs: + test-tier1: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier1 diff --git a/.github/workflows/main-tier1-0.4.yml b/.github/workflows/main-tier1-0.4.yml new file mode 100644 index 0000000..290bf13 --- /dev/null +++ b/.github/workflows/main-tier1-0.4.yml @@ -0,0 +1,30 @@ +name: Test TIER1 release-0.4 + +on: + pull_request: + branches: [ "release-0.4" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.4" ] + paths-ignore: + - '**.md' + +jobs: + test-tier1: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier1 diff --git a/.github/workflows/main-tier1-0.5.yml b/.github/workflows/main-tier1-0.5.yml new file mode 100644 index 0000000..44f20a2 --- /dev/null +++ b/.github/workflows/main-tier1-0.5.yml @@ -0,0 +1,30 @@ +name: Test TIER1 release-0.5 + +on: + pull_request: + branches: [ "release-0.5" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.5" ] + paths-ignore: + - '**.md' + +jobs: + test-tier1: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier1 diff --git a/.github/workflows/main-tier1.yml b/.github/workflows/main-tier1.yml index d44fa53..54818fa 100644 --- a/.github/workflows/main-tier1.yml +++ b/.github/workflows/main-tier1.yml @@ -2,11 +2,11 @@ name: Test TIER1 on: pull_request: - branches: [ "*" ] + branches: [ "main" ] paths-ignore: - '**.md' push: - branches: [ "*" ] + branches: [ "main" ] paths-ignore: - '**.md' diff --git a/.github/workflows/main-tier2-0.3.yml b/.github/workflows/main-tier2-0.3.yml new file mode 100644 index 0000000..7444264 --- /dev/null +++ b/.github/workflows/main-tier2-0.3.yml @@ -0,0 +1,30 @@ +name: Test TIER2 release-0.3 + +on: + pull_request: + branches: [ "release-0.3" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.3" ] + paths-ignore: + - '**.md' + +jobs: + test-tier2: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier2 diff --git a/.github/workflows/main-tier2-0.4.yml b/.github/workflows/main-tier2-0.4.yml new file mode 100644 index 0000000..4338c9a --- /dev/null +++ b/.github/workflows/main-tier2-0.4.yml @@ -0,0 +1,30 @@ +name: Test TIER2 release-0.4 + +on: + pull_request: + branches: [ "release-0.4" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.4" ] + paths-ignore: + - '**.md' + +jobs: + test-tier2: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier2 diff --git a/.github/workflows/main-tier2-0.5.yml b/.github/workflows/main-tier2-0.5.yml new file mode 100644 index 0000000..4934440 --- /dev/null +++ b/.github/workflows/main-tier2-0.5.yml @@ -0,0 +1,30 @@ +name: Test TIER2 release-0.5 + +on: + pull_request: + branches: [ "release-0.5" ] + paths-ignore: + - '**.md' + push: + branches: [ "release-0.5" ] + paths-ignore: + - '**.md' + +jobs: + test-tier2: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: start-minikube + uses: konveyor/tackle2-operator/.github/actions/start-minikube@main + with: + memory: 6500M + - name: install-tackle + uses: konveyor/tackle2-operator/.github/actions/install-tackle@main + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + - name: Install dependencies + run: | + go install github.com/onsi/ginkgo/v2/ginkgo + - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier2 diff --git a/.github/workflows/main-tier2.yml b/.github/workflows/main-tier2.yml index cad677a..da1c94d 100644 --- a/.github/workflows/main-tier2.yml +++ b/.github/workflows/main-tier2.yml @@ -2,11 +2,11 @@ name: Test TIER2 on: pull_request: - branches: [ "*" ] + branches: [ "main" ] paths-ignore: - '**.md' push: - branches: [ "*" ] + branches: [ "main" ] paths-ignore: - '**.md' From 30c521982dbfd4890305dbc8181dc273426ce22c Mon Sep 17 00:00:00 2001 From: Marek Aufart Date: Mon, 30 Sep 2024 16:14:58 +0200 Subject: [PATCH 3/3] Merge release branches workflows Signed-off-by: Marek Aufart --- .github/workflows/main-tier0-0.4.yml | 33 ------------------- .github/workflows/main-tier0-0.5.yml | 33 ------------------- ...-tier0-0.3.yml => main-tier0-releases.yml} | 6 ++-- .github/workflows/main-tier1-0.3.yml | 30 ----------------- .github/workflows/main-tier1-0.5.yml | 30 ----------------- ...-tier1-0.4.yml => main-tier1-releases.yml} | 6 ++-- .github/workflows/main-tier2-0.3.yml | 30 ----------------- .github/workflows/main-tier2-0.5.yml | 30 ----------------- ...-tier2-0.4.yml => main-tier2-releases.yml} | 6 ++-- 9 files changed, 9 insertions(+), 195 deletions(-) delete mode 100644 .github/workflows/main-tier0-0.4.yml delete mode 100644 .github/workflows/main-tier0-0.5.yml rename .github/workflows/{main-tier0-0.3.yml => main-tier0-releases.yml} (84%) delete mode 100644 .github/workflows/main-tier1-0.3.yml delete mode 100644 .github/workflows/main-tier1-0.5.yml rename .github/workflows/{main-tier1-0.4.yml => main-tier1-releases.yml} (81%) delete mode 100644 .github/workflows/main-tier2-0.3.yml delete mode 100644 .github/workflows/main-tier2-0.5.yml rename .github/workflows/{main-tier2-0.4.yml => main-tier2-releases.yml} (81%) diff --git a/.github/workflows/main-tier0-0.4.yml b/.github/workflows/main-tier0-0.4.yml deleted file mode 100644 index 4069c9f..0000000 --- a/.github/workflows/main-tier0-0.4.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Test TIER0 release-0.4 - -on: - pull_request: - branches: [ "release-0.4" ] - paths-ignore: - - '**.md' - push: - branches: [ "release-0.4" ] - paths-ignore: - - '**.md' - -jobs: - test-tier0: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: start-minikube - uses: konveyor/tackle2-operator/.github/actions/start-minikube@main - with: - memory: 6500M - - name: install-tackle - uses: konveyor/tackle2-operator/.github/actions/install-tackle@main - - uses: actions/setup-go@v3 - with: - go-version: '1.19' - - name: Install dependencies - run: | - go install github.com/onsi/ginkgo/v2/ginkgo - - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier0 - env: - MAVEN_TESTAPP_USER: ${{ secrets.MAVEN_TESTAPP_USER }} - MAVEN_TESTAPP_TOKEN: ${{ secrets.MAVEN_TESTAPP_TOKEN }} diff --git a/.github/workflows/main-tier0-0.5.yml b/.github/workflows/main-tier0-0.5.yml deleted file mode 100644 index 7058c3e..0000000 --- a/.github/workflows/main-tier0-0.5.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Test TIER0 release-0.5 - -on: - pull_request: - branches: [ "release-0.5" ] - paths-ignore: - - '**.md' - push: - branches: [ "release-0.5" ] - paths-ignore: - - '**.md' - -jobs: - test-tier0: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: start-minikube - uses: konveyor/tackle2-operator/.github/actions/start-minikube@main - with: - memory: 6500M - - name: install-tackle - uses: konveyor/tackle2-operator/.github/actions/install-tackle@main - - uses: actions/setup-go@v3 - with: - go-version: '1.19' - - name: Install dependencies - run: | - go install github.com/onsi/ginkgo/v2/ginkgo - - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier0 - env: - MAVEN_TESTAPP_USER: ${{ secrets.MAVEN_TESTAPP_USER }} - MAVEN_TESTAPP_TOKEN: ${{ secrets.MAVEN_TESTAPP_TOKEN }} diff --git a/.github/workflows/main-tier0-0.3.yml b/.github/workflows/main-tier0-releases.yml similarity index 84% rename from .github/workflows/main-tier0-0.3.yml rename to .github/workflows/main-tier0-releases.yml index 874d4f1..9a2cb47 100644 --- a/.github/workflows/main-tier0-0.3.yml +++ b/.github/workflows/main-tier0-releases.yml @@ -1,12 +1,12 @@ -name: Test TIER0 release-0.3 +name: Test TIER0 release braches on: pull_request: - branches: [ "release-0.3" ] + branches: [ "release-0.5", "release-0.4", "release-0.3" ] paths-ignore: - '**.md' push: - branches: [ "release-0.3" ] + branches: [ "release-0.5", "release-0.4", "release-0.3" ] paths-ignore: - '**.md' diff --git a/.github/workflows/main-tier1-0.3.yml b/.github/workflows/main-tier1-0.3.yml deleted file mode 100644 index 3b44930..0000000 --- a/.github/workflows/main-tier1-0.3.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Test TIER1 release-0.3 - -on: - pull_request: - branches: [ "release-0.3" ] - paths-ignore: - - '**.md' - push: - branches: [ "release-0.3" ] - paths-ignore: - - '**.md' - -jobs: - test-tier1: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: start-minikube - uses: konveyor/tackle2-operator/.github/actions/start-minikube@main - with: - memory: 6500M - - name: install-tackle - uses: konveyor/tackle2-operator/.github/actions/install-tackle@main - - uses: actions/setup-go@v3 - with: - go-version: '1.19' - - name: Install dependencies - run: | - go install github.com/onsi/ginkgo/v2/ginkgo - - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier1 diff --git a/.github/workflows/main-tier1-0.5.yml b/.github/workflows/main-tier1-0.5.yml deleted file mode 100644 index 44f20a2..0000000 --- a/.github/workflows/main-tier1-0.5.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Test TIER1 release-0.5 - -on: - pull_request: - branches: [ "release-0.5" ] - paths-ignore: - - '**.md' - push: - branches: [ "release-0.5" ] - paths-ignore: - - '**.md' - -jobs: - test-tier1: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: start-minikube - uses: konveyor/tackle2-operator/.github/actions/start-minikube@main - with: - memory: 6500M - - name: install-tackle - uses: konveyor/tackle2-operator/.github/actions/install-tackle@main - - uses: actions/setup-go@v3 - with: - go-version: '1.19' - - name: Install dependencies - run: | - go install github.com/onsi/ginkgo/v2/ginkgo - - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier1 diff --git a/.github/workflows/main-tier1-0.4.yml b/.github/workflows/main-tier1-releases.yml similarity index 81% rename from .github/workflows/main-tier1-0.4.yml rename to .github/workflows/main-tier1-releases.yml index 290bf13..33b0b49 100644 --- a/.github/workflows/main-tier1-0.4.yml +++ b/.github/workflows/main-tier1-releases.yml @@ -1,12 +1,12 @@ -name: Test TIER1 release-0.4 +name: Test TIER1 release braches on: pull_request: - branches: [ "release-0.4" ] + branches: [ "release-0.5", "release-0.4", "release-0.3" ] paths-ignore: - '**.md' push: - branches: [ "release-0.4" ] + branches: [ "release-0.5", "release-0.4", "release-0.3" ] paths-ignore: - '**.md' diff --git a/.github/workflows/main-tier2-0.3.yml b/.github/workflows/main-tier2-0.3.yml deleted file mode 100644 index 7444264..0000000 --- a/.github/workflows/main-tier2-0.3.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Test TIER2 release-0.3 - -on: - pull_request: - branches: [ "release-0.3" ] - paths-ignore: - - '**.md' - push: - branches: [ "release-0.3" ] - paths-ignore: - - '**.md' - -jobs: - test-tier2: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: start-minikube - uses: konveyor/tackle2-operator/.github/actions/start-minikube@main - with: - memory: 6500M - - name: install-tackle - uses: konveyor/tackle2-operator/.github/actions/install-tackle@main - - uses: actions/setup-go@v3 - with: - go-version: '1.19' - - name: Install dependencies - run: | - go install github.com/onsi/ginkgo/v2/ginkgo - - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier2 diff --git a/.github/workflows/main-tier2-0.5.yml b/.github/workflows/main-tier2-0.5.yml deleted file mode 100644 index 4934440..0000000 --- a/.github/workflows/main-tier2-0.5.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Test TIER2 release-0.5 - -on: - pull_request: - branches: [ "release-0.5" ] - paths-ignore: - - '**.md' - push: - branches: [ "release-0.5" ] - paths-ignore: - - '**.md' - -jobs: - test-tier2: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: start-minikube - uses: konveyor/tackle2-operator/.github/actions/start-minikube@main - with: - memory: 6500M - - name: install-tackle - uses: konveyor/tackle2-operator/.github/actions/install-tackle@main - - uses: actions/setup-go@v3 - with: - go-version: '1.19' - - name: Install dependencies - run: | - go install github.com/onsi/ginkgo/v2/ginkgo - - run: HUB_BASE_URL="http://$(minikube ip)/hub" DEBUG=1 make test-tier2 diff --git a/.github/workflows/main-tier2-0.4.yml b/.github/workflows/main-tier2-releases.yml similarity index 81% rename from .github/workflows/main-tier2-0.4.yml rename to .github/workflows/main-tier2-releases.yml index 4338c9a..f848c5a 100644 --- a/.github/workflows/main-tier2-0.4.yml +++ b/.github/workflows/main-tier2-releases.yml @@ -1,12 +1,12 @@ -name: Test TIER2 release-0.4 +name: Test TIER2 release braches on: pull_request: - branches: [ "release-0.4" ] + branches: [ "release-0.5", "release-0.4", "release-0.3" ] paths-ignore: - '**.md' push: - branches: [ "release-0.4" ] + branches: [ "release-0.5", "release-0.4", "release-0.3" ] paths-ignore: - '**.md'