Skip to content
Closed
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
11 changes: 6 additions & 5 deletions .github/workflows/build-push-edge-debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ name: Build and push edge debug tag
on:
push:
branches:
- 'main'
- "main"
paths-ignore:
- 'docs/**'
- 'helm/**'
- 'assets/**'
- '**.md'
- "assets/**"
- "docs/**"
- "helm/**"
- "scripts/**"
- "**.md"

jobs:
docker:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/build-push-edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ name: Build and push edge tag
on:
push:
branches:
- 'main'
- "main"
paths-ignore:
- 'docs/**'
- 'helm/**'
- 'assets/**'
- '**.md'
- "assets/**"
- "docs/**"
- "helm/**"
- "scripts/**"
- "**.md"

jobs:
docker:
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/integration-test.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/lint.yaml

This file was deleted.

79 changes: 79 additions & 0 deletions .github/workflows/pull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Integration

on:
pull_request:
paths-ignore:
- "assets/**"
- "docs/**"
- "helm/**"
- "scripts/**"
- "**.md"

jobs:
fmt:
name: Rust fmt and clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
with:
shared-key: "target-cache"
- run: rustup component add rustfmt clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings

unit-tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
with:
shared-key: "target-cache"
- uses: actions-rs/cargo@v1
with:
command: test

docker-compose-test:
name: Quest Smoke and Load Tests for Standalone deployments
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
shared-key: "target-cache"
- name: Start compose
run: docker compose -f docker-compose-test.yaml up --build --exit-code-from quest
- name: Stop compose
run: docker compose -f docker-compose-test.yaml down

docker-compose-distributed-test:
name: Quest Smoke and Load Tests for Distributed deployments
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
shared-key: "target-cache"
- name: Start compose
run: docker compose -f docker-compose-distributed-test.yaml up --build --exit-code-from quest
- name: Stop compose
run: docker compose -f docker-compose-distributed-test.yaml down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on:
tags:
- v[0-9]+.[0-9]+.[0-9]+*
paths-ignore:
- "assets/**"
- "docs/**"
- "helm/**"
- "assets/**"
- "scripts/**"
- "**.md"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# build stage
FROM rust:1.77.1-bookworm as builder
FROM rust:1.77.1-bookworm AS builder

LABEL org.opencontainers.image.title="Parseable"
LABEL maintainer="Parseable Team <hi@parseable.io>"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# build stage
FROM rust:1.77.1-bookworm as builder
FROM rust:1.77.1-bookworm AS builder

LABEL org.opencontainers.image.title="Parseable"
LABEL maintainer="Parseable Team <hi@parseable.io>"
Expand Down
Loading