Skip to content

[db] Create authorization db, if not exists #16004

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

Closed
wants to merge 1 commit into from
Closed

Conversation

easyCZ
Copy link
Member

@easyCZ easyCZ commented Jan 24, 2023

Description

Creates authorization in DB, if not exists. This DB will store spicedb authorization data.

Related Issue(s)

How to test

Preview comes up

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

@easyCZ easyCZ requested review from a team January 24, 2023 12:09
@werft-gitpod-dev-com
Copy link

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

@github-actions github-actions bot added team: SID team: webapp Issue belongs to the WebApp team labels Jan 24, 2023
@easyCZ easyCZ force-pushed the mp/authorization-db branch 2 times, most recently from fbbebc9 to 0044e94 Compare January 24, 2023 16:03
@easyCZ
Copy link
Member Author

easyCZ commented Jan 24, 2023

/werft run

👍 started the job as gitpod-build-mp-authorization-db.4
(with .werft/ from main)

@easyCZ
Copy link
Member Author

easyCZ commented Jan 24, 2023

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

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

@easyCZ easyCZ force-pushed the mp/authorization-db branch from 0044e94 to 8b76e0b Compare January 24, 2023 20:10
@roboquat roboquat added size/XS and removed size/S labels Jan 24, 2023
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-mp-authorization-db.9 because the annotations in the pull request description changed
(with .werft/ from main)

@easyCZ
Copy link
Member Author

easyCZ commented Jan 25, 2023

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

👍 started the job as gitpod-build-mp-authorization-db.10
(with .werft/ from main)

@easyCZ
Copy link
Member Author

easyCZ commented Jan 25, 2023

/werft run

👍 started the job as gitpod-build-mp-authorization-db.11
(with .werft/ from main)

@easyCZ easyCZ force-pushed the mp/authorization-db branch from bcff16e to 41f8e1a Compare January 25, 2023 09:04
@easyCZ easyCZ force-pushed the mp/authorization-db branch from 41f8e1a to d98d68f Compare January 25, 2023 09:16
@roboquat roboquat added size/S and removed size/XS 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-authorization-db.17
(with .werft/ from main)

@easyCZ
Copy link
Member Author

easyCZ commented Jan 25, 2023

Can confirm DB is created

mysql -h 127.0.0.1 -P 3306 -u user -D gitpod --select-limit=200 --safe-updates -p
mysql> use authorization;
Database changed
mysql> 

@easyCZ easyCZ closed this Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants