Compare commits

...
3 changed files with 8 additions and 8 deletions
+3 -4
View File
@@ -146,14 +146,13 @@ jobs:
needs: [extract_environment]
uses: ./.github/workflows/k8s-setup.yml
with:
cloud: azure
cloud: oracle
environment: ${{ needs.extract_environment.outputs.environment }}
secrets: inherit
helmfile-deploy:
needs: [extract_environment, semantic_release, build_ecr_image, k8s-setup]
runs-on: [self-hosted, "prd-azure"]
environment: ${{ needs.extract_environment.outputs.environment }}
runs-on: [self-hosted, "prd-oracle"]
steps:
- name: Checkout code
@@ -173,7 +172,7 @@ jobs:
run: |
wget https://github.com/helmfile/helmfile/releases/download/v0.148.0/helmfile_0.148.0_linux_amd64.tar.gz
tar -xzf helmfile_0.148.0_linux_amd64.tar.gz
mv helmfile /usr/local/bin/
sudo mv helmfile /usr/local/bin/
helmfile --version
- name: Install Helm Diff Plugin
+4 -3
View File
@@ -37,9 +37,11 @@ jobs:
with:
version: 'v1.30.1'
oci:
if: inputs.cloud == 'oci'
oracle:
if: inputs.cloud == 'oracle'
runs-on: [self-hosted, "prd-oracle"]
env:
HOME: /home/runner
steps:
- name: Install OCI CLI
run: |
@@ -58,7 +60,6 @@ jobs:
ENV: ${{ inputs.environment }}
STG_CLUSTER_ID: "ocid1.cluster.oc1.sa-saopaulo-1.aaaaaaaagh3jvln52a3ebm3dodx6emmhv5bmfs7i7sv2k4zkbcbrzcl6v37q"
PRD_CLUSTER_ID: "ocid1.cluster.oc1.sa-saopaulo-1.aaaaaaaanf3vptl6hc2tzd4enfd2hfpsht3wikxww5xejc3l7cwfm6l3sndq"
HOME: /home/runner
run: |
if [ "$ENV" = "stg" ]; then
CLUSTER_ID=$STG_CLUSTER_ID
+1 -1
View File
@@ -60,7 +60,7 @@ affinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: application
- key: name
operator: In
values:
- general