Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

Commit

Permalink
feat: Add coreGCPProject, dockerRegistry constants
Browse files Browse the repository at this point in the history
  • Loading branch information
simenandre committed Aug 2, 2020
1 parent da4aad7 commit e330db3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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"
Expand All @@ -58,6 +68,14 @@ Core Managed Zone

___

### `Const` dockerRegistry

**dockerRegistry**: *string* = `eu.gcr.io/${coreGCPProject}`

Docker registry

___

### `Const` folderId

**folderId**: *"folders/92480390775"* = "folders/92480390775"
Expand Down
11 changes: 11 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}`;

0 comments on commit e330db3

Please sign in to comment.