Skip to content

[db] Enable spicedb in preview envs #16006

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

Merged
merged 1 commit into from
Jan 26, 2023
Merged

[db] Enable spicedb in preview envs #16006

merged 1 commit into from
Jan 26, 2023

Conversation

easyCZ
Copy link
Member

@easyCZ easyCZ commented Jan 24, 2023

Description

Configures and deploys spice db in preview envs

Related Issue(s)

Fixes #15951

How to test

  1. Preview
kubectl get po 

...
spicedb-5569847b47-bccnh             1/1     Running     1 (14m ago)   15m
...

Release Notes

NONE

Documentation

Build Options:

  • /werft with-github-actions
    Experimental feature to run the build with GitHub Actions (and not in Werft).
  • leeway-no-cache
    leeway-target=components:all-ci
  • /werft no-test
    Run Leeway with --dont-test

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-mp-spicedb-preview.1 because the annotations in the pull request description changed
(with .werft/ from main)

@easyCZ easyCZ force-pushed the mp/spicedb-preview branch 2 times, most recently from cff1aea to a288495 Compare January 25, 2023 09:17
@easyCZ easyCZ changed the base branch from main to mp/authorization-db January 25, 2023 09:17
@roboquat roboquat added size/S and removed size/M labels Jan 25, 2023
@easyCZ
Copy link
Member Author

easyCZ commented Jan 25, 2023

/werft run with-clean-slate-deployment=true

👍 started the job as gitpod-build-mp-spicedb-preview.5
(with .werft/ from main)

@roboquat roboquat added size/M and removed size/S labels Jan 25, 2023
@easyCZ easyCZ changed the base branch from mp/authorization-db to main January 26, 2023 09:34
@easyCZ easyCZ force-pushed the mp/spicedb-preview branch from ab51f2e to c4cac34 Compare January 26, 2023 09:37
@roboquat roboquat added size/S and removed size/M labels Jan 26, 2023
@easyCZ easyCZ force-pushed the mp/spicedb-preview branch from c4cac34 to 6688c6a Compare January 26, 2023 09:38
@roboquat roboquat added size/L and removed size/S labels Jan 26, 2023
@easyCZ easyCZ force-pushed the mp/spicedb-preview branch from 31ffb04 to cf99596 Compare January 26, 2023 10:25
@easyCZ easyCZ marked this pull request as ready for review January 26, 2023 10:26
@easyCZ easyCZ requested review from a team January 26, 2023 10:26
@github-actions github-actions bot added team: SID team: webapp Issue belongs to the WebApp team labels Jan 26, 2023
return nil, nil
}

if cfg.DisableMigrations {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of curiosity: in which cases would you want to disable migrations?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do this for the CloudSQL in SaaS case where we manage the migrations (across regions) ourselves. Mostly wanted to have the option in case we need it

@roboquat roboquat merged commit 035f659 into main Jan 26, 2023
@roboquat roboquat deleted the mp/spicedb-preview branch January 26, 2023 10:52
@roboquat roboquat added the deployed: webapp Meta team change is running in production label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production release-note-none size/L team: SID team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deploy SpiceDB into preview environments
4 participants