diff --git a/.github/workflows/build-push-edge-debug.yaml b/.github/workflows/build-push-edge-debug.yaml index b48f71b17..075c31358 100644 --- a/.github/workflows/build-push-edge-debug.yaml +++ b/.github/workflows/build-push-edge-debug.yaml @@ -1,14 +1,8 @@ name: Build and push edge debug tag on: - push: - branches: - - 'main' - paths-ignore: - - 'docs/**' - - 'helm/**' - - 'assets/**' - - '**.md' + # Temporarily pause automatic image publishing. + workflow_dispatch: jobs: docker: diff --git a/.github/workflows/build-push-edge-kafka.yaml b/.github/workflows/build-push-edge-kafka.yaml index cfc3b2f36..8ef28d183 100644 --- a/.github/workflows/build-push-edge-kafka.yaml +++ b/.github/workflows/build-push-edge-kafka.yaml @@ -1,14 +1,8 @@ name: Build and push edge kafka tag on: - push: - branches: - - 'main' - paths-ignore: - - 'docs/**' - - 'helm/**' - - 'assets/**' - - '**.md' + # Temporarily pause automatic image publishing. + workflow_dispatch: jobs: docker: diff --git a/.github/workflows/build-push-edge.yaml b/.github/workflows/build-push-edge.yaml index c0c66c48e..cd787c45a 100644 --- a/.github/workflows/build-push-edge.yaml +++ b/.github/workflows/build-push-edge.yaml @@ -1,14 +1,8 @@ name: Build and push edge tag on: - push: - branches: - - 'main' - paths-ignore: - - 'docs/**' - - 'helm/**' - - 'assets/**' - - '**.md' + # Temporarily pause automatic image publishing. + workflow_dispatch: jobs: docker: diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 35fccba9e..daf6ba6ff 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,12 +1,8 @@ name: Ensure parseable builds on all release targets on: - pull_request: - paths-ignore: - - docs/** - - helm/** - - assets/** - - "**.md" + # Temporarily pause automatic builds for the release target matrix. + workflow_dispatch: # Cross preserves this absolute workspace path inside its build container. env: @@ -226,4 +222,4 @@ jobs: - name: Build with Kafka env: LIBRDKAFKA_SSL_VENDORED: "1" - run: cargo build --target aarch64-apple-darwin --features kafka --release \ No newline at end of file + run: cargo build --target aarch64-apple-darwin --features kafka --release diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 2e13d7116..b4a6a5e66 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -1,5 +1,6 @@ name: Frontend on: + workflow_dispatch: pull_request: paths: ['frontend/**', 'build.rs', '.github/workflows/frontend.yaml'] push: @@ -21,7 +22,9 @@ jobs: cache-dependency-path: frontend/package-lock.json - run: npm ci && npm run build - run: npm run package + if: github.event_name == 'workflow_dispatch' - name: Upload frontend package + if: github.event_name == 'workflow_dispatch' uses: actions/upload-artifact@v4 with: name: parseable-frontend diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e40ce3857..0d74f2d20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,21 +1,19 @@ # This workflow builds Parseable for Linux, Mac, Windows and Docker # and publishes the artifacts to the GitHub release page. -# It is triggered on push to tags that match the pattern vX.Y.Z -# where X, Y, Z are integers (e.g., v1.0.0, v2.3.4). +# Automatic tag builds are temporarily paused. Run this workflow manually +# with an existing release tag (e.g., v1.0.0, v2.3.4). # It also creates a checksum file for the artifacts and publishes it to the release page. # It also builds and pushes a Docker image to Docker Hub with the same version tag. name: Release builds for Linux(64 bit, Arm), Mac(64bit, Arm), Windows and Docker on: - push: - tags: - - v[0-9]+.[0-9]+.[0-9]+* - paths-ignore: - - "docs/**" - - "helm/**" - - "assets/**" - - "**.md" + workflow_dispatch: + inputs: + tag: + description: 'Existing release tag to build and publish (e.g., v3.2.5)' + required: true + type: string # Cross preserves this absolute workspace path inside its build container. env: @@ -29,6 +27,8 @@ jobs: contents: write steps: - uses: actions/checkout@v4 + with: + ref: refs/tags/${{ inputs.tag }} - name: Set up Node.js uses: actions/setup-node@v4 @@ -58,6 +58,7 @@ jobs: uses: softprops/action-gh-release@v0.1.15 with: draft: false + tag_name: ${{ inputs.tag }} files: | frontend/build.zip frontend/build.zip.sha1 @@ -82,6 +83,8 @@ jobs: use-cross: true steps: - uses: actions/checkout@v4 + with: + ref: refs/tags/${{ inputs.tag }} - name: Set up Node.js uses: actions/setup-node@v4 @@ -130,9 +133,9 @@ jobs: - name: Publish Archive to Release Page uses: softprops/action-gh-release@v0.1.15 - if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false + tag_name: ${{ inputs.tag }} files: Parseable_OSS_${{ matrix.target }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -146,6 +149,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: refs/tags/${{ inputs.tag }} - name: Set up Node.js uses: actions/setup-node@v4 @@ -186,9 +191,9 @@ jobs: - name: Publish Archive to Release Page uses: softprops/action-gh-release@v0.1.15 - if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false + tag_name: ${{ inputs.tag }} files: Parseable_OSS_x86_64-pc-windows-msvc.exe env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -207,6 +212,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: refs/tags/${{ inputs.tag }} - name: Set up Node.js uses: actions/setup-node@v4 @@ -250,9 +257,9 @@ jobs: - name: Publish Archive to Release Page uses: softprops/action-gh-release@v0.1.15 - if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false + tag_name: ${{ inputs.tag }} files: Parseable_OSS_${{ matrix.target }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -266,6 +273,8 @@ jobs: attestations: write steps: - uses: actions/checkout@v4 + with: + ref: refs/tags/${{ inputs.tag }} - name: Set up Node.js uses: actions/setup-node@v4 @@ -339,9 +348,9 @@ jobs: - name: Publish Archive to Release Page uses: softprops/action-gh-release@v0.1.15 - if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false + tag_name: ${{ inputs.tag }} files: Parseable_OSS_x86_64-unknown-linux-gnu-kafka env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -356,6 +365,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: refs/tags/${{ inputs.tag }} - name: Set up Node.js uses: actions/setup-node@v4 @@ -423,9 +434,9 @@ jobs: - name: Publish Archive to Release Page uses: softprops/action-gh-release@v0.1.15 - if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false + tag_name: ${{ inputs.tag }} files: Parseable_OSS_aarch64-apple-darwin-kafka env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -451,9 +462,9 @@ jobs: - name: Publish Check Sum to Release Page uses: softprops/action-gh-release@v0.1.15 - if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false + tag_name: ${{ inputs.tag }} files: checksum.txt env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -463,6 +474,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + ref: refs/tags/${{ inputs.tag }} - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -492,7 +505,7 @@ jobs: file: ./Dockerfile push: true tags: | - quay.io/parseablehq/parseable:${{ github.ref_name }} + quay.io/parseablehq/parseable:${{ inputs.tag }} quay.io/parseablehq/parseable:latest platforms: linux/amd64,linux/arm64 @@ -502,7 +515,7 @@ jobs: context: . file: ./Dockerfile.kafka push: true - tags: quay.io/parseablehq/parseable:${{ github.ref_name }}-kafka-amd64 + tags: quay.io/parseablehq/parseable:${{ inputs.tag }}-kafka-amd64 platforms: linux/amd64 build-args: | LIB_DIR=x86_64-linux-gnu @@ -513,7 +526,7 @@ jobs: context: . file: ./Dockerfile.kafka push: true - tags: quay.io/parseablehq/parseable:${{ github.ref_name }}-kafka-arm64 + tags: quay.io/parseablehq/parseable:${{ inputs.tag }}-kafka-arm64 platforms: linux/arm64 build-args: | LIB_DIR=aarch64-linux-gnu