Skip to content

Commit

Permalink
chore(ci): add deployment timestamp envar properly (#1579)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Aug 30, 2024
1 parent 7703713 commit f6d38ed
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions charts/onroutebc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ frontend:
key: DEPLOY_ENVIRONMENT
- name: FRONTEND_PR_NUM
key: FRONTEND_PR_NUM
fromValues:
- name: TIMESTAMP
value: "{{ now | toString }}"
ports:
- name: http
containerPort: 3000
Expand Down Expand Up @@ -198,6 +201,8 @@ vehicles:
- name: PAYBC_REDIRECT
key: PAYBC_REDIRECT
fromValues:
- name: TIMESTAMP
value: "{{ now | toString }}"
- name: VEHICLES_PR_NUM
value: '{{.Values.global.pr_num}}'
ports:
Expand Down Expand Up @@ -337,6 +342,8 @@ dops:
fromValues:
- name: DOPS_PR_NUM
value: '{{.Values.global.pr_num}}'
- name: TIMESTAMP
value: "{{ now | toString }}"
ports:
- name: dops-api
containerPort: 5001
Expand Down Expand Up @@ -469,6 +476,8 @@ scheduler:
fromValues:
- name: SCHEDULER_PR_NUM
value: '{{.Values.global.pr_num}}'
- name: TIMESTAMP
value: "{{ now | toString }}"
ports:
- name: scheduler
containerPort: 5050
Expand Down Expand Up @@ -569,6 +578,8 @@ policy:
fromValues:
- name: POLICY_PR_NUM
value: '{{.Values.global.pr_num}}'
- name: TIMESTAMP
value: "{{ now | toString }}"
ports:
- name: policy-api
containerPort: 5002
Expand Down

0 comments on commit f6d38ed

Please sign in to comment.