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
2 changes: 1 addition & 1 deletion helm-charts/opentaco/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ dependencies:

# Taco UI - React frontend
- name: taco-ui
version: "0.1.1"
version: "0.1.0"
repository: "oci://ghcr.io/diggerhq/helm-charts"
condition: taco-ui.enabled
tags:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/opentaco/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ taco-ui:
ui:
image:
repository: taco-ui
tag: "latest"
tag: "v0.1.0"

replicaCount: 1

Expand Down
4 changes: 2 additions & 2 deletions taco/Dockerfile_statesman
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ FROM ubuntu:24.04 AS runner
ARG COMMIT_SHA
WORKDIR /app

# Install ca-certificates, curl for HTTPS requests
# Install ca-certificates, curl, jq for HTTPS requests and URL encoding
RUN apt-get update && \
apt-get install -y ca-certificates curl && \
apt-get install -y ca-certificates curl jq && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down
5 changes: 3 additions & 2 deletions taco/Dockerfile_token_service
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ COPY cmd/token_service/ ./cmd/token_service/
COPY internal/ ./internal/

# Download dependencies and build
# Note: CGO is required for SQLite support
RUN cd cmd/token_service && \
go mod tidy && \
CGO_ENABLED=0 GOOS=linux go build \
CGO_ENABLED=1 GOOS=linux go build \
-ldflags="-X 'main.Version=${COMMIT_SHA}' -s -w" \
-a -installsuffix cgo \
-a \
-o token_service .

# Multi-stage build - use a minimal image for runtime
Expand Down
4 changes: 3 additions & 1 deletion taco/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ atlas migrate hash --dir "file:///app/migrations/sqlite" 2>/dev/null || true
case $BACKEND in
postgres)
echo "Applying PostgreSQL migrations..."
DB_URL="postgres://${OPENTACO_POSTGRES_USER}:${OPENTACO_POSTGRES_PASSWORD}@${OPENTACO_POSTGRES_HOST}:${OPENTACO_POSTGRES_PORT}/${OPENTACO_POSTGRES_DATABASE}?sslmode=${OPENTACO_POSTGRES_SSLMODE:-disable}"
# URL-encode the password to handle special characters
ENCODED_PASSWORD=$(printf '%s' "$OPENTACO_POSTGRES_PASSWORD" | jq -sRr @uri)
DB_URL="postgres://${OPENTACO_POSTGRES_USER}:${ENCODED_PASSWORD}@${OPENTACO_POSTGRES_HOST}:${OPENTACO_POSTGRES_PORT}/${OPENTACO_POSTGRES_DATABASE}?sslmode=${OPENTACO_POSTGRES_SSLMODE:-disable}"
atlas migrate apply --url "$DB_URL" --dir "file:///app/migrations/postgres"
;;
mysql)
Expand Down
Loading