From 2aa78f342776b5f1923591916464caddf8104188 Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Mon, 15 Jul 2024 21:28:56 -0400 Subject: [PATCH] Rationalize naming of GHA workflow files Signed-off-by: Yuri Shkuro --- ...one-build.yml => ci-docker-all-in-one.yml} | 0 .../{ci-hotrod.yml => ci-docker-hotrod.yml} | 0 .../{ci-badger.yaml => ci-e2e-badger.yaml} | 0 ...{ci-cassandra.yml => ci-e2e-cassandra.yml} | 0 ...ticsearch.yml => ci-e2e-elasticsearch.yml} | 0 .../{ci-grpc.yml => ci-e2e-grpc.yml} | 0 .../{ci-kafka.yml => ci-e2e-kafka.yml} | 0 ...i-opensearch.yml => ci-e2e-opensearch.yml} | 0 .../{ci-build-spm.yml => ci-e2e-spm.yml} | 0 ...nfig.yml => ci-lint-dependabot-config.yml} | 0 ...rotogen-tests.yml => ci-lint-protogen.yml} | 0 .github/workflows/ci-release-testing.yml | 95 ------------------- .../{ci-label-check.yml => label-check.yml} | 0 13 files changed, 95 deletions(-) rename .github/workflows/{ci-all-in-one-build.yml => ci-docker-all-in-one.yml} (100%) rename .github/workflows/{ci-hotrod.yml => ci-docker-hotrod.yml} (100%) rename .github/workflows/{ci-badger.yaml => ci-e2e-badger.yaml} (100%) rename .github/workflows/{ci-cassandra.yml => ci-e2e-cassandra.yml} (100%) rename .github/workflows/{ci-elasticsearch.yml => ci-e2e-elasticsearch.yml} (100%) rename .github/workflows/{ci-grpc.yml => ci-e2e-grpc.yml} (100%) rename .github/workflows/{ci-kafka.yml => ci-e2e-kafka.yml} (100%) rename .github/workflows/{ci-opensearch.yml => ci-e2e-opensearch.yml} (100%) rename .github/workflows/{ci-build-spm.yml => ci-e2e-spm.yml} (100%) rename .github/workflows/{validate-dependabot-config.yml => ci-lint-dependabot-config.yml} (100%) rename .github/workflows/{ci-protogen-tests.yml => ci-lint-protogen.yml} (100%) delete mode 100644 .github/workflows/ci-release-testing.yml rename .github/workflows/{ci-label-check.yml => label-check.yml} (100%) diff --git a/.github/workflows/ci-all-in-one-build.yml b/.github/workflows/ci-docker-all-in-one.yml similarity index 100% rename from .github/workflows/ci-all-in-one-build.yml rename to .github/workflows/ci-docker-all-in-one.yml diff --git a/.github/workflows/ci-hotrod.yml b/.github/workflows/ci-docker-hotrod.yml similarity index 100% rename from .github/workflows/ci-hotrod.yml rename to .github/workflows/ci-docker-hotrod.yml diff --git a/.github/workflows/ci-badger.yaml b/.github/workflows/ci-e2e-badger.yaml similarity index 100% rename from .github/workflows/ci-badger.yaml rename to .github/workflows/ci-e2e-badger.yaml diff --git a/.github/workflows/ci-cassandra.yml b/.github/workflows/ci-e2e-cassandra.yml similarity index 100% rename from .github/workflows/ci-cassandra.yml rename to .github/workflows/ci-e2e-cassandra.yml diff --git a/.github/workflows/ci-elasticsearch.yml b/.github/workflows/ci-e2e-elasticsearch.yml similarity index 100% rename from .github/workflows/ci-elasticsearch.yml rename to .github/workflows/ci-e2e-elasticsearch.yml diff --git a/.github/workflows/ci-grpc.yml b/.github/workflows/ci-e2e-grpc.yml similarity index 100% rename from .github/workflows/ci-grpc.yml rename to .github/workflows/ci-e2e-grpc.yml diff --git a/.github/workflows/ci-kafka.yml b/.github/workflows/ci-e2e-kafka.yml similarity index 100% rename from .github/workflows/ci-kafka.yml rename to .github/workflows/ci-e2e-kafka.yml diff --git a/.github/workflows/ci-opensearch.yml b/.github/workflows/ci-e2e-opensearch.yml similarity index 100% rename from .github/workflows/ci-opensearch.yml rename to .github/workflows/ci-e2e-opensearch.yml diff --git a/.github/workflows/ci-build-spm.yml b/.github/workflows/ci-e2e-spm.yml similarity index 100% rename from .github/workflows/ci-build-spm.yml rename to .github/workflows/ci-e2e-spm.yml diff --git a/.github/workflows/validate-dependabot-config.yml b/.github/workflows/ci-lint-dependabot-config.yml similarity index 100% rename from .github/workflows/validate-dependabot-config.yml rename to .github/workflows/ci-lint-dependabot-config.yml diff --git a/.github/workflows/ci-protogen-tests.yml b/.github/workflows/ci-lint-protogen.yml similarity index 100% rename from .github/workflows/ci-protogen-tests.yml rename to .github/workflows/ci-lint-protogen.yml diff --git a/.github/workflows/ci-release-testing.yml b/.github/workflows/ci-release-testing.yml deleted file mode 100644 index bb586982118..00000000000 --- a/.github/workflows/ci-release-testing.yml +++ /dev/null @@ -1,95 +0,0 @@ -name: Publish release - -on: - # allow running release workflow manually - workflow_dispatch: - -# See https://github.com/jaegertracing/jaeger/issues/4017 -permissions: - contents: read - -jobs: - publish-release: - permissions: - contents: write - - runs-on: ubuntu-latest - - steps: - - - name: Disk size - run: df -g / - - - name: Harden Runner - uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 - with: - egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - with: - submodules: true - - - name: Fetch git tags - run: | - git fetch --prune --unshallow --tags - - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.22.x - - - name: Setup Node.js version - uses: ./.github/actions/setup-node.js - - - name: Export BRANCH variable and validate it is a semver - # Many scripts depend on BRANCH variable. We do not want to - # use ./.github/actions/setup-branch here because it may set - # BRANCH=main when the workflow is triggered manually. - run: | - BRANCH=$(make echo-version) - echo "BRANCH=${BRANCH}" >> ${GITHUB_ENV} - echo Validate that the latest tag ${BRANCH} is in semver format - echo ${BRANCH} | grep -E '^v[0-9]+.[0-9]+.[0-9]+$' - - - name: Install tools - run: make install-ci - - - name: Configure GPG Key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.GPG_PASSPHRASE }} - - - name: Build binaries - run: make build-all-platforms - - - name: Package binaries - id: package-binaries - run: bash scripts/package-deploy.sh - - - uses: docker/setup-qemu-action@5927c834f5b4fdf503fca6f4c7eccda82949e1ee # v3.1.0 - - - name: Build all container images (do not push) - run: bash scripts/build-upload-docker-images.sh -l - env: - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }} - - - name: Build and test all-in-one image (do not push) - run: bash scripts/build-all-in-one-image.sh -l - env: - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }} - - - name: Build, test, and publish hotrod image - run: bash scripts/hotrod-integration-test.sh - env: - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }} - - - name: Generate SBOM - uses: anchore/sbom-action@d94f46e13c6c62f59525ac9a1e147a99dc0b9bf5 # v0.17.0 - with: - output-file: jaeger-SBOM.spdx.json - upload-release-assets: false - upload-artifact: false diff --git a/.github/workflows/ci-label-check.yml b/.github/workflows/label-check.yml similarity index 100% rename from .github/workflows/ci-label-check.yml rename to .github/workflows/label-check.yml