Skip to content

Commit

Permalink
Run builds and tests against Altinity's CI/CD infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
Enmk committed Oct 26, 2023
1 parent d4d1e7b commit 3c37818
Show file tree
Hide file tree
Showing 102 changed files with 2,026 additions and 7,817 deletions.
22 changes: 22 additions & 0 deletions .github/retry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
# Execute command until exitcode is 0 or
# maximum number of retries is reached
# Example:
# ./retry <retries> <delay> <command>
retries=$1
delay=$2
command="${@:3}"
exitcode=0
try=0
until [ "$try" -ge $retries ]
do
echo "$command"
eval "$command"
exitcode=$?
if [ $exitcode -eq 0 ]; then
break
fi
try=$((try+1))
sleep $2
done
exit $exitcode
6 changes: 3 additions & 3 deletions .github/workflows/backport_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -487,13 +487,13 @@ jobs:
with:
clear-repository: true
fetch-depth: 0 # It MUST BE THE SAME for all dependencies and the job itself
- name: Check docker clickhouse/clickhouse-server building
- name: Check docker altinityinfra/clickhouse-server building
run: |
cd "$GITHUB_WORKSPACE/tests/ci"
python3 docker_server.py --release-type head --no-push \
--image-repo clickhouse/clickhouse-server --image-path docker/server
--image-repo altinityinfra/clickhouse-server --image-path docker/server
python3 docker_server.py --release-type head --no-push \
--image-repo clickhouse/clickhouse-keeper --image-path docker/keeper
--image-repo altinityinfra/clickhouse-keeper --image-path docker/keeper
- name: Cleanup
if: always()
run: |
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/cherry_pick.yml

This file was deleted.

176 changes: 0 additions & 176 deletions .github/workflows/docs_check.yml

This file was deleted.

68 changes: 0 additions & 68 deletions .github/workflows/jepsen.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -963,13 +963,13 @@ jobs:
with:
clear-repository: true
fetch-depth: 0 # It MUST BE THE SAME for all dependencies and the job itself
- name: Check docker clickhouse/clickhouse-server building
- name: Check docker altinityinfra/clickhouse-server building
run: |
cd "$GITHUB_WORKSPACE/tests/ci"
python3 docker_server.py --release-type head \
--image-repo clickhouse/clickhouse-server --image-path docker/server
--image-repo altinityinfra/clickhouse-server --image-path docker/server
python3 docker_server.py --release-type head \
--image-repo clickhouse/clickhouse-keeper --image-path docker/keeper
--image-repo altinityinfra/clickhouse-keeper --image-path docker/keeper
- name: Cleanup
if: always()
run: |
Expand Down
Loading

0 comments on commit 3c37818

Please sign in to comment.