You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Copy this file into one without .sample part and then populate it with actual values.
2
+
# Then you can create secret, by using command
3
+
# `sem create -f path/to/this/file`
4
+
# More info https://docs.semaphoreci.com/article/66-environment-variables-and-secrets
1
5
apiVersion: v1alpha
2
6
kind: Secret
3
7
metadata:
8
+
# Use this name to create this secret manually
4
9
name: gcr-secret
5
10
data:
11
+
# If you haven't set up k8s on google you need to do it first
12
+
# Start with https://cloud.google.com/kubernetes-engine/docs/quickstart
13
+
# Play with it and then you can use it with this project.
14
+
# Check out https://docs.semaphoreci.com/article/72-google-container-registry-gcr as an example.
15
+
# Also check out https://docs.semaphoreci.com/article/119-ci-cd-for-microservices-on-kubernetes
16
+
# as example of k8s deploy.
6
17
env_vars:
18
+
# Id of your project
19
+
# More info here https://cloud.google.com/resource-manager/docs/creating-managing-projects?visit_id=636878590586351739-3388570778&rd=1#identifying_projects
# Copy this file into one without .sample part and then populate it with actual values.
2
+
# Then you can create secret, by using command
3
+
# `sem create -f path/to/this/file`
4
+
# More info https://docs.semaphoreci.com/article/66-environment-variables-and-secrets
1
5
apiVersion: v1beta
2
6
kind: Secret
3
7
metadata:
8
+
# Use this name to create this secret manually
4
9
name: server-ormconfig-production
5
10
data:
6
11
files:
12
+
# Copy src/server/ormconfig.sample.json into ormconfig.production.json and populate with production values
13
+
# You will need production connection settings in this config file.
14
+
# In this eample heroku postgres database addon is used.
15
+
# You will need to create heroku app and then add addon https://elements.heroku.com/addons/heroku-postgresql
16
+
# Then you will be able to view database connection settings like described here https://devcenter.heroku.com/articles/heroku-postgresql#external-connections-ingress
7
17
- path: ormconfig.production.json
18
+
# Could be created by
19
+
# - `base64 -w 0 /path/to/file` and put in
20
+
# - upload in https://<your-namesace>.semaphoreci.com/secrets
0 commit comments