chore(pipeline): change caching keys (#1651)

* Update zitadel.yml

* use different files for hashing the keys

* use correct path for docker and hash the dockerfile

* use codecov within steps

* proper indenting

* rename steps

* fix duplicate name

* move dockerignore

* rename things

* codecov as pre step before the build

* ignore cache path

* debug

* Update .dockerignore

* debug

* debug

* debug

* debug

* debug

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Florian Forster
2021-04-23 09:40:13 +02:00
committed by GitHub
parent 324068f25a
commit c45624d6b8
4 changed files with 72 additions and 91 deletions

View File

@@ -1,16 +0,0 @@
.git
.codecov
.github
build/dockerfile
site
console/node_modules
console/src/app/proto/generated
console/tmp
.releaserc.js
.typo-ci.yml
CONTRIBUTING.md
LICENSE
README.md
SECURITY.md
pkg/grpc/*/*.pb.*
pkg/grpc/*/*.swagger.json

View File

@@ -117,7 +117,6 @@ FROM go-gen as go-base
# copy all zitadel files
COPY . .
#######################
## copy for local dev
#######################
@@ -133,7 +132,6 @@ COPY --from=go-gen /go/src/github.com/caos/zitadel/docs/apis/proto ./docs/docs/a
## Go test
#######################
FROM go-base as go-test
COPY . .
# Migrations for cockroach-secure
RUN go install github.com/rakyll/statik
@@ -141,7 +139,6 @@ RUN ./build/operator/prebuild.sh ./migrations
RUN go test -race -v -coverprofile=profile.cov $(go list ./... | grep -v /operator/)
#######################
## Go test results
#######################