diff --git a/.github/workflows/b-binary-build-and-e2e-tests.yaml b/.github/workflows/b-binary-build-and-e2e-tests.yaml index 09f65177..c4d43cd6 100644 --- a/.github/workflows/b-binary-build-and-e2e-tests.yaml +++ b/.github/workflows/b-binary-build-and-e2e-tests.yaml @@ -102,7 +102,7 @@ on: jobs: wf-preparation: name: secret-validator - runs-on: ubuntu-latest + runs-on: ubuntu-latest-16-cores outputs: TEST_NAMES: ${{ steps.export_tests_to_env.outputs.TEST_NAMES }} is-secret-set: ${{ steps.check-secret-set.outputs.is-secret-set }} @@ -129,7 +129,7 @@ jobs: check-secret: name: check if QUAYIO_REGISTRY_USERNAME & QUAYIO_REGISTRY_PASSWORD is set in github secrets - runs-on: ubuntu-latest + runs-on: ubuntu-latest-16-cores outputs: is-secret-set: ${{ steps.check-secret-set.outputs.is-secret-set }} steps: @@ -146,7 +146,7 @@ jobs: needs: wf-preparation env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - runs-on: ubuntu-large + runs-on: ubuntu-latest-16-cores steps: - name: (debug) Step 1 - Check disk space before checkout run: df -h @@ -287,7 +287,7 @@ jobs: TEST: ${{ fromJson(needs.wf-preparation.outputs.TEST_NAMES) }} needs: [wf-preparation, binary-build] if: ${{ (needs.wf-preparation.outputs.is-secret-set == 'true') && (always() && (contains(needs.*.result, 'success') || contains(needs.*.result, 'skipped')) && !(contains(needs.*.result, 'failure')) && !(contains(needs.*.result, 'cancelled'))) }} - runs-on: ubuntu-latest # This cannot change + runs-on: ubuntu-latest-16-cores steps: - uses: actions/download-artifact@v4 id: download-artifact diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml deleted file mode 100644 index f71c2766..00000000 --- a/.github/workflows/build-image.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: build-image -permissions: read-all -on: - workflow_dispatch: - inputs: - CLIENT: - required: false - type: string - default: "test" - IMAGE_TAG: - required: true - type: string - CO_SIGN: - type: boolean - required: false - default: false - PLATFORMS: - type: boolean - required: false - default: false -jobs: - build-http-image: - permissions: - id-token: write - packages: write - contents: write - pull-requests: read - uses: kubescape/workflows/.github/workflows/incluster-comp-pr-merged.yaml@main - with: - IMAGE_NAME: quay.io/${{ github.repository_owner }}/kubescape - IMAGE_TAG: ${{ inputs.IMAGE_TAG }} - COMPONENT_NAME: kubescape - CGO_ENABLED: 0 - GO111MODULE: "on" - BUILD_PLATFORM: ${{ inputs.PLATFORMS && 'linux/amd64,linux/arm64' || 'linux/amd64' }} - GO_VERSION: "1.24" - REQUIRED_TESTS: '[]' - COSIGN: ${{ inputs.CO_SIGN }} - HELM_E2E_TEST: false - FORCE: true - secrets: inherit