Skip to content

Commit 57762a4

Browse files
authored
Merge pull request #332 from Altinity/customizations/23.8.8
23.8.8 Pre-release
2 parents 5e012a0 + 193c1f9 commit 57762a4

File tree

131 files changed

+2473
-2664
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+2473
-2664
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Docker setup
2+
description: Setup docker
3+
inputs:
4+
nested_job:
5+
description: the fuse for unintended use inside of the reusable callable jobs
6+
default: true
7+
type: boolean
8+
DOCKER_USERNAME:
9+
description: username for the dockerhub login
10+
required: true
11+
type: string
12+
DOCKER_PASSWORD:
13+
description: password for the dockerhub login
14+
required: true
15+
type: string
16+
runs:
17+
using: "composite"
18+
steps:
19+
- name: Docker IPv6 configuration
20+
shell: bash
21+
run: |
22+
# make sure docker uses proper IPv6 config
23+
sudo touch /etc/docker/daemon.json
24+
sudo chown ubuntu:ubuntu /etc/docker/daemon.json
25+
sudo cat <<EOT > /etc/docker/daemon.json
26+
{
27+
"ipv6": true,
28+
"fixed-cidr-v6": "2001:3984:3989::/64"
29+
}
30+
EOT
31+
sudo chown root:root /etc/docker/daemon.json
32+
sudo systemctl restart docker
33+
sudo systemctl status docker
34+
- name: Docker login
35+
shell: bash
36+
run: |
37+
docker login -u ${{ inputs.DOCKER_USERNAME }} -p ${{ inputs.DOCKER_PASSWORD }}
38+
docker info

.github/retry.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
# Execute command until exitcode is 0 or
3+
# maximum number of retries is reached
4+
# Example:
5+
# ./retry <retries> <delay> <command>
6+
retries=$1
7+
delay=$2
8+
command="${@:3}"
9+
exitcode=0
10+
try=0
11+
until [ "$try" -ge $retries ]
12+
do
13+
echo "$command"
14+
eval "$command"
15+
exitcode=$?
16+
if [ $exitcode -eq 0 ]; then
17+
break
18+
fi
19+
try=$((try+1))
20+
sleep $2
21+
done
22+
exit $exitcode

.github/workflows/backport_branches.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,13 @@ jobs:
173173
clear-repository: true
174174
fetch-depth: 0 # It MUST BE THE SAME for all dependencies and the job itself
175175
filter: tree:0
176-
- name: Check docker clickhouse/clickhouse-server building
176+
- name: Check docker altinityinfra/clickhouse-server building
177177
run: |
178178
cd "$GITHUB_WORKSPACE/tests/ci"
179179
python3 docker_server.py --release-type head --no-push \
180-
--image-repo clickhouse/clickhouse-server --image-path docker/server
180+
--image-repo altinityinfra/clickhouse-server --image-path docker/server
181181
python3 docker_server.py --release-type head --no-push \
182-
--image-repo clickhouse/clickhouse-keeper --image-path docker/keeper
182+
--image-repo altinityinfra/clickhouse-keeper --image-path docker/keeper
183183
- name: Cleanup
184184
if: always()
185185
run: |

.github/workflows/cherry_pick.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/docs_check.yml

Lines changed: 0 additions & 140 deletions
This file was deleted.

.github/workflows/jepsen.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/master.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,13 @@ jobs:
233233
clear-repository: true
234234
fetch-depth: 0 # It MUST BE THE SAME for all dependencies and the job itself
235235
filter: tree:0
236-
- name: Check docker clickhouse/clickhouse-server building
236+
- name: Check docker altinityinfra/clickhouse-server building
237237
run: |
238238
cd "$GITHUB_WORKSPACE/tests/ci"
239239
python3 docker_server.py --release-type head \
240-
--image-repo clickhouse/clickhouse-server --image-path docker/server
240+
--image-repo altinityinfra/clickhouse-server --image-path docker/server
241241
python3 docker_server.py --release-type head \
242-
--image-repo clickhouse/clickhouse-keeper --image-path docker/keeper
242+
--image-repo altinityinfra/clickhouse-keeper --image-path docker/keeper
243243
- name: Cleanup
244244
if: always()
245245
run: |

0 commit comments

Comments
 (0)