Commit Graph

93 Commits

Author SHA1 Message Date
Elio Bischof
4014c017fa
ci: ignore some changes for tests (#4152)
* ci: ignore some changes for tests

* is check ok?

* match all .md files

* is check ok?

* is check ok?

* avoid skipped but required checks

* document test-docs.yml workflow

* cleanup check tests

* trigger check

* revert readme changes

* respect changes in /tools/ for tests

Co-authored-by: Livio Spring <livio.a@gmail.com>
2022-08-11 08:06:25 +00:00
Christian Jakob
33e4c5c151
chore: added multiple browser support (#4161)
* chore: added multiple browser support

* chore: use matrix for parallel jobs

* fix: browsername
2022-08-10 17:24:19 +02:00
Livio Spring
90cec44de4
chore: remove stale bot (#4156) 2022-08-10 06:55:10 +00:00
Livio Spring
c5b4441373
chore: add stale bot (#4153) 2022-08-09 16:14:16 +02:00
Elio Bischof
52f098e6ad
fix e2e workflow (#4133)
* fix e2e workflow

* configure registry once
2022-08-05 20:23:10 +02:00
Max Peintner
fc99ec87c5
ci(e2e): Run Tests in Pipelines (#3903)
* cy10 changes

* test: setup local e2e env

* test(e2e): migrate e2e setup

* add more config

* make e2e setup work

* align variables

* fix config

* skip mfa

* set user register to false

* read ids from database if not provided

* don't read ids withing env file

* fix escaping in id queries

* fix project root

* export projectRoot path

* export projectRoot

* add e2e-setup.sh

* specify GOOS and GOARCH for dockerfile compatible binary

* add org default redirect uri

* correctly initialize org policy

* await ids

* fix awaiting ids

* fix cypress configuration

* fix some tests

* initial compose setup

* fix working directory

* fix references

* make tests less flaky

* run go tests

* compose works until e2e-setup incl

* pass created e2e sa key

* make cypress run

* derive e2e orgs domain from baseurl

* use host from baseurl for setup ctx

* move defaults.yaml back to cmd pkg

* just create org owner

* Don't render element if no roles are passed

* use map instead of switchMap

* fix e2e tests

* added testdata for e3e

* zipped dump

* removed dumpDir

* cypress workflow with compose

* quote name

* cleanup vars

* eliminate need for e2e setup

* compose has no builds anymore

* use compose run and zitadel nw

* test e2e on pr (#4114)

* test e2e on pr

* install goreleaser

* install npm dev dependencies

* run cypress wf

* dynamic release version

* skip flaky user tests

* skip flaky permissions test

* cache docker layers in pipeline

* Update .github/workflows/cypress.yml

Co-authored-by: Florian Forster <florian@caos.ch>

* align goreleaser version

* get rid of install.sh

* remove cypress-terminal-report

* Revert "remove cypress-terminal-report"

This reverts commit 254b5a1f87.

* just one npm e2e:build command

* cache npm dependencies

* install node modules using docker

* dedicated e2e context

* fix syntax

* don't copy node modules from goreleaser

* add npm-copy target

* add tsconfig.json

* remove docker caching

* deleted unneeded shellscript

* naming and cleanup

Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Christian Jakob <christian@caos.ch>

* cleanup

Co-authored-by: Elio Bischof <eliobischof@gmail.com>
Co-authored-by: Christian Jakob <christian@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-05 20:00:46 +02:00
Christian Jakob
5fb73c15e8
chore: copy multiarchitecture manifests (#4115)
* chore: copy multichannel manifests

* use all option

Co-authored-by: Florian Forster <florian@caos.ch>

Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-04 11:30:28 +02:00
Christian Jakob
7020b59f1d
chore: Release channels action to create stable images (#4110)
* feat: testing skopeo and introduce stable container

* yaml syntax

* yaml syntax

* testing release

* corrected docker images path

* set release to 2.0.0 to test copy

* reset channel

* create stable images

* feat: create release channels for docker containers

* fix removed arch due to multiarch build

* chore: updated action name

* Update .github/workflows/release-channels.yml

Co-authored-by: Florian Forster <florian@caos.ch>

Co-authored-by: Florian Forster <florian@caos.ch>
2022-08-04 10:53:35 +02:00
Fabi
931152bb73
chore: Update issue templates (#3979) 2022-07-18 19:30:19 +00:00
Elio Bischof
8d0cf9f368
ci: publish releases (#3647)
* ci: publish releases

BREAKING CHANGE: 🧨 increment major version

* fix: release on v2-alpha

* remove test release channel

* fix: push to discord from goreleaser

* fix: Revert "remove test release channel"

This reverts commit a0c8ae8e03.

* fix: pass wh secrets

* fix: configure discord webhook

* fix: update goreleaser

* fix: env format

* remove test channel
2022-05-17 16:06:56 +02:00
Florian Forster
462fe10dab
fix(goreleaser): use app instead of pat (#3584)
* fix: problem when accessing tap repo

* fix(goreleaser): use app instead of pat

* fix from code review
2022-05-02 20:04:33 +00:00
Florian Forster
60019808fe
fix: problem when accessing tap repo (#3582) 2022-05-02 21:02:04 +02:00
Florian Forster
20f275f178
fix(goreleaser): token to access tap repo (#3580)
* chore(goreleaser): publish to discord and brew

* chore: rename caos to zitadel

* chore: remove console and grpc upload

* chore: access to tap repo

* fix(goreleaser): token to access tap repo
2022-05-02 15:20:30 +00:00
Florian Forster
2e97394246
fix: access to tap repo (#3577)
* chore(goreleaser): publish to discord and brew

* chore: rename caos to zitadel

* chore: remove console and grpc upload

* chore: access to tap repo
2022-05-02 16:32:21 +02:00
Florian Forster
a22efe6b83
chore(goreleaser): publish to discord and brew (#3576)
* chore(goreleaser): publish to discord and brew

* chore: rename caos to zitadel

* chore: remove console and grpc upload
2022-05-02 15:15:11 +02:00
Livio Amstutz
648dd34b0c
chore(coverage): upload code coverage correctly (#3568) 2022-05-02 12:31:49 +02:00
Livio Amstutz
a3fb49db2c
chore: test angular on PR (#3541)
* chore: test angular on PR

* publish go test coverage

* fix gorelease

* update node version
2022-04-29 14:08:42 +02:00
Florian Forster
f9e79ef8fe
chore(v2): replace old codecov uploader (#3532)
* chore(v2): replace old codecov uploader

* Update .github/workflows/zitadel.yml
2022-04-28 16:35:29 +00:00
Florian Forster
fa9f581d56
chore(v2): move to new org (#3499)
* chore: move to new org

* logging

* fix: org rename caos -> zitadel

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2022-04-26 23:01:45 +00:00
Elio Bischof
20bdd8e3a1
feat: cloud-run compatibility (#3438)
* ci: don't run on tags anymore

* ci: also test docker builds

* .releaserc.js entry and wf dispatch for prerel

* .releaserc.js entry and wf dispatch for prerel

* create prerelease

* create prereleases

* fix syntax

* fix: release

* test before tag

* temporarily disable tests

* fix: prerelease

* fix: add --rm-dist flag

* fix: push to zitadel-common

* fix: gcr login

* fix: release

* fix: ignore generated assets.md

* fix: don't use go-releaser before hooks

* build grpc client before testing

* fix: use docker buildkit

* debug

* debug

* fix: debug

* fix: debug

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* fix: run action steps in $GOPATH

* unignore

* fix: unignore

* fix: unignore

* build base

* fix: ignore

* no mod proxy

* fix: test using goreleaser before hook

* fix: build without having a git tag

* fix: build without having a git tag

* fix: push to ghcr

* fix: login to ghcr

* fix: login to ghcr if releasing

* fix: permit to write packages

* fix: aesthetics

* fix: login using base64 encoded key

* fix: publish images with short sha and tag

* fix: read masterkey from file for start-from-init

* fix: release if workflow_dispatch or main

* ci: only test before tag

* fix: no workdir, login action for gcr

* fix: review

* fix: run on PR

* push amd64 images to gcr
2022-04-12 14:44:49 +00:00
Florian Forster
2f3a482ade
chore(ci): release pipeline for v2 (#3197)
* not working

* test ci

* correct path

* test

* test

* test

* remove k8s & test

* test

* test image

* typo

* test

* fix

* test

* fix

* test

* fix

* fix windows

* fix

* fix

* fix codecov

* fix with arch

* test

* test

* test

* test

* trial

* trial

* trial

* trial

* trial

* trial

* trial

* try

* try

* first improvement

* trial

* improve

* improve

* improve

* use bash

* trial

* random test

* wip

* test with goreleaser and semrel

* fix typo

* trial

* add buildx

* define default

* force buildkit

* use buildx

* debug GH docker

* use images

* debug docker

* work around image name issues

* trial

* test

* test with prebuilt image

* fix

* use load

* test

* use only docker

* trial

* test

* use load

* test

* test with docker driver

* trial

* trial

* trial

* use arm

* upload artifacts

* try to cache grpc base

* try to use a cache

* fall back

* test

* fix

* improve

* upload artifacts

* fix

* name things

* add tag if poc

* args for protos

* remove v2 build

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-02-14 14:35:16 +00:00
Livio Amstutz
2d208dd8ba
fix: remove operator (#3195) 2022-02-11 15:00:14 +01:00
Fabi
ead61d240d
Update issue templates task (#2981) 2022-01-12 09:44:32 +01:00
Fabi
cf4080ca6a
Update issue templates story (#2980) 2022-01-12 09:44:09 +01:00
Fabi
a4d79b901c
issue tempales (#2979) 2022-01-12 09:43:51 +01:00
Florian Forster
7f62b169ac
chore(actions): enable buildkit GHA cache again (#2482)
* chore(actions): enable buildkit GHA cache again

* Update .github/workflows/zitadel.yml
2021-10-26 10:31:24 +02:00
Livio Amstutz
b90d1cfaf8
chore(workflow): use event push only on main (#2381) 2021-09-23 10:04:46 +02:00
Livio Amstutz
4e1d42259c
chore(workflow): enable builds on PR (for forks) (#2364) 2021-09-14 13:43:37 +02:00
Elio Bischof
fbe0f311f2
feat: comprehensive sentry instrumentation (#2023)
* feat: comprehensive sentry instrumentation

* test: pass

* fix: only fetch zitadel dsn in zitadel-operator

* chore: use dns for sentry environment as soon as parsed

* fix: trust ca certs

* ci: update orbos

* docs: add usage data explanation

* fix: dont send validation errors

* docs: improve ingestion data explanation

* style: rename flag --disable-ingestion to --disable-analytics

* fix: pass --disable-analytics flag to self deployments

* fix: destroy command for sentry

* fix: update orbos

* fix: only switch environment if analytics is enabled

* fix: ensure SENTRY_DSN is always set

* test: test empty sentry dsn

* ci: invalidate build caches

* chore: use zitadel-dev if no version is passed

* chore: combine dev releases in sentry

* refactor: only check for semrel if sentry is enabled
2021-07-30 09:52:08 +00:00
Livio Amstutz
de9f88bf5b
fix: custom mail texts (#2101)
* fix: custom mail texts

* fix: custom mail texts

* disable cache

* enable cache again

* disable cache again

* comment
2021-07-29 12:29:09 +00:00
Florian Forster
451afada90
chore(actions): mode max with go build (#2086) 2021-07-28 09:45:44 +00:00
Max Peintner
b614869b75
docs: add nextjs to quickstarts (#2084)
* docs: update angular template link

* docs: add nextjs to quickstarts

* add to navigation

* nextjs is a framework

* add title

* reenable cache

Co-authored-by: Florian Forster <florian@caos.ch>
2021-07-28 09:24:22 +00:00
Florian Forster
6ad565bb6b
chore(actions): trigger rebuild to get rid of the broken GH cache (#2083)
* chore(actions): trigger rebuild to get rid of the broken GH cache

* Update zitadel.yml

* invalidate cache

* update action

* simplify caching scopes

* use mode max

* Update zitadel.yml
2021-07-28 09:56:58 +02:00
Florian Forster
8d96f1a895
fix(zitadel-image): refactor dockerfiles and gh action (#2027)
* early prototyp

* fix some errors

* remove docker image cache

* add comment

* add false

* typo

* test cache speed

* upload artifact

* remove tag

* seperate after build step

* debug

* debug

* debug

* debug

* debug

* test gh

* test

* test

* test

* test

* test golang

* test go

* test with release image

* fix

* use scratch to export

* test

* fix path

* ref

* typo

* debug

* test

* debug

* speed up docker

* test

* debug

* debug

* try scope

* test cache

* restore cache

* reenable operator build

* fix duplicate

* fix buildpush version

* test cache

* improve caching

* test release IF

* only run console and zitadel without dispatch

* test with reworked operator

* testing without release step

* lint yaml

* fix if

* improve wording

* enable release step & only notify sentry on main

* console from file system

* update docker file paths

* remove migration line

* add statik for operator

* console files using go 1.15

* fix console default path

* improve code QL

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-07-27 14:34:56 +02:00
Christian Jakob
cde29db571
fix: set version for sentry release (#1990)
* feat(send sentry release): send sentry release

* fix(moved step and added releasetag): moved step and added releasetag

* fix(corrected var name): corrected var name

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-07-08 04:00:42 +00:00
Christian Jakob
32e1fa2122
fix(sentry): trigger sentry release (#1989)
* feat(send sentry release): send sentry release

* fix(moved step and added releasetag): moved step and added releasetag
2021-07-07 14:05:00 +00:00
Livio Amstutz
4ecbb932e8
chore(issues): add links to discussions for feature requests (#1934)
* add links to discussions in issues

* delete feature request template

* add emoji to bug report template
2021-06-25 12:04:36 +02:00
Livio Amstutz
c93e3370d2
chore(dependencies): set labels for dependabot PR (#1930)
* chore(dependencies): set labels for dependabot PR

* Update dependabot.yml
2021-06-24 15:44:18 +00:00
Livio Amstutz
82ae9dd459
chore(workflow): add possibility for manual pipeline trigger (#1889) 2021-06-17 10:57:47 +02:00
Livio Amstutz
3062a6cf9b
chore(workflow): push images only on main branch (#1873)
* chore(workflow): push images only on CAOS repositories

* chore(workflow): push images only on CAOS repositories

* chore(workflow): push images only on CAOS repositories

* chore(workflow): push images only on CAOS repositories

* chore(workflow): push images only on not forked repositories

* print full repo name

* print full repo name

* print full repo name

* print full repo name

* print full repo name

* print full event

* print full event

* print full event

* use separate workflows for release and PR

* use separate workflows for release and PR
2021-06-16 12:01:29 +02:00
Livio Amstutz
1e1ded440c
chore(workflow): run on pullrequest (#1871) 2021-06-15 14:27:54 +02:00
dependabot[bot]
6ce4e83d36
chore(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2 (#1334)
* chore(deps): bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2

Bumps [github.com/nicksnyder/go-i18n/v2](https://github.com/nicksnyder/go-i18n) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/nicksnyder/go-i18n/releases)
- [Changelog](https://github.com/nicksnyder/go-i18n/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nicksnyder/go-i18n/compare/v2.1.1...v2.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

* update release-action

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Forster <florianÂ@caos.ch>
2021-06-01 07:45:59 +02:00
Livio Amstutz
f34b5b72b3
chore: add GH Token to sem rel (#1746)
* chore: add GH Token to sem rel

* try branch

* add GH Token

* remove test branch again
2021-05-19 08:11:42 +02:00
Florian Forster
18b8047097
chore: remove PAT and use GH Token (#1716)
* chore: remove PAT and use GH Token

* fix env

* fix env

* fix env

* md lint

* trigger ci

* change user

* fix GH bug

* replace login part
2021-05-19 06:41:40 +02:00
Silvan
eaf966e3d2
chore(dependabot): schedule time (#1679) 2021-04-27 10:20:20 +00:00
Florian Forster
c45624d6b8
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>
2021-04-23 09:40:13 +02:00
Elio Bischof
c0878e4509
feat(operator): make running ZITADEL easy (#1562)
* docs: describe crd mode

* docs: fix links

* docs: fix commands and crdb resources

* feat: add configure command

* chore: use latest ORBOS

* chore: use latest ORBOS

* docs: start gitops docs

* fix: compile

* chore: fix build script path

* chore: remove redundant prebuild

* chore: add configure.go

* docs: describe gitops mode

* docs: point template links to main branch

* docs: fix versions

* feat: initialize empty keys

* feat: reconfigure running ZITADEL

* docs: describe crd mode

* docs: fix links

* docs: fix commands and crdb resources

* feat: add configure command

* chore: use latest ORBOS

* chore: use latest ORBOS

* docs: start gitops docs

* fix: compile

* chore: fix build script path

* chore: remove redundant prebuild

* chore: add configure.go

* docs: describe gitops mode

* docs: point template links to main branch

* docs: fix versions

* feat: initialize empty keys

* feat: reconfigure running ZITADEL

* test: fix

* docs: keys are generated with configure

* docs: remove keys from template

* chore: pass compile time data

* chore: use latest ORBOS

* fix: when in-cluster, use in-cluster k8s client

* fix: try in-cluster config if kubeconfig is empty

* fix: reduce unneeded side effects for configure command

* docs: boom version

* chore: use latest ORBOS

* chore: use latest ORBOS

* initial commit

* inital changes

* commit WIP Information Architecture

* commit a working state

* add static assets and project

* add org and fix img names

* add plausible

* remove img

* change sidebar to easier mgmt

* add openid oauth and domains

* lint md

* quickstarts

* add auth flow

* identity brokering

* remove site

* fix broken links

* extend footer

* extend readme

* fix: styling

* fix: zitadel logo on index

* styling

* border

* fix: nav

* fix: nav

* fix: index

* fix: corrected zitadelctl examples

* fix: rename architecture to concepts

* fix: introductions

* fix: introductions

* fix: introductions

* docs: cli r/w secrets examples

* docs: finish ZITADEL Enterprise Cloud

* docs: mention ZITADEL Enterprise Cloud tier

* docs: comment configuration options

* docs: fix broken links

* docs: move some introduction texts around

* docs: twilio and email are mandatory

* docs: download latest binaries

Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: fabi <fabienne.gerschwiler@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: Stefan Benz <stefan@caos.ch>
2021-04-22 16:43:34 +00:00
Florian Forster
058018a9c0
chore: remove docusaurus from CI (#1594) 2021-04-16 08:13:12 +02:00
Florian Forster
dfc9488bb5
docs: rework documentation site (#1589)
* initial commit

* inital changes

* commit WIP Information Architecture

* commit a working state

* add static assets and project

* add org and fix img names

* add plausible

* remove img

* change sidebar to easier mgmt

* add openid oauth and domains

* lint md

* quickstarts

* add auth flow

* identity brokering

* remove site

* fix broken links

* extend footer

* extend readme

* fix: styling

* fix: zitadel logo on index

* styling

* border

* fix: nav

* fix: nav

* fix: index

* fix: rename architecture to concepts

* fix: introductions

* fix: introductions

* fix: introductions

* fix: get started

* fix: user manual

* fix: zitadel architecture

* fix: dead links

* add favicon

Co-authored-by: fabi <fabienne.gerschwiler@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-04-15 13:22:37 +02:00
Livio Amstutz
dd9f1d3c17
chore(workflow): run docs on any branch (#1580)
* chore(workflow): run docs on any branch

* Update README.md
2021-04-12 13:15:17 +02:00