Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/pulsar integration #13

Merged
merged 6 commits into from
Dec 14, 2024
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
7 changes: 7 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,20 @@ jobs:
type=raw,value=latest
type=sha,prefix=,suffix=,format=long

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
file: ./Dockerfile
build-args: |
POLIGONO_VERSION=${{ github.ref_name }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-X main.version=${POLIGONO_VERSION}" -o ./bin/vega-core ./server.go

FROM busybox:1.35.0-uclibc as busybox
FROM busybox:1.35.0-uclibc AS busybox

FROM gcr.io/distroless/base-debian11 AS build-release-stage

Expand Down
30 changes: 0 additions & 30 deletions docker-compose.yml

This file was deleted.

4 changes: 2 additions & 2 deletions internal/models/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type PostgreSQLSecret struct {
User string `json:"username" validate:"required"`
Database string `json:"database" validate:"required"`
Password string `json:"password" validate:"required"`
SSL bool `json:"ssl" validate:"required,boolean"`
SSL bool `json:"ssl" validate:"boolean"`
}

type MySQLSecret struct {
Expand All @@ -54,5 +54,5 @@ type MySQLSecret struct {
User string `json:"username" validate:"required"`
Database string `json:"database" validate:"required"`
Password string `json:"password" validate:"required"`
SSL bool `json:"ssl" validate:"required,boolean"`
SSL bool `json:"ssl" validate:"boolean"`
}
Loading