From e330db31922d35cfc752832be0dcb26b712ab40f Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sun, 2 Aug 2020 16:17:31 +0200 Subject: [PATCH] feat: Add coreGCPProject, dockerRegistry constants --- docs/README.md | 18 ++++++++++++++++++ src/constants.ts | 11 +++++++++++ 2 files changed, 29 insertions(+) diff --git a/docs/README.md b/docs/README.md index 8f86f65..347727d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -15,8 +15,10 @@ ### Variables * [adminEmail](README.md#const-adminemail) +* [coreGCPProject](README.md#const-coregcpproject) * [coreStackRef](README.md#const-corestackref) * [coreZone](README.md#const-corezone) +* [dockerRegistry](README.md#const-dockerregistry) * [folderId](README.md#const-folderid) * [githubAdmin](README.md#const-githubadmin) * [githubOrg](README.md#const-githuborg) @@ -42,6 +44,14 @@ Default administrator email ___ +### `Const` coreGCPProject + +• **coreGCPProject**: *"tabetalt-core"* = "tabetalt-core" + +Core GCP Project + +___ + ### `Const` coreStackRef • **coreStackRef**: *"bjerk-simen/tabetalt-core"* = "bjerk-simen/tabetalt-core" @@ -58,6 +68,14 @@ Core Managed Zone ___ +### `Const` dockerRegistry + +• **dockerRegistry**: *string* = `eu.gcr.io/${coreGCPProject}` + +Docker registry + +___ + ### `Const` folderId • **folderId**: *"folders/92480390775"* = "folders/92480390775" diff --git a/src/constants.ts b/src/constants.ts index 41edeb5..eec8726 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -3,6 +3,11 @@ */ export const coreStackRef = 'bjerk-simen/tabetalt-core'; +/** + * Core GCP Project + */ +export const coreGCPProject = 'tabetalt-core'; + /** * Primary domain * eg. {env}.tabetalt.no @@ -48,7 +53,13 @@ export const version = 'v1' || process.env.VERSION; * Github Organization */ export const githubOrg = 'tabetalt'; + /** * Github Admin */ export const githubAdmin = 'cobraz'; + +/** + * Docker registry + */ +export const dockerRegistry = `eu.gcr.io/${coreGCPProject}`;