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
14 changes: 8 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,22 @@ jobs:
matrix:
include:
- platform: linux
runner: depot-ubuntu-24.04
runner: depot-ubuntu-24.04-4
target: x86_64-unknown-linux-musl
binary_ext: ""
arch: x86_64
- platform: windows
runner: depot-ubuntu-24.04
runner: depot-ubuntu-24.04-4
target: x86_64-pc-windows-gnu
binary_ext: ".exe"
arch: x86_64
- platform: macos
runner: depot-ubuntu-24.04
runner: depot-ubuntu-24.04-4
target: x86_64-apple-darwin
binary_ext: ""
arch: x86_64
- platform: macos
runner: depot-ubuntu-24.04
runner: depot-ubuntu-24.04-4
target: aarch64-apple-darwin
binary_ext: ""
arch: aarch64
Expand Down Expand Up @@ -155,10 +155,10 @@ jobs:
include:
# TODO(RVT-4479): Add back ARM builder once manifest generation fixed
# - platform: linux/arm64
# runner: depot-ubuntu-24.04
# runner: depot-ubuntu-24.04-4
# arch_suffix: -arm64
- platform: linux/x86_64
runner: depot-ubuntu-24.04
runner: depot-ubuntu-24.04-4
# TODO: Replace with appropriate arch_suffix when needed
# arch_suffix: -amd64
arch_suffix: ''
Expand Down Expand Up @@ -193,6 +193,7 @@ jobs:
platforms: ${{ matrix.platform }}
build-args: |
BUILD_FRONTEND=true
CARGO_BUILD_MODE=release
# secrets: |
# fontawesome_package_token=${{ secrets.FONTAWESOME_PACKAGE_TOKEN }}
# secret-files: |
Expand All @@ -209,6 +210,7 @@ jobs:
platforms: ${{ matrix.platform }}
build-args: |
BUILD_FRONTEND=true
CARGO_BUILD_MODE=release
# secrets: |
# fontawesome_package_token=${{ secrets.FONTAWESOME_PACKAGE_TOKEN }}
# secret-files: |
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resolver = "2"
members = ["packages/common/api-builder","packages/common/api-types","packages/common/api-util","packages/common/cache/build","packages/common/cache/result","packages/common/clickhouse-inserter","packages/common/clickhouse-user-query","packages/common/config","packages/common/env","packages/common/error/core","packages/common/error/macros","packages/common/gasoline/core","packages/common/gasoline/macros","packages/common/logs","packages/common/metrics","packages/common/pools","packages/common/runtime","packages/common/service-manager","packages/common/telemetry","packages/common/test-deps","packages/common/test-deps-docker","packages/common/types","packages/common/universaldb","packages/common/universalpubsub","packages/common/util/core","packages/common/util/id","packages/common/versioned-data-util","packages/core/actor-kv","packages/core/api-peer","packages/core/api-public","packages/core/bootstrap","packages/core/dump-openapi","packages/core/guard/core","packages/core/guard/server","packages/core/pegboard-gateway","packages/core/pegboard-runner-ws","packages/core/pegboard-serverless","packages/core/pegboard-tunnel","packages/core/workflow-worker","packages/infra/engine","packages/services/epoxy","packages/services/internal","packages/services/namespace","packages/services/pegboard","sdks/rust/api-full","sdks/rust/bare_gen","sdks/rust/data","sdks/rust/epoxy-protocol","sdks/rust/runner-protocol","sdks/rust/tunnel-protocol","sdks/rust/ups-protocol"]

