Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
0f42b49
Oss dockehubpush (#339)
umang8223 Jun 7, 2023
eb6b820
Updated for rebuild of style-test
umang8223 Jun 7, 2023
dc5eeed
testing for checklabels
umang8223 Jun 7, 2023
ec2680c
testing for checklabels and commented code
umang8223 Jun 7, 2023
c582074
updated needs for job
umang8223 Jun 7, 2023
928b125
updated style_check.py
umang8223 Jun 7, 2023
eb91253
minor changes to style-test Dockerfile
umang8223 Jun 7, 2023
2aea264
removing curl
umang8223 Jun 7, 2023
d83d10c
adding push
umang8223 Jun 7, 2023
547acbb
Automatic style fix
robot-clickhouse Jun 7, 2023
4615289
removed extra space
umang8223 Jun 7, 2023
4217ab5
removed to run on push
umang8223 Jun 7, 2023
f05beaf
updated docker_test.yaml
umang8223 Jun 7, 2023
db5e4b6
testing for commit
umang8223 Jun 7, 2023
7a99f06
testing for run
umang8223 Jun 7, 2023
f5bc35d
removing commented line
umang8223 Jun 7, 2023
a952f27
updated to python3
umang8223 Jun 7, 2023
6f19f9b
added annotation
umang8223 Jun 7, 2023
bfba645
updated fastest to download icr image
umang8223 Jun 7, 2023
fac251f
testing to remove circular dependency
umang8223 Jun 7, 2023
8b6b14e
swithed import statement
umang8223 Jun 8, 2023
2af6c2e
testing for cyclic import
umang8223 Jun 8, 2023
fafb27f
testing for cyclic import
umang8223 Jun 8, 2023
d4f2889
commneted style and fast test
umang8223 Jun 8, 2023
0093ce9
updated build_check.yaml
umang8223 Jun 8, 2023
8123402
updated packager file
umang8223 Jun 8, 2023
9b3ce1c
added hvac in image
umang8223 Jun 8, 2023
f0bf2e3
added hvac in image
umang8223 Jun 8, 2023
77253f5
added hvac in image
umang8223 Jun 8, 2023
894801e
commented check labels
umang8223 Jun 8, 2023
d63d644
removed needs
umang8223 Jun 8, 2023
9847f87
undo hvac installation
umang8223 Jun 8, 2023
4e01265
commneted not required jobs
umang8223 Jun 8, 2023
d2c3e5a
undo import changes
umang8223 Jun 8, 2023
e744869
added type ignore
umang8223 Jun 8, 2023
4c240d3
corrected indentation
umang8223 Jun 8, 2023
6649a8d
testing
umang8223 Jun 8, 2023
da27737
style fixing
umang8223 Jun 8, 2023
c8f416a
parameterizing github repo in fasttest dockerfile
umang8223 Jun 8, 2023
4649c91
coorection of variable
umang8223 Jun 8, 2023
040904c
export varible
umang8223 Jun 8, 2023
3262411
export varible
umang8223 Jun 8, 2023
b549178
export varible
umang8223 Jun 8, 2023
247504d
export varible
umang8223 Jun 8, 2023
f7d78bd
echo export varible
umang8223 Jun 8, 2023
04151b7
echo export varible
umang8223 Jun 8, 2023
62e2691
echo export varible
umang8223 Jun 8, 2023
3074046
echo export varible
umang8223 Jun 8, 2023
cc29596
hardcoded repo and style fix
umang8223 Jun 8, 2023
e5c983d
hardcoded repo and fixed some errors
umang8223 Jun 8, 2023
11ba729
testing for run
umang8223 Jun 9, 2023
e3ca350
troubleshooting
umang8223 Jun 9, 2023
44b007f
test for run
umang8223 Jun 9, 2023
81a55cb
test for run
umang8223 Jun 9, 2023
a87e160
adding creds
umang8223 Jun 9, 2023
338cdd7
correction
umang8223 Jun 9, 2023
e6eea10
added endpoint
umang8223 Jun 9, 2023
1ca4eb7
commented region
umang8223 Jun 10, 2023
d7b20e2
commented secret and access key_id
umang8223 Jun 10, 2023
2964b3b
style fix
umang8223 Jun 10, 2023
22a5cd4
passing API key as
umang8223 Jun 10, 2023
e3f7a62
uncommented
umang8223 Jun 10, 2023
7e15b2d
removed space
umang8223 Jun 10, 2023
6494d04
testing
umang8223 Jun 11, 2023
eab3c4d
added crn
umang8223 Jun 12, 2023
7689e00
testing
umang8223 Jun 12, 2023
6cf3721
testing
umang8223 Jun 12, 2023
ca224c3
checking for new change
umang8223 Jun 12, 2023
b341992
checking for new change
umang8223 Jun 12, 2023
35b9b1e
trying for SCCACHE_S3_NO_CREDENTIALS
umang8223 Jun 12, 2023
7a15e28
removed SCCACHE_S3_NO_CREDENTIAL
umang8223 Jun 12, 2023
1eebf39
removed SCCACHE_S3_NO_CREDENTIAL
umang8223 Jun 12, 2023
5774280
testing after removing creds and see if it works
umang8223 Jun 12, 2023
2cc9ec4
added timeout
umang8223 Jun 12, 2023
9a338e3
added timeout
umang8223 Jun 12, 2023
f93bd63
added timeout
umang8223 Jun 12, 2023
5141912
added tag for new runner
umang8223 Jun 12, 2023
5ff737f
pass cred
umang8223 Jun 12, 2023
87bde21
pass cred
umang8223 Jun 12, 2023
ce944cc
pass cred
umang8223 Jun 12, 2023
8c24fb3
pass cred vault
umang8223 Jun 12, 2023
37183b2
updated version
umang8223 Jun 12, 2023
6222acc
updated version to v1
umang8223 Jun 12, 2023
b0818a5
updated version to v2
umang8223 Jun 12, 2023
2d6f81a
testing for not printing
umang8223 Jun 13, 2023
c4d984f
testing for not printing
umang8223 Jun 13, 2023
de644c8
testing
umang8223 Jun 13, 2023
c72b49f
testing
umang8223 Jun 13, 2023
0c0db81
testing for creds
umang8223 Jun 13, 2023
6b07ede
testing for creds
umang8223 Jun 13, 2023
bf8f786
testing for creds
umang8223 Jun 13, 2023
80b89f5
testing for creds
umang8223 Jun 13, 2023
564f6e1
uncommented
umang8223 Jun 13, 2023
2adbff1
uncommented
umang8223 Jun 13, 2023
3606459
testing for 1 and 2nd runner
umang8223 Jun 13, 2023
61b4765
commented region and endpoint
umang8223 Jun 13, 2023
5c06dc2
set credentials on vm
umang8223 Jun 13, 2023
6abe65a
ibmcloud login on vm
umang8223 Jun 13, 2023
82224b2
ibmcloud login on vm
umang8223 Jun 13, 2023
8e17aac
ibmcloud login on vm
umang8223 Jun 13, 2023
4f3ffab
commenting SCCACHE
umang8223 Jun 13, 2023
baed514
commenting SCCACHE
umang8223 Jun 13, 2023
53470ab
check for secret
umang8223 Jun 13, 2023
61510a0
check for secret
umang8223 Jun 13, 2023
26460a0
check for secret
umang8223 Jun 13, 2023
bff209b
check for secret
umang8223 Jun 13, 2023
acd2ef3
adding secret
umang8223 Jun 13, 2023
f9f34b8
uncommenetded region n endpoint
umang8223 Jun 13, 2023
cf614a2
corrected style
umang8223 Jun 13, 2023
879ec50
corrected style
umang8223 Jun 13, 2023
60f22d5
removed commented lines
umang8223 Jun 13, 2023
c73e528
mounted .aws
umang8223 Jun 13, 2023
230ea79
updated comment for run
umang8223 Jun 13, 2023
9f9823a
updated comment for run
umang8223 Jun 13, 2023
5b305b2
just mounting creds
umang8223 Jun 13, 2023
f394dd0
just mounting creds
umang8223 Jun 13, 2023
b9f7e97
just passing endpoint
umang8223 Jun 13, 2023
1ecf10d
removed S3_region
umang8223 Jun 13, 2023
8f02a84
testing for BuilderDeb release
umang8223 Jun 13, 2023
d49f151
testing for BuilderDeb release
umang8223 Jun 13, 2023
9f9f0b8
solving circular import
umang8223 Jun 13, 2023
ed15e41
updating param
umang8223 Jun 13, 2023
aec7fee
removed endpoint
umang8223 Jun 13, 2023
26da715
added endpoint
umang8223 Jun 13, 2023
7b09711
updated SCCACHE_ENDPOINT
umang8223 Jun 13, 2023
4d16d4a
testing for value
umang8223 Jun 14, 2023
5d0a73d
testing for value
umang8223 Jun 14, 2023
3224fc1
restructure
umang8223 Jun 14, 2023
64c7113
replacing mount point with creds
umang8223 Jun 14, 2023
2152607
added ,
umang8223 Jun 14, 2023
6948cb2
corrected value
umang8223 Jun 14, 2023
532e0ff
mounting volume
umang8223 Jun 14, 2023
035bc96
mounting /home/ubuntu/.aws and s3_region
umang8223 Jun 14, 2023
cdc2e0d
restructuring
umang8223 Jun 14, 2023
cce6095
check
umang8223 Jun 14, 2023
d0c4685
check
umang8223 Jun 14, 2023
de6f9c8
joining command
umang8223 Jun 14, 2023
3704fef
testing
umang8223 Jun 14, 2023
ed66e30
update /.aws/credentials
umang8223 Jun 14, 2023
812699e
commenting region
umang8223 Jun 14, 2023
59c6008
removed region and added BuilderDebAarch64
umang8223 Jun 15, 2023
69759b3
checking for style check
umang8223 Jun 15, 2023
e2e42d2
fixing style
umang8223 Jun 15, 2023
b7e4c7b
added many jobs
umang8223 Jun 15, 2023
f6a09ed
style fix
umang8223 Jun 15, 2023
fcf8b8c
added yaml for testing
umang8223 Jun 15, 2023
1e71101
build image for rpm deb
umang8223 Jun 15, 2023
7b6f7be
testing for run
umang8223 Jun 15, 2023
493d26a
testing
umang8223 Jun 15, 2023
d5f9983
checking for install packages
umang8223 Jun 15, 2023
83f69eb
removed dependencies
umang8223 Jun 15, 2023
b864690
removed ectra lines in Dockerfile
umang8223 Jun 15, 2023
a9bcc20
checking for mark release ready
umang8223 Jun 15, 2023
f303d99
added f string
umang8223 Jun 15, 2023
40a6b08
added builder
umang8223 Jun 15, 2023
75b4363
checking for fastest image
umang8223 Jun 16, 2023
8d4912e
checking for fastest image
umang8223 Jun 16, 2023
287abc5
test for install package
umang8223 Jun 16, 2023
2a3e6fa
checking for BuilderBinClangTidy
umang8223 Jun 16, 2023
37ee60d
testing for functional
umang8223 Jun 17, 2023
81934d9
generalizing functional test
umang8223 Jun 18, 2023
46df906
commenting style-check
umang8223 Jun 18, 2023
d08da55
changing style-check
umang8223 Jun 18, 2023
8be16b6
skipping fasttest
umang8223 Jun 18, 2023
dec6760
testing run
umang8223 Jun 18, 2023
57cf1aa
testing run for stress and integration test
umang8223 Jun 18, 2023
7b2280d
run after building latest image
umang8223 Jun 19, 2023
ea330cb
checking for build clanfTidy on new ibm vm
umang8223 Jun 19, 2023
32bf0c4
check value DOCKER_REPO
umang8223 Jun 19, 2023
589054c
check value DOCKER_REPO
umang8223 Jun 19, 2023
4a09b94
checking for docker server image
umang8223 Jun 20, 2023
a333e12
checking for docker server image
umang8223 Jun 20, 2023
21b73db
checking for docker server image
umang8223 Jun 20, 2023
453a826
cehck for bianry image
umang8223 Jun 20, 2023
ebcd4de
cehck for bianry image
umang8223 Jun 20, 2023
0ee318f
check for builderdebRelease
umang8223 Jun 20, 2023
eeaf512
check for binary image
umang8223 Jun 20, 2023
ba1f992
uncommented
umang8223 Jun 20, 2023
41f5776
CHECK FOR BUILDDEBRELEASE
umang8223 Jun 20, 2023
a230746
CHECK FOR binary image
umang8223 Jun 20, 2023
c8c8fc3
CHECK FOR binary image
umang8223 Jun 20, 2023
6bbc3c3
CHECK FOR only binary image
umang8223 Jun 20, 2023
187ea4b
CHECK FOR only binary image
umang8223 Jun 20, 2023
5d485be
CHECK FOR only binary image
umang8223 Jun 20, 2023
58a1291
CHECK FOR only binary image
umang8223 Jun 20, 2023
b5c7bfe
CHECK FOR only binary image
umang8223 Jun 20, 2023
757d5fc
CHECK FOR only binary image
umang8223 Jun 20, 2023
a38f3f9
CHECK FOR only binary image
umang8223 Jun 20, 2023
c9bb284
testing for arch
umang8223 Jun 23, 2023
f10ed5c
testing for arch64-runner
umang8223 Jun 23, 2023
23c8bac
testing for arch64
umang8223 Jun 23, 2023
2fe85f7
testing for containers
umang8223 Jun 23, 2023
2ad0ad3
undo
umang8223 Jun 23, 2023
63aa27c
testing for containers
umang8223 Jun 23, 2023
5e5f6fd
undo
umang8223 Jun 23, 2023
e86e49c
added sudo for testing
umang8223 Jun 25, 2023
d909459
updated runner in arch package
umang8223 Jun 25, 2023
9d92b1d
testing for arch runner in other job
umang8223 Jun 25, 2023
daa9962
updated docker run with sudo
umang8223 Jun 25, 2023
0a68d21
updated visudo to let ubuntu access without sudo
umang8223 Jun 26, 2023
777aee5
updated visudo to let ubuntu access without sudo
umang8223 Jun 26, 2023
f53de88
updated visudo to let ubuntu access without sudo
umang8223 Jun 26, 2023
182957a
checking without sudo for docker_images_check.py
umang8223 Jun 26, 2023
6603c8c
testing for run
umang8223 Jun 26, 2023
159ea1d
testing for docker run without sudo
umang8223 Jun 26, 2023
2af7714
testing for arch runnner for install packages
umang8223 Jun 26, 2023
701ea5b
testing for arch runner on arm64vm
umang8223 Jun 27, 2023
562b96f
testing for arch runner on arm64vm for install job
umang8223 Jun 27, 2023
48cac45
check for rnv
umang8223 Jun 27, 2023
9118f0f
check for arm64 images
umang8223 Jun 27, 2023
c35a560
building util and base image
umang8223 Jun 27, 2023
71a475e
updated runner, build util and base
umang8223 Jun 27, 2023
b4a6310
updated runner, build util and base
umang8223 Jun 27, 2023
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
157 changes: 157 additions & 0 deletions .github/workflows/binary_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
name: binary-image

env:
# Force the stdout and stderr streams to be unbuffered
PYTHONUNBUFFERED: 1

on: # yamllint disable-line rule:truthy
push:
# pull_request:
# types:
# - synchronize
# - reopened
# - opened
# branches:
# - master
# paths-ignore:
# - 'CHANGELOG.md'
# - 'README.md'
# - 'SECURITY.md'
# - 'docker/docs/**'
# - 'docs/**'
# - 'utils/check-style/aspell-ignore/**'
jobs:
DockerHubPushAarch64:
runs-on: [self-hosted, style-checker-aarch64]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
with:
clear-repository: true
- name: Images check
run: |
cd "$GITHUB_WORKSPACE/tests/ci"
python3 docker_images_check.py --suffix aarch64
- name: Upload images files to artifacts
uses: actions/upload-artifact@v3
with:
name: changed_images_aarch64
path: ${{ runner.temp }}/docker_images_check/changed_images_aarch64.json
DockerHubPushAmd64:
runs-on: [self-hosted, builder]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
with:
clear-repository: true
- name: Images check
run: |
cd "$GITHUB_WORKSPACE/tests/ci"
python3 docker_images_check.py --suffix amd64
- name: Upload images files to artifacts
uses: actions/upload-artifact@v3
with:
name: changed_images_amd64
path: ${{ runner.temp }}/docker_images_check/changed_images_amd64.json
DockerHubPush:
needs: [DockerHubPushAmd64, DockerHubPushAarch64]
runs-on: [self-hosted, builder]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
with:
clear-repository: true
- name: Download changed aarch64 images
uses: actions/download-artifact@v3
with:
name: changed_images_aarch64
path: ${{ runner.temp }}
- name: Download changed amd64 images
uses: actions/download-artifact@v3
with:
name: changed_images_amd64
path: ${{ runner.temp }}
- name: Images check
run: |
cd "$GITHUB_WORKSPACE/tests/ci"
python3 docker_manifests_merge.py --suffix amd64 --suffix aarch64
- name: Upload images files to artifacts
uses: actions/upload-artifact@v3
with:
name: changed_images
path: ${{ runner.temp }}/changed_images.json
# BuilderDebAarch64:
# needs: [DockerHubPush]
# runs-on: [self-hosted, vm2]
# steps:
# - name: Set envs
# run: |
# cat >> "$GITHUB_ENV" << 'EOF'
# TEMP_PATH=${{runner.temp}}/build_check
# IMAGES_PATH=${{runner.temp}}/images_path
# REPO_COPY=${{runner.temp}}/build_check/ClickHouse
# CACHES_PATH=${{runner.temp}}/../ccaches
# BUILD_NAME=package_aarch64
# EOF
# - name: Download changed images
# uses: actions/download-artifact@v3
# with:
# name: changed_images
# path: ${{ runner.temp }}/images_path
# - name: Check out repository code
# uses: ClickHouse/checkout@v1
# with:
# clear-repository: true
# submodules: true
# fetch-depth: 0 # for performance artifact
# - name: Build
# run: |
# sudo rm -fr "$TEMP_PATH"
# mkdir -p "$TEMP_PATH"
# cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
# cd "$REPO_COPY/tests/ci" && python3 build_check.py "$BUILD_NAME"
# - name: Upload build URLs to artifacts
# if: ${{ success() || failure() }}
# uses: actions/upload-artifact@v3
# with:
# name: ${{ env.BUILD_URLS }}
# path: ${{ env.TEMP_PATH }}/${{ env.BUILD_URLS }}.json
# - name: Cleanup
# if: always()
# run: |
# docker ps --quiet | xargs --no-run-if-empty docker kill ||:
# docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
# InstallPackagesTestAarch64:
# needs: [BuilderDebAarch64]
# runs-on: [self-hosted, test41]
# steps:
# - name: Set envs
# run: |
# cat >> "$GITHUB_ENV" << 'EOF'
# TEMP_PATH=${{runner.temp}}/test_install
# REPORTS_PATH=${{runner.temp}}/reports_dir
# CHECK_NAME=Install packages (arm64)
# REPO_COPY=${{runner.temp}}/test_install/ClickHouse
# EOF
# - name: Download json reports
# uses: actions/download-artifact@v3
# with:
# path: ${{ env.REPORTS_PATH }}
# - name: Check out repository code
# uses: ClickHouse/checkout@v1
# with:
# clear-repository: true
# - name: Test packages installation
# run: |
# sudo rm -fr "$TEMP_PATH"
# mkdir -p "$TEMP_PATH"
# cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
# cd "$REPO_COPY/tests/ci"
# python3 install_check.py "$CHECK_NAME"
# - name: Cleanup
# if: always()
# run: |
# docker ps --quiet | xargs --no-run-if-empty docker kill ||:
# docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# sudo rm -fr "$TEMP_PATH"
15 changes: 2 additions & 13 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,8 @@ on: # yamllint disable-line rule:truthy
branches:
- 'master'
jobs:
PythonUnitTests:
runs-on: [self-hosted, style-checker]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
with:
clear-repository: true
- name: Python unit tests
run: |
cd "$GITHUB_WORKSPACE/tests/ci"
python3 -m unittest discover -s . -p '*_test.py'
DockerHubPushAarch64:
runs-on: [self-hosted, style-checker-aarch64]
runs-on: [self-hosted, style-checker]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
Expand Down Expand Up @@ -53,7 +42,7 @@ jobs:
name: changed_images_amd64
path: ${{ runner.temp }}/docker_images_check/changed_images_amd64.json
DockerHubPush:
needs: [DockerHubPushAmd64, DockerHubPushAarch64, PythonUnitTests]
needs: [DockerHubPushAmd64, DockerHubPushAarch64]
runs-on: [self-hosted, style-checker]
steps:
- name: Check out repository code
Expand Down
Loading