mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-03-01 11:21:23 -05:00
ci: rename actions
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
db27a6a0dd
commit
1ec9316521
@ -19,7 +19,7 @@ runs:
|
|||||||
|
|
||||||
- name: Install evaluation dependencies
|
- name: Install evaluation dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: pip install -r .github/actions/k-bench/evaluate/requirements.txt
|
run: pip install -r .github/actions/e2e_kbench/evaluate/requirements.txt
|
||||||
|
|
||||||
- name: Checkout patched K-Bench
|
- name: Checkout patched K-Bench
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
||||||
@ -46,19 +46,19 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p ./out
|
mkdir -p ./out
|
||||||
kubectl create namespace kbench-pod-namespace --dry-run=client -o yaml | kubectl apply -f -
|
kubectl create namespace kbench-pod-namespace --dry-run=client -o yaml | kubectl apply -f -
|
||||||
kubectl apply -f ../.github/actions/k-bench/encrypted_storage.yml
|
kubectl apply -f ../.github/actions/e2e_kbench/encrypted_storage.yml
|
||||||
./run.sh -r "kbench-constellation-${{ inputs.cloudProvider }}" -t "default" -o "./out/"
|
./run.sh -r "kbench-constellation-${{ inputs.cloudProvider }}" -t "default" -o "./out/"
|
||||||
kubectl delete namespace kbench-pod-namespace --wait=true || true
|
kubectl delete namespace kbench-pod-namespace --wait=true || true
|
||||||
kubectl create namespace kbench-pod-namespace --dry-run=client -o yaml | kubectl apply -f -
|
kubectl create namespace kbench-pod-namespace --dry-run=client -o yaml | kubectl apply -f -
|
||||||
kubectl apply -f ../.github/actions/k-bench/encrypted_storage.yml
|
kubectl apply -f ../.github/actions/e2e_kbench/encrypted_storage.yml
|
||||||
./run.sh -r "kbench-constellation-${{ inputs.cloudProvider }}" -t "dp_fio" -o "./out/"
|
./run.sh -r "kbench-constellation-${{ inputs.cloudProvider }}" -t "dp_fio" -o "./out/"
|
||||||
kubectl delete namespace kbench-pod-namespace --wait=true || true
|
kubectl delete namespace kbench-pod-namespace --wait=true || true
|
||||||
kubectl create namespace kbench-pod-namespace --dry-run=client -o yaml | kubectl apply -f -
|
kubectl create namespace kbench-pod-namespace --dry-run=client -o yaml | kubectl apply -f -
|
||||||
kubectl apply -f ../.github/actions/k-bench/encrypted_storage.yml
|
kubectl apply -f ../.github/actions/e2e_kbench/encrypted_storage.yml
|
||||||
./run.sh -r "kbench-constellation-${{ inputs.cloudProvider }}" -t "dp_network_internode" -o "./out/"
|
./run.sh -r "kbench-constellation-${{ inputs.cloudProvider }}" -t "dp_network_internode" -o "./out/"
|
||||||
kubectl delete namespace kbench-pod-namespace --wait=true || true
|
kubectl delete namespace kbench-pod-namespace --wait=true || true
|
||||||
kubectl create namespace kbench-pod-namespace --dry-run=client -o yaml | kubectl apply -f -
|
kubectl create namespace kbench-pod-namespace --dry-run=client -o yaml | kubectl apply -f -
|
||||||
kubectl apply -f ../.github/actions/k-bench/encrypted_storage.yml
|
kubectl apply -f ../.github/actions/e2e_kbench/encrypted_storage.yml
|
||||||
./run.sh -r "kbench-constellation-${{ inputs.cloudProvider }}" -t "dp_network_intranode" -o "./out/"
|
./run.sh -r "kbench-constellation-${{ inputs.cloudProvider }}" -t "dp_network_intranode" -o "./out/"
|
||||||
env:
|
env:
|
||||||
KUBECONFIG: ${{ inputs.kubeconfig }}
|
KUBECONFIG: ${{ inputs.kubeconfig }}
|
||||||
@ -81,7 +81,7 @@ runs:
|
|||||||
|
|
||||||
- name: Parse test results and create diagrams
|
- name: Parse test results and create diagrams
|
||||||
shell: bash
|
shell: bash
|
||||||
run: python .github/actions/k-bench/evaluate/main.py
|
run: python .github/actions/e2e_kbench/evaluate/main.py
|
||||||
env:
|
env:
|
||||||
KBENCH_RESULTS: ${{ github.workspace }}/k-bench/out/
|
KBENCH_RESULTS: ${{ github.workspace }}/k-bench/out/
|
||||||
CSP: ${{ inputs.cloudProvider }}
|
CSP: ${{ inputs.cloudProvider }}
|
4
.github/actions/e2e_test/action.yml
vendored
4
.github/actions/e2e_test/action.yml
vendored
@ -124,7 +124,7 @@ runs:
|
|||||||
|
|
||||||
- name: Login to GCP
|
- name: Login to GCP
|
||||||
if: inputs.cloudProvider == 'gcp'
|
if: inputs.cloudProvider == 'gcp'
|
||||||
uses: ./.github/actions/gcp_login
|
uses: ./.github/actions/login_gcp
|
||||||
with:
|
with:
|
||||||
gcp_service_account_json: ${{ inputs.gcp_service_account_json }}
|
gcp_service_account_json: ${{ inputs.gcp_service_account_json }}
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ runs:
|
|||||||
|
|
||||||
- name: Run K-Bench
|
- name: Run K-Bench
|
||||||
if: inputs.test == 'k-bench'
|
if: inputs.test == 'k-bench'
|
||||||
uses: ./.github/actions/k-bench
|
uses: ./.github/actions/e2e_kbench
|
||||||
with:
|
with:
|
||||||
cloudProvider: ${{ inputs.cloudProvider }}
|
cloudProvider: ${{ inputs.cloudProvider }}
|
||||||
kubeconfig: ${{ steps.constellation-create.outputs.kubeconfig }}
|
kubeconfig: ${{ steps.constellation-create.outputs.kubeconfig }}
|
||||||
|
@ -89,7 +89,7 @@ runs:
|
|||||||
if: ${{ inputs.isDebugImage == 'true' }}
|
if: ${{ inputs.isDebugImage == 'true' }}
|
||||||
|
|
||||||
- name: Login to GCP
|
- name: Login to GCP
|
||||||
uses: ./.github/actions/gcp_login
|
uses: ./.github/actions/login_gcp
|
||||||
with:
|
with:
|
||||||
gcp_service_account_json: ${{ inputs.gcp_service_account_json }}
|
gcp_service_account_json: ${{ inputs.gcp_service_account_json }}
|
||||||
if: ${{ inputs.cloudProvider == 'gcp' }}
|
if: ${{ inputs.cloudProvider == 'gcp' }}
|
||||||
|
4
.github/workflows/build-os-image.yml
vendored
4
.github/workflows/build-os-image.yml
vendored
@ -285,12 +285,12 @@ jobs:
|
|||||||
aws-region: eu-central-1
|
aws-region: eu-central-1
|
||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
uses: ./.github/actions/azure_login
|
uses: ./.github/actions/login_azure
|
||||||
with:
|
with:
|
||||||
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
|
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
|
||||||
|
|
||||||
- name: Login to GCP
|
- name: Login to GCP
|
||||||
uses: ./.github/actions/gcp_login
|
uses: ./.github/actions/login_gcp
|
||||||
if: ${{ matrix.csp == 'gcp' }}
|
if: ${{ matrix.csp == 'gcp' }}
|
||||||
with:
|
with:
|
||||||
gcp_service_account_json: ${{ secrets.GCP_IMAGE_UPLOAD_SERVICE_ACCOUNT }}
|
gcp_service_account_json: ${{ secrets.GCP_IMAGE_UPLOAD_SERVICE_ACCOUNT }}
|
||||||
|
2
.github/workflows/e2e-test-daily.yml
vendored
2
.github/workflows/e2e-test-daily.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
if: matrix.provider == 'azure'
|
if: matrix.provider == 'azure'
|
||||||
uses: ./.github/actions/azure_login
|
uses: ./.github/actions/login_azure
|
||||||
with:
|
with:
|
||||||
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
||||||
|
|
||||||
|
2
.github/workflows/e2e-test-manual-macos.yml
vendored
2
.github/workflows/e2e-test-manual-macos.yml
vendored
@ -102,7 +102,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
|
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
|
||||||
uses: ./.github/actions/azure_login
|
uses: ./.github/actions/login_azure
|
||||||
with:
|
with:
|
||||||
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
||||||
|
|
||||||
|
2
.github/workflows/e2e-test-manual.yml
vendored
2
.github/workflows/e2e-test-manual.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
|
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
|
||||||
uses: ./.github/actions/azure_login
|
uses: ./.github/actions/login_azure
|
||||||
with:
|
with:
|
||||||
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
||||||
|
|
||||||
|
2
.github/workflows/e2e-test-weekly.yml
vendored
2
.github/workflows/e2e-test-weekly.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
if: matrix.provider == 'azure'
|
if: matrix.provider == 'azure'
|
||||||
uses: ./.github/actions/azure_login
|
uses: ./.github/actions/login_azure
|
||||||
with:
|
with:
|
||||||
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
||||||
|
|
||||||
|
2
.github/workflows/generate-measurements.yml
vendored
2
.github/workflows/generate-measurements.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
|
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
|
||||||
uses: ./.github/actions/azure_login
|
uses: ./.github/actions/login_azure
|
||||||
with:
|
with:
|
||||||
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}
|
||||||
|
|
||||||
|
4
.github/workflows/release-cli.yml
vendored
4
.github/workflows/release-cli.yml
vendored
@ -57,11 +57,11 @@ jobs:
|
|||||||
cosignPassword: ${{ startsWith(github.ref, 'refs/tags/v') && secrets.COSIGN_PASSWORD || secrets.COSIGN_DEV_PASSWORD }}
|
cosignPassword: ${{ startsWith(github.ref, 'refs/tags/v') && secrets.COSIGN_PASSWORD || secrets.COSIGN_DEV_PASSWORD }}
|
||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
uses: ./.github/actions/azure_login
|
uses: ./.github/actions/login_azure
|
||||||
with:
|
with:
|
||||||
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
|
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
|
||||||
- name: Login to GCP
|
- name: Login to GCP
|
||||||
uses: ./.github/actions/gcp_login
|
uses: ./.github/actions/login_gcp
|
||||||
with:
|
with:
|
||||||
gcp_service_account_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}
|
gcp_service_account_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user