mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
licensing: fix setup for creating license keys locally and for testing features in a local instance (#41150)
Fix function to generate license key; add env var to the repo-updater
This commit is contained in:
parent
2ad6d9809c
commit
5e42f789a4
@ -68,7 +68,7 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
licenseKey, err := license.GenerateSignedKey(info, privateKey)
|
||||
licenseKey, _, err := license.GenerateSignedKey(info, privateKey)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
@ -249,7 +249,9 @@ commands:
|
||||
- cmd/repo-updater
|
||||
|
||||
repo-updater:
|
||||
cmd: .bin/repo-updater
|
||||
cmd: |
|
||||
export SOURCEGRAPH_LICENSE_GENERATION_KEY=$(cat ../dev-private/enterprise/dev/test-license-generation-key.pem)
|
||||
.bin/repo-updater
|
||||
install: |
|
||||
if [ -n "$DELVE" ]; then
|
||||
export GCFLAGS='all=-N -l'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user