diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe2ae2ca..5c3a2784 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,9 @@ name: Build Hub on: pull_request: - branches: [ "main" ] + paths-ignore: + - '**.md' + push: paths-ignore: - '**.md' @@ -94,4 +96,4 @@ jobs: uses: konveyor/ci/.github/workflows/global-ci.yml@main with: component_name: tackle2-hub - api_hub_tests_ref: refs/pull/${{ github.ref_name }} + api_hub_tests_ref: ${{ github.ref }} diff --git a/.github/workflows/test-addons.yml b/.github/workflows/test-addons.yml deleted file mode 100644 index f34b02af..00000000 --- a/.github/workflows/test-addons.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Test Addons - -on: - push: - branches: [ "main" ] - paths-ignore: - - '**.md' - -jobs: - test-addons: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Start minikube - uses: konveyor/tackle2-operator/.github/actions/start-minikube@main - - name: Build image in minikube - run: | - export SHELL=/bin/bash - eval $(minikube -p minikube docker-env) - make docker-build - - name: Install Tackle - uses: konveyor/tackle2-operator/.github/actions/install-tackle@main - with: - tackle-hub-image: tackle2-hub:latest - tackle-image-pull-policy: IfNotPresent - - name: Set host and namespace - run: | - echo "host=$(minikube ip)/hub" >> $GITHUB_ENV - echo "namespace=$(kubectl get tackles.tackle.konveyor.io --all-namespaces --no-headers | awk '{print $1}')" >> $GITHUB_ENV - - name: Test windup - uses: konveyor/tackle2-addon-windup/.github/actions/test-e2e-windup@main - with: - host: ${{ env.host }} - namespace: ${{ env.namespace }}