Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
tschneider-aneo committed Oct 31, 2024
1 parent 72a9b4a commit c303fdd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bench/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ inputs:
description: "A name that is provided as the value for key 'SessionName' for the 'Bench__Options' option"
required: false
default: "cicd"
purge-data:
description: "Whether to purge session after execution"
required: false
default: "false"
kubeconfig-path:
description: "Location of the Kube config path"
required: true
outputs:
session-name:
description: "Name of the Bench session to help retrieve its id"
Expand All @@ -40,10 +39,11 @@ runs:
SESSION_NAME: ${{ inputs.session-name }}
GRPC_CLIENT_ENDPOINT: ${{ inputs.grpc-client-endpoint }}
PURGE_DATA: ${{ inputs.purge-data }}
KUBECONFIG_PATH: ${{ inputs.kubeconfig-path }}
run: |
set -ex
cd tools/ci
echo "session-name=$SESSION_NAME" >> "$GITHUB_OUTPUT"
sed "s/@@ARMONIK_CORE_VERSION@@/$ARMONIK_CORE_VERSION/g; s/@@NTASKS@@/$NTASKS/g; s/@@SESSION_NAME@@/$SESSION_NAME/g; s/@@GRPC_CLIENT_ENDPOINT@@/$GRPC_CLIENT_ENDPOINT/g; s/@@PURGE_DATA@@/$PURGE_DATA/g" \
export KUBECONFIG="$KUBECONFIG_PATH"
sed "s/@@ARMONIK_CORE_VERSION@@/$ARMONIK_CORE_VERSION/g; s/@@NTASKS@@/$NTASKS/g; s/@@SESSION_NAME@@/$SESSION_NAME/g; s/@@GRPC_CLIENT_ENDPOINT@@/$GRPC_CLIENT_ENDPOINT/g" \
${{ inputs.working-directory }}/tools/ci/bench-job-template.yml |
kubectl apply -f -
echo "session-name=$SESSION_NAME" >> "$GITHUB_OUTPUT"

0 comments on commit c303fdd

Please sign in to comment.