Skip to content

Adjust new lines at the end of file #1

Adjust new lines at the end of file

Adjust new lines at the end of file #1

Workflow file for this run

name: Performance Tests - PgBench
on:
push:
branches:
- pgbench/*
- all_performance_test/*
env:
RESULT_REPO_ACCESS_TOKEN: ${{ secrets.TEST_RESULTS_REPO_TOKEN }}
jobs:
tpch:
runs-on: ubuntu-latest
container:
image: buildpack-deps:bullseye
options: --user root
steps:
- uses: actions/[email protected]
- name: Fix ownership issues
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Install Dependencies
run: |-
apt-get update && apt-get install -y cmake zip jq
apt-get install -y ca-certificates curl apt-transport-https lsb-release gnupg
curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null
AZ_REPO=$(lsb_release -cs)
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | tee /etc/apt/sources.list.d/azure-cli.list
apt-get update
apt-get install -y azure-cli
- name: Login to Azure
run: |-
az login --service-principal \
-u ${{ fromJson(secrets.AZURE_CREDENTIALS)['clientId']}} \
-p ${{ fromJson(secrets.AZURE_CREDENTIALS)['clientSecret']}} \
--tenant ${{ fromJson(secrets.AZURE_CREDENTIALS)['tenantId']}}
- name: Run pgbench tests
run: |-
mkdir ~/.ssh
cd ./azure
./citus-bot.sh citusbot_pgbench_test_resource_group
shell: bash