mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-21 14:40:38 +00:00
run all in CI
This commit is contained in:
4
.github/workflows/ffo-test.yml
vendored
4
.github/workflows/ffo-test.yml
vendored
@@ -12,7 +12,7 @@ permissions:
|
||||
jobs:
|
||||
depot-gh-cache:
|
||||
timeout-minutes: 20
|
||||
runs-on: depot-ubuntu-22.04-16
|
||||
runs-on: depot-ubuntu-22.04-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -22,6 +22,6 @@ jobs:
|
||||
with:
|
||||
source: .
|
||||
push: false
|
||||
targets: build, lint ,core-unit
|
||||
targets: all
|
||||
no-cache: false
|
||||
load: false
|
@@ -4,7 +4,7 @@ ARG GOLANG_CI_VERSION=
|
||||
RUN apt-get update && apt-get install -y npm && npm install -g sass@${SASS_VERSION}
|
||||
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v${GOLANG_CI_VERSION}
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum Makefile buf.gen.yaml buf.work.yaml main.go .golangci.yaml ./
|
||||
COPY go.mod go.sum Makefile buf.gen.yaml buf.work.yaml main.go ./
|
||||
COPY cmd/ cmd/
|
||||
COPY internal/ internal/
|
||||
COPY openapi/ openapi/
|
||||
@@ -18,6 +18,7 @@ FROM base AS build
|
||||
RUN make compile_pipeline
|
||||
|
||||
FROM base AS lint
|
||||
COPY .golangci.yaml ./
|
||||
COPY .git/ ./.git/
|
||||
RUN make core_lint
|
||||
|
||||
|
@@ -6,6 +6,10 @@ variable "REGISTRY" {
|
||||
default = "ghcr.io/zitadel"
|
||||
}
|
||||
|
||||
group "all" {
|
||||
targets = ["build", "output", "lint", "image", "unit"]
|
||||
}
|
||||
|
||||
group "build" {
|
||||
targets = ["console-build", "core-build"]
|
||||
}
|
||||
@@ -22,6 +26,10 @@ group "image" {
|
||||
targets = ["console-image", "core-image"]
|
||||
}
|
||||
|
||||
group "unit" {
|
||||
targets = ["core-unit"]
|
||||
}
|
||||
|
||||
target "_console" {
|
||||
dockerfile = "Dockerfile.console"
|
||||
context = "."
|
||||
|
Reference in New Issue
Block a user