ci: rename actions

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2022-11-08 16:13:10 +01:00
parent db27a6a0dd
commit 1ec9316521
19 changed files with 18 additions and 18 deletions

View File

@ -19,7 +19,7 @@ runs:
- name: Install evaluation dependencies
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
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -46,19 +46,19 @@ runs:
run: |
mkdir -p ./out
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/"
kubectl delete namespace kbench-pod-namespace --wait=true || true
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/"
kubectl delete namespace kbench-pod-namespace --wait=true || true
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/"
kubectl delete namespace kbench-pod-namespace --wait=true || true
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/"
env:
KUBECONFIG: ${{ inputs.kubeconfig }}
@ -81,7 +81,7 @@ runs:
- name: Parse test results and create diagrams
shell: bash
run: python .github/actions/k-bench/evaluate/main.py
run: python .github/actions/e2e_kbench/evaluate/main.py
env:
KBENCH_RESULTS: ${{ github.workspace }}/k-bench/out/
CSP: ${{ inputs.cloudProvider }}

View File

@ -124,7 +124,7 @@ runs:
- name: Login to GCP
if: inputs.cloudProvider == 'gcp'
uses: ./.github/actions/gcp_login
uses: ./.github/actions/login_gcp
with:
gcp_service_account_json: ${{ inputs.gcp_service_account_json }}
@ -180,7 +180,7 @@ runs:
- name: Run K-Bench
if: inputs.test == 'k-bench'
uses: ./.github/actions/k-bench
uses: ./.github/actions/e2e_kbench
with:
cloudProvider: ${{ inputs.cloudProvider }}
kubeconfig: ${{ steps.constellation-create.outputs.kubeconfig }}

View File

@ -89,7 +89,7 @@ runs:
if: ${{ inputs.isDebugImage == 'true' }}
- name: Login to GCP
uses: ./.github/actions/gcp_login
uses: ./.github/actions/login_gcp
with:
gcp_service_account_json: ${{ inputs.gcp_service_account_json }}
if: ${{ inputs.cloudProvider == 'gcp' }}

View File

@ -285,12 +285,12 @@ jobs:
aws-region: eu-central-1
- name: Login to Azure
uses: ./.github/actions/azure_login
uses: ./.github/actions/login_azure
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
- name: Login to GCP
uses: ./.github/actions/gcp_login
uses: ./.github/actions/login_gcp
if: ${{ matrix.csp == 'gcp' }}
with:
gcp_service_account_json: ${{ secrets.GCP_IMAGE_UPLOAD_SERVICE_ACCOUNT }}

View File

@ -30,7 +30,7 @@ jobs:
- name: Login to Azure
if: matrix.provider == 'azure'
uses: ./.github/actions/azure_login
uses: ./.github/actions/login_azure
with:
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}

View File

@ -102,7 +102,7 @@ jobs:
- name: Login to Azure
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
uses: ./.github/actions/azure_login
uses: ./.github/actions/login_azure
with:
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}

View File

@ -70,7 +70,7 @@ jobs:
- name: Login to Azure
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
uses: ./.github/actions/azure_login
uses: ./.github/actions/login_azure
with:
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}

View File

@ -46,7 +46,7 @@ jobs:
- name: Login to Azure
if: matrix.provider == 'azure'
uses: ./.github/actions/azure_login
uses: ./.github/actions/login_azure
with:
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}

View File

@ -40,7 +40,7 @@ jobs:
- name: Login to Azure
if: ${{ github.event.inputs.cloudProvider == 'azure' }}
uses: ./.github/actions/azure_login
uses: ./.github/actions/login_azure
with:
azure_credentials: ${{ secrets.AZURE_E2E_CREDENTIALS }}

View File

@ -57,11 +57,11 @@ jobs:
cosignPassword: ${{ startsWith(github.ref, 'refs/tags/v') && secrets.COSIGN_PASSWORD || secrets.COSIGN_DEV_PASSWORD }}
- name: Login to Azure
uses: ./.github/actions/azure_login
uses: ./.github/actions/login_azure
with:
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
- name: Login to GCP
uses: ./.github/actions/gcp_login
uses: ./.github/actions/login_gcp
with:
gcp_service_account_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}