Skip to content

Commit

Permalink
Check REGIO.cloud RegionA (SovereignCloudStack#263)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Apr 18, 2023
1 parent b74018d commit 4398043
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/scs-compliance-check/openstack/clouds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,11 @@ clouds:
region_name: "MUC5"
interface: "public"
identity_api_version: 3
regio-a:
auth:
auth_url: https://keystone.services.a.regiocloud.tech
application_credential_id: "459b392c348d430f91c658f0f61cbb8e"
region_name: "RegionA"
interface: "public"
identity_api_version: 3
auth_type: "v3applicationcredential"
23 changes: 23 additions & 0 deletions .github/workflows/check-regio-a-v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Compliance of regio-a"

on:
# Trigger compliance check every day at 4:30 UTC
schedule:
- cron: '30 4 * * *'
# Trigger compliance check after Docker image has been built
workflow_run:
workflows: [Build and publish scs-compliance-check Docker image]
types:
- completed
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
check-regio-a:
uses: ./.github/workflows/scs-compliance-check-with-application-credential.yml
with:
version: v2
layer: iaas
cloud: "regio-a"
secret_name: "OS_PASSWORD_REGIO_A"
secrets: inherit
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Check compliance of SCS cloud

on:
workflow_call:
inputs:
version:
required: true
type: string
layer:
required: true
type: string
cloud:
required: true
type: string
secret_name:
required: true
type: string

jobs:
scs-compliance-check:
runs-on: ubuntu-latest
container:
image: ghcr.io/sovereigncloudstack/scs-compliance-check:main
steps:
- name: "Get clouds.yaml"
run: "mkdir /etc/openstack && wget -P /etc/openstack https://raw.githubusercontent.com/sovereigncloudstack/standards/main/.github/scs-compliance-check/openstack/clouds.yaml"
- name: "Create secure.yaml"
run: |
cat << EOF > /etc/openstack/secure.yaml
clouds:
${{ inputs.cloud }}:
auth:
application_credential_secret: ${{ secrets[inputs.secret_name] }}
EOF
- name: "Run scs-compliance-check"
run: "cd /scs-compliance && ./scs-compliance-check.py scs-compatible.yaml --version ${{ inputs.version }} ${{ inputs.layer }} -o result.yaml"
env:
OS_CLOUD: ${{ inputs.cloud }}
- name: "Upload results"
uses: actions/upload-artifact@v3
with:
name: result
path: /scs-compliance/result.yaml
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This is a list of clouds that we test on a nightly basis against our `scs-compat
| [gx-scs](https://github.com/SovereignCloudStack/docs/blob/main/community/cloud-resources/plusserver-gx-scs.md) | Dev environment provided for SCS & GAIA-X context | PlusServer GmbH | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-gx-scs-v1.yml?label=v1%20Compliance) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-gx-scs-v2.yml?label=v2%20Compliance) |
| [pluscloud open](https://www.plusserver.com/en/products/pluscloud-open) | Public cloud for customers | PlusServer GmbH | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-pco-prod1-v1.yml?label=v1%20Compliance) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-pco-prod2-v1.yml?label=v1%20Compliance) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-pco-prod1-v2.yml?label=v2%20Compliance) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-pco-prod2-v2.yml?label=v2%20Compliance) |
| [Wavestack](https://www.noris.de/wavestack-cloud/) | Public cloud for customers | noris network AG/Wavecon GmbH | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-wavestack-v1.yml?label=v1%20Compliance) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-wavestack-v2.yml?label=v2%20Compliance) |
| [REGIO.cloud](https://regio.digital) | Public cloud for customers | OSISM GmbH | | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SovereignCloudStack/standards/check-regio-a-v2.yml?label=v2%20Compliance) |

## SCS standards overview

Expand Down

0 comments on commit 4398043

Please sign in to comment.