forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xielei
committed
Jan 13, 2024
1 parent
b32c27a
commit 7bddf0b
Showing
1 changed file
with
21 additions
and
9 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -10,6 +10,8 @@ jobs: | |
steps: | ||
- name: aaa | ||
run: | | ||
python --version | ||
python3 --version | ||
docker ps | ||
echo "123456ab" > abc | ||
cat abc | xargs -i docker login [email protected] registry.cn-hangzhou.aliyuncs.com --password {} | ||
|
@@ -22,7 +24,26 @@ jobs: | |
persist-credentials: false | ||
submodules: true | ||
|
||
|
||
- name: bbb | ||
run: | | ||
output_dir="build_results" | ||
./docker/packager/packager --package-type=binary --output-dir "$output_dir" | ||
ls -al build_results | ||
echo "123456ab" > abc | ||
cat abc | xargs -i docker login [email protected] registry.cn-hangzhou.aliyuncs.com --password {} | ||
docker rm -f aaaaaabbbbbbccc | ||
docker run -itd --name aaaaaabbbbbbccc nginx | ||
docker cp build_results aaaaaabbbbbbccc:/opt | ||
docker commit aaaaaabbbbbbccc registry.cn-hangzhou.aliyuncs.com/he3cloud/clickhouse:v3 | ||
docker push registry.cn-hangzhou.aliyuncs.com/he3cloud/clickhouse:v3 | ||
docker rm -f aaaaaabbbbbbccc | ||
- name: ccc | ||
if: false | ||
run: | | ||
ls -al | ||
du -chs * | ||
|
@@ -39,12 +60,3 @@ jobs: | |
docker rm -f aaaaaabbbbbbccc | ||
- name: Cleanup | ||
run: | | ||
# define a directory for the output artifacts | ||
echo 123 | ||
# | ||
# output_dir="build_results" | ||
# mkdir -p build_results | ||
# ./docker/packager/packager --package-type=binary --output-dir "$output_dir" | ||
# ls -al build_results |