-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #274 from citusdata/circleci-gha-migration
CircleCI to Github Migration
- Loading branch information
Showing
9 changed files
with
217 additions
and
155 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Cleanup Resource Group | ||
on: | ||
push: | ||
branches: | ||
- delete_resource_group/* | ||
jobs: | ||
delete_resource_group: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: buildpack-deps:bullseye | ||
options: --user root | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- 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: Delete resource group | ||
run: |- | ||
mkdir ~/.ssh | ||
cd ./azure | ||
./delete-resource-group-job.sh | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Compatibility Tests - Extension | ||
on: | ||
push: | ||
branches: | ||
- extension/* | ||
env: | ||
RESULT_REPO_ACCESS_TOKEN: ${{ secrets.TEST_RESULTS_REPO_TOKEN }} | ||
jobs: | ||
extension: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: buildpack-deps:bullseye | ||
options: --user root | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- 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 extension tests | ||
run: |- | ||
mkdir ~/.ssh | ||
cd ./azure | ||
export EXTENSION_TEST=1 | ||
./citus-bot.sh citusbot_extension_test_resource_group | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Compatibility Tests - JDBC | ||
on: | ||
push: | ||
branches: | ||
- jdbc/* | ||
env: | ||
RESULT_REPO_ACCESS_TOKEN: ${{ secrets.TEST_RESULTS_REPO_TOKEN }} | ||
jobs: | ||
jdbc: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: buildpack-deps:focal | ||
options: --user root | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- name: Fix ownership issues | ||
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
- name: Run JDBC compatibility tests | ||
run: |- | ||
cd ./jdbc | ||
./run_jdbc_tests.sh | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Performance Tests - PgBench | ||
on: | ||
push: | ||
branches: | ||
- pgbench/* | ||
- all_performance_test/* | ||
env: | ||
RESULT_REPO_ACCESS_TOKEN: ${{ secrets.TEST_RESULTS_REPO_TOKEN }} | ||
jobs: | ||
pgbench: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: buildpack-deps:bullseye | ||
options: --user root | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Performance Tests - Scale | ||
on: | ||
push: | ||
branches: | ||
- scale/* | ||
- all_performance_test/* | ||
env: | ||
RESULT_REPO_ACCESS_TOKEN: ${{ secrets.TEST_RESULTS_REPO_TOKEN }} | ||
jobs: | ||
scale: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: buildpack-deps:bullseye | ||
options: --user root | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- 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 scale tests | ||
run: |- | ||
mkdir ~/.ssh | ||
cd ./azure | ||
./citus-bot.sh citusbot_scale_test_resource_group | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Performance Tests - TPCH | ||
on: | ||
push: | ||
branches: | ||
- tpch/* | ||
- 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/checkout@v3.5.0 | ||
- 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 tpch tests | ||
run: |- | ||
mkdir ~/.ssh | ||
cd ./azure | ||
./citus-bot.sh citusbot_tpch_test_resource_group | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.