Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/build-push-edge-debug.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/build-push-edge-kafka.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/build-push-edge.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -226,4 +222,4 @@ jobs:
- name: Build with Kafka
env:
LIBRDKAFKA_SSL_VENDORED: "1"
run: cargo build --target aarch64-apple-darwin --features kafka --release
run: cargo build --target aarch64-apple-darwin --features kafka --release
3 changes: 3 additions & 0 deletions .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Frontend
on:
workflow_dispatch:
pull_request:
paths: ['frontend/**', 'build.rs', '.github/workflows/frontend.yaml']
push:
Expand All @@ -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
Expand Down
51 changes: 32 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down
Loading