-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracking pull request to merge release-1.66.0 to master (#2447)
* initial updates for 1.66.0 * add oc-client image * feat: update organization sales/supplied average to display sales if less than 3 years of supplied (#2451) * feat: if less than 3 years of records exist for supplied, passes sales instead -new @Property to display whether its a sales or supplied average -updates frontend to display whether its sales or supplied * chore: removes duplicate code * chore: updates code as per Tim's request! * chore: removes unnecessary None, None * fix: fixes woopsie * fix typo --------- Co-authored-by: tim738745 <[email protected]> * 2439, 2440 Bug-fix: "year" at backend may not be int (#2452) * Bug-fix: "year" at backend may not be int * Ensure "year" is int in get_avg_ldv_sales --------- Co-authored-by: Emily <[email protected]> Co-authored-by: tim738745 <[email protected]> Co-authored-by: Roger Leung <[email protected]>
- Loading branch information
1 parent
85a516e
commit 4e1216c
Showing
8 changed files
with
123 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
pull_request: | ||
types: [labeled, synchronize] | ||
branches: | ||
- release-1.65.0 | ||
- release-1.66.0 | ||
paths: | ||
- frontend/** | ||
- backend/** | ||
|
@@ -33,7 +33,7 @@ jobs: | |
id: cache | ||
uses: actions/[email protected] | ||
with: | ||
path: /usr/local/bin/oc # Path where the `oc` binary will be installed | ||
path: /usr/local/bin/oc # Path where the `oc` binary will be installed | ||
key: oc-cli-${{ runner.os }} | ||
|
||
- name: Install OpenShift CLI (if not cached) | ||
|
@@ -72,7 +72,7 @@ jobs: | |
with: | ||
path: /usr/local/bin/oc | ||
key: oc-cli-${{ runner.os }} | ||
|
||
- name: Log in to Openshift | ||
uses: redhat-actions/[email protected] | ||
with: | ||
|
@@ -116,7 +116,7 @@ jobs: | |
with: | ||
path: /usr/local/bin/oc | ||
key: oc-cli-${{ runner.os }} | ||
|
||
- name: Log in to Openshift | ||
uses: redhat-actions/[email protected] | ||
with: | ||
|
@@ -162,7 +162,7 @@ jobs: | |
with: | ||
path: /usr/local/bin/oc | ||
key: oc-cli-${{ runner.os }} | ||
|
||
- name: Log in to Openshift | ||
uses: redhat-actions/[email protected] | ||
with: | ||
|
@@ -220,7 +220,7 @@ jobs: | |
replace: "${{ env.PR_NUMBER }}" | ||
include: "zeva/values-dev-pr.yaml" | ||
regex: false | ||
|
||
- name: Restore oc command from Cache | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
kind: PersistentVolumeClaim | ||
apiVersion: v1 | ||
metadata: | ||
name: oc-cli-data | ||
spec: | ||
accessModes: | ||
- ReadWriteMany | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: netapp-file-standard | ||
volumeMode: Filesystem | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: 'oc-client' | ||
annotations: {} | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: oc-client | ||
replicas: 1 | ||
template: | ||
metadata: | ||
labels: | ||
app: oc-client | ||
spec: | ||
volumes: | ||
- name: oc-cli-data | ||
persistentVolumeClaim: | ||
claimName: oc-cli-data | ||
containers: | ||
- name: oc-client | ||
image: >- | ||
image-registry.openshift-image-registry.svc:5000/e52f12-tools/zeva-cleanup:prod | ||
command: | ||
- "/bin/sleep" | ||
- "7200" | ||
env: [] | ||
livenessProbe: | ||
failureThreshold: 10 | ||
initialDelaySeconds: 40 | ||
periodSeconds: 60 | ||
successThreshold: 1 | ||
exec: | ||
command: | ||
- pwd | ||
timeoutSeconds: 3 | ||
readinessProbe: | ||
failureThreshold: 10 | ||
initialDelaySeconds: 30 | ||
periodSeconds: 10 | ||
successThreshold: 1 | ||
exec: | ||
command: | ||
- pwd | ||
timeoutSeconds: 3 | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 400Mi | ||
requests: | ||
cpu: 100m | ||
memory: 200Mi | ||
volumeMounts: | ||
- name: oc-cli-data | ||
mountPath: /oc-cli-data | ||
imagePullSecrets: [] | ||
strategy: | ||
type: Recreate | ||
paused: false |