Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust PCO SCS IaaS-compatible checks. #867

Merged
merged 4 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/scs-compliance-check/openstack/clouds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,26 @@ clouds:
interface: "public"
identity_api_version: 3
pco-prod1:
auth_type: "v3applicationcredential"
auth:
auth_url: https://prod1.api.pco.get-cloud.io:5000
username: "u500924-svc-standards"
project_id: 204eba6723954d0d900d1144b4c9e48d
project_name: "p500924-scs-healthmonitor"
user_domain_name: "d500924"
application_credential_id: "22801bcede0746a192abec1805c8c4e5"
region_name: "prod1"
interface: "public"
identity_api_version: 3
pco-prod2:
auth_type: "v3applicationcredential"
auth:
auth_url: https://prod2.api.pco.get-cloud.io:5000
username: "u500924-svc-standards"
project_id: 6e54c8e75b744902a4c5f4389cdb0529
project_name: "p500924-scs-healthmonitor"
user_domain_name: "d500924"
application_credential_id: "df41234ebc334d2cb99c586e8ad0056d"
region_name: "prod2"
interface: "public"
identity_api_version: 3
pco-prod3:
auth_type: "v3applicationcredential"
auth:
auth_url: https://prod3.api.pco.get-cloud.io:5000
application_credential_id: "fe66c4c8cd3b4ea08262424783e1c58f"
application_credential_id: "f5864cd2b0ce4fb3ba9d7e4d5e6e0674"
region_name: "prod3"
interface: "public"
identity_api_version: 3
Expand All @@ -42,7 +38,7 @@ clouds:
auth:
auth_url: https://prod4.api.pco.get-cloud.io:5000
#project_id: 6a97f8c649d342429cbe5d0f943602b0
application_credential_id: "11ecfb998b474b99ab044f5b20cb23d6"
application_credential_id: "d265546ca8ef47e99d743c67e1230897"
region_name: "prod4"
interface: "public"
identity_api_version: 3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-pco-prod1-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:

jobs:
check-pco-prod1:
uses: ./.github/workflows/scs-compliance-check.yml
uses: ./.github/workflows/scs-compliance-check-with-application-credential.yml
with:
version: v3
layer: iaas
cloud: "pco-prod1"
secret_name: "OS_PASSWORD_PCOPROD1"
secret_name: "OS_ACSECRET_PCOPROD1"
secrets: inherit
8 changes: 4 additions & 4 deletions .github/workflows/check-pco-prod1-v4.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "Compliance IaaS v4 of pco-prod1"

on:
# Trigger compliance check every day at 4:30 UTC
# Trigger compliance check every day at 4:35 UTC
schedule:
- cron: '30 4 * * *'
- cron: '35 4 * * *'
# Trigger compliance check after Docker image has been built
workflow_run:
workflows: [Build and publish scs-compliance-check Docker image]
Expand All @@ -14,10 +14,10 @@ on:

jobs:
check-pco-prod1:
uses: ./.github/workflows/scs-compliance-check.yml
uses: ./.github/workflows/scs-compliance-check-with-application-credential.yml
with:
version: v4
layer: iaas
cloud: "pco-prod1"
secret_name: "OS_PASSWORD_PCOPROD1"
secret_name: "OS_ACSECRET_PCOPROD1"
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/check-pco-prod2-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:

jobs:
check-pco-prod2:
uses: ./.github/workflows/scs-compliance-check.yml
uses: ./.github/workflows/scs-compliance-check-with-application-credential.yml
with:
version: v3
layer: iaas
cloud: "pco-prod2"
secret_name: "OS_PASSWORD_PCOPROD2"
secret_name: "OS_ACSECRET_PCOPROD2"
secrets: inherit
8 changes: 4 additions & 4 deletions .github/workflows/check-pco-prod2-v4.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "Compliance IaaS v4 of pco-prod2"

on:
# Trigger compliance check every day at 4:30 UTC
# Trigger compliance check every day at 4:35 UTC
schedule:
- cron: '30 4 * * *'
- cron: '35 4 * * *'
# Trigger compliance check after Docker image has been built
workflow_run:
workflows: [Build and publish scs-compliance-check Docker image]
Expand All @@ -14,10 +14,10 @@ on:

jobs:
check-pco-prod2:
uses: ./.github/workflows/scs-compliance-check.yml
uses: ./.github/workflows/scs-compliance-check-with-application-credential.yml
with:
version: v4
layer: iaas
cloud: "pco-prod2"
secret_name: "OS_PASSWORD_PCOPROD2"
secret_name: "OS_ACSECRET_PCOPROD2"
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/check-pco-prod3-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
version: v3
layer: iaas
cloud: "pco-prod3"
secret_name: "OS_PASSWORD_PCOPROD3"
secret_name: "OS_ACSECRET_PCOPROD3"
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/check-pco-prod3-v4.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "Compliance IaaS v4 of pco-prod3"

on:
# Trigger compliance check every day at 4:30 UTC
# Trigger compliance check every day at 4:35 UTC
schedule:
- cron: '30 4 * * *'
- cron: '35 4 * * *'
# Trigger compliance check after Docker image has been built
workflow_run:
workflows: [Build and publish scs-compliance-check Docker image]
Expand All @@ -19,5 +19,5 @@ jobs:
version: v4
layer: iaas
cloud: "pco-prod3"
secret_name: "OS_PASSWORD_PCOPROD3"
secret_name: "OS_ACSECRET_PCOPROD3"
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/check-pco-prod4-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
version: v3
layer: iaas
cloud: "pco-prod4"
secret_name: "OS_PASSWORD_PCOPROD4"
secret_name: "OS_ACSECRET_PCOPROD4"
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/check-pco-prod4-v4.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "Compliance IaaS v4 of pco-prod4"

on:
# Trigger compliance check every day at 4:30 UTC
# Trigger compliance check every day at 4:35 UTC
schedule:
- cron: '30 4 * * *'
- cron: '35 4 * * *'
# Trigger compliance check after Docker image has been built
workflow_run:
workflows: [Build and publish scs-compliance-check Docker image]
Expand All @@ -19,5 +19,5 @@ jobs:
version: v4
layer: iaas
cloud: "pco-prod4"
secret_name: "OS_PASSWORD_PCOPROD4"
secret_name: "OS_ACSECRET_PCOPROD4"
secrets: inherit
Loading