Skip to content

Commit

Permalink
Merge pull request #29 from bcgov/feature/increasecpu
Browse files Browse the repository at this point in the history
Feature/increasecpu
  • Loading branch information
arcshiftsolutions authored Apr 3, 2024
2 parents cc15967 + 27d2ead commit 95a7458
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-api-build.and.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Run unit tests
run: mvn -f pom.xml clean package
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.2.5
uses: aquasecurity/trivy-action@0.12.0
with:
scan-type: 'fs'
ignore-unfixed: true
Expand All @@ -54,7 +54,7 @@ jobs:
with:
sarif_file: 'trivy-results.sarif'
- name: Cache SonarCloud packages
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy-to.openshift-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ env:
TAG: "latest"
TARGET_ENV: "prod"
MIN_REPLICAS: "3"
MAX_REPLICAS: "3"
MIN_CPU: "50m"
MAX_CPU: "300m"
MIN_MEM: "650Mi"
MAX_MEM: "750Mi"
MAX_REPLICAS: "4"
MIN_CPU: "250m"
MAX_CPU: "500m"
MIN_MEM: "850Mi"
MAX_MEM: "1000Mi"

on:
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to.openshift-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
COMMON_NAMESPACE: ${{ secrets.COMMON_NAMESPACE_NO_ENV }}
TAG: ${{ github.event.inputs.tag }}
MIN_REPLICAS_TEST: "2"
MAX_REPLICAS_TEST: "2"
MAX_REPLICAS_TEST: "3"
MIN_CPU: "50m"
MAX_CPU: "150m"
MIN_MEM: "650Mi"
Expand Down

0 comments on commit 95a7458

Please sign in to comment.