[workspace.package]
version = "25.7.0"
version = "25.7.1"
edition = "2024"
authors = ["Rivet Gaming, LLC <[email protected]>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion docker/engine/linux-aarch64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM rust:1.88.0 AS base

ARG BUILD_FRONTEND=true
ARG VITE_APP_API_URL
ARG VITE_APP_API_URL=__SAME__

# Install dependencies
RUN apt-get update && apt-get install -y \
Expand Down
2 changes: 1 addition & 1 deletion docker/engine/linux-x86_64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM rust:1.88.0 AS base

ARG BUILD_FRONTEND=true
ARG VITE_APP_API_URL
ARG VITE_APP_API_URL=__SAME__

# Install dependencies
RUN apt-get update && apt-get install -y \
Expand Down
2 changes: 1 addition & 1 deletion docker/engine/macos-aarch64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM rust:1.88.0 AS base

ARG BUILD_FRONTEND=true
ARG VITE_APP_API_URL
ARG VITE_APP_API_URL=__SAME__

# Install dependencies
RUN apt-get update && apt-get install -y \
Expand Down
2 changes: 1 addition & 1 deletion docker/engine/macos-x86_64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM rust:1.88.0 AS base

ARG BUILD_FRONTEND=true
ARG VITE_APP_API_URL
ARG VITE_APP_API_URL=__SAME__

# Install dependencies
RUN apt-get update && apt-get install -y \
Expand Down
2 changes: 1 addition & 1 deletion docker/engine/windows.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM rust:1.88.0

ARG BUILD_FRONTEND=true
ARG VITE_APP_API_URL
ARG VITE_APP_API_URL=__SAME__

# Install dependencies
RUN apt-get update && apt-get install -y \
Expand Down
23 changes: 9 additions & 14 deletions docker/universal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ FROM --platform=linux/amd64 rust:1.88.0-bookworm AS builder
ARG TARGETARCH

ARG BUILD_FRONTEND=false
ARG VITE_APP_API_URL
ARG CARGO_BUILD_MODE=debug
ARG VITE_APP_API_URL=__SAME__

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && \
Expand Down Expand Up @@ -65,10 +66,14 @@ RUN \
--mount=type=cache,target=/usr/local/cargo/registry,id=univseral-cargo-registry \
--mount=type=cache,target=/app/target,id=univseral-target \
--mount=type=cache,target=/root/.cache,id=universal-user-cache \
RUSTFLAGS="--cfg tokio_unstable" cargo build --bin rivet-engine && \
if [ "$CARGO_BUILD_MODE" = "release" ]; then \
RUSTFLAGS="--cfg tokio_unstable" cargo build --bin rivet-engine --release; \
else \
RUSTFLAGS="--cfg tokio_unstable" cargo build --bin rivet-engine; \
fi && \
# cargo install --locked tokio-console && \
mkdir /app/dist/ && \
cp target/debug/rivet-engine /app/dist/
cp target/$CARGO_BUILD_MODE/rivet-engine /app/dist/

# MARK: Engine (full, base)
FROM --platform=linux/amd64 debian:12.9-slim AS engine-full-base
Expand All @@ -78,23 +83,13 @@ ARG TARGETARCH

ENV DEBIAN_FRONTEND=noninteractive
# - Install curl for health checks
# - Install go-migrate for running migrations
# - Install database clients to be able to run `rivet db shell ...` (Redis, Postgres, ClickHouse)
RUN apt-get update -y && \
apt-get install -y \
ca-certificates \
openssl \
curl \
# redis-tools \
# postgresql-client \
gpg \
dirmngr && \
# curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg && \
# echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main" | tee /etc/apt/sources.list.d/clickhouse.list && \
# apt-get update -y && \
# apt-get install -y clickhouse-client && \
# (curl -L https://github.com/golang-migrate/migrate/releases/download/v4.18.1/migrate.linux-amd64.tar.gz | tar xvz) && \
# mv migrate /usr/local/bin/migrate && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
if [ "$TARGETARCH" = "arm64" ]; then \
Expand All @@ -106,7 +101,7 @@ RUN apt-get update -y && \
# MARK: Engine (Full)
FROM --platform=linux/amd64 engine-full-base AS engine-full

LABEL org.opencontainers.image.source https://github.com/rivet-gg/rivet
LABEL org.opencontainers.image.source=https://github.com/rivet-gg/rivet

COPY --from=builder /app/dist/rivet-engine /usr/bin/rivet-engine

Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@rivet-gg/components",
"private": true,
"version": "25.7.0",
"version": "25.7.1",
"type": "module",
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rivet-gg/icons",
"version": "25.7.0",
"version": "25.7.1",
"sideEffects": false,
"files": [
"scripts",
Expand Down
2 changes: 1 addition & 1 deletion sdks/typescript/api-full/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdks/typescript/runner-protocol/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdks/typescript/runner/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdks/typescript/test-runner/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdks/typescript/tunnel-protocol/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading