Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

22.8.21 Pipeline Updates #399

Open
wants to merge 59 commits into
base: customizations/22.8.21
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
b8309ad
Update release_branches.yml
MyroTk May 6, 2024
117d3da
Create reusable_test.yml
MyroTk May 6, 2024
da0b192
Create reusable_build.yml
MyroTk May 6, 2024
1ed9eba
Create action.yml
MyroTk May 6, 2024
b5ecfe5
Create action.yml
MyroTk May 6, 2024
6e75a5d
Create action.yml
MyroTk May 6, 2024
3325b05
Update release_branches.yml
MyroTk May 6, 2024
f099383
Create regression.yml
MyroTk May 6, 2024
b2b07f8
Update build_check.py
MyroTk May 6, 2024
919a7aa
Create retry.sh
MyroTk May 6, 2024
bca4d09
permission fix
MyroTk May 6, 2024
9e77eac
Update release_branches.yml
MyroTk May 6, 2024
b89d568
Update Dockerfile
MyroTk May 6, 2024
34e770d
Update Dockerfile
MyroTk May 7, 2024
0046db7
Update Dockerfile
MyroTk May 7, 2024
5e8cd73
Update Dockerfile
MyroTk May 7, 2024
dc4e3b7
Update env_helper.py
MyroTk May 7, 2024
998034f
Update build_check.py
MyroTk May 7, 2024
d924713
s3 cache
MyroTk May 7, 2024
e5209fa
Update build_check.py
MyroTk May 7, 2024
dccc011
Update build_check.py
MyroTk May 7, 2024
d75a59a
Update release_branches.yml
MyroTk May 7, 2024
4b2eb5e
Update release_branches.yml
MyroTk May 8, 2024
89fc0fa
Include docker setup for tests
MyroTk May 8, 2024
4064216
Update regression.yml
MyroTk May 8, 2024
7969e75
Update regression.yml
MyroTk May 8, 2024
0091e5f
Update regression.yml
MyroTk May 8, 2024
c6de917
Update release_branches.yml
MyroTk May 8, 2024
03f137f
minimize changes to debug
MyroTk May 8, 2024
214e997
Update release_branches.yml
MyroTk May 8, 2024
9a76a6b
revert scacche changes to debug
MyroTk May 8, 2024
31e303f
Change runner app for failing tests
MyroTk May 14, 2024
19fc804
Update release_branches.yml
MyroTk May 15, 2024
6806185
add sccache
MyroTk May 15, 2024
91954df
debug docker
MyroTk May 15, 2024
3aa5e73
only download necessary artifacts
MyroTk May 15, 2024
7f87d2a
Update release_branches.yml
MyroTk May 15, 2024
c3ba52e
Pinned some dependencies versions
Enmk May 15, 2024
5466b60
remove docker debug
MyroTk May 15, 2024
b248ff4
Pinned some dependencies for stateless tests
Enmk May 15, 2024
4d0d6c7
move docker tag logic to pr info
MyroTk May 8, 2024
2cc6378
use -amd64 images temporarily
MyroTk May 15, 2024
5a04bf8
remove azurite install from stateful
MyroTk May 16, 2024
b338436
docker-setup action
MyroTk May 16, 2024
1cd77b0
integration fix
MyroTk May 16, 2024
6ab6f96
move docker setup action
MyroTk May 16, 2024
a18256f
path fix
MyroTk May 16, 2024
37ab43f
Attemt to fix integration tests
Enmk May 20, 2024
06067ca
Fixed changed_images location for integration tests
Enmk May 20, 2024
f382f43
smaller runner types and v4 actions
MyroTk May 22, 2024
52afc31
Attempt to fix integration tests: Installing iptables that are requir…
Enmk May 22, 2024
34178dd
arch fix for small runners
MyroTk May 22, 2024
452389a
regression and arm runner fix
MyroTk May 22, 2024
7eb879a
attept to fix integration tests: added iptables to altinityinfra/inte…
Enmk May 23, 2024
51e81eb
Another attempt to fix integration tests
Enmk May 23, 2024
58a6664
Better integration tests (similar to 23.8)
Enmk May 24, 2024
c8f001f
add scheduled run
MyroTk Jul 24, 2024
5358baa
update 22.8 runner labels
MyroTk Jul 24, 2024
336edee
Use snapshot runners
MyroTk Aug 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/actions/docker_setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Docker setup
description: Setup docker
inputs:
nested_job:
description: the fuse for unintended use inside of the reusable callable jobs
default: true
type: boolean
DOCKER_USERNAME:
description: username for the dockerhub login
required: true
type: string
DOCKER_PASSWORD:
description: password for the dockerhub login
required: true
type: string
runs:
using: "composite"
steps:
- name: Docker IPv6 configuration
shell: bash
run: |
# make sure docker uses proper IPv6 config
sudo touch /etc/docker/daemon.json
sudo chown ubuntu:ubuntu /etc/docker/daemon.json
sudo cat <<EOT > /etc/docker/daemon.json
{
"ipv6": true,
"fixed-cidr-v6": "2001:3984:3989::/64"
}
EOT
sudo chown root:root /etc/docker/daemon.json
sudo systemctl restart docker
sudo systemctl status docker
- name: Docker login
shell: bash
run: |
docker login -u ${{ inputs.DOCKER_USERNAME }} -p ${{ inputs.DOCKER_PASSWORD }}
docker info
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
Loading
Loading