mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Trying other way
This commit is contained in:
parent
11b1600c23
commit
6af1a2ee6a
12
.github/workflows/backport.yml
vendored
12
.github/workflows/backport.yml
vendored
@ -19,22 +19,12 @@ jobs:
|
||||
- name: Cherry pick
|
||||
env:
|
||||
TEMP_PATH: ${{runner.temp}}/cherry_pick
|
||||
REPO_COPY: ${{runner.temp}}/cherry_pick/ClickHouse
|
||||
ROBOT_CLICKHOUSE_SSH_KEY: ${{secrets.ROBOT_CLICKHOUSE_SSH_KEY}}
|
||||
REPO_OWNER: "ClickHouse"
|
||||
REPO_NAME: "ClickHouse"
|
||||
REPO_TEAM: "core"
|
||||
run: |
|
||||
ls -la "$GITHUB_WORKSPACE"
|
||||
echo "Checking WORKSPACE"
|
||||
ls -la "$GITHUB_WORKSPACE/tests/ci"
|
||||
echo "COPY REPO"
|
||||
cp -r "$GITHUB_WORKSPACE" $TEMP_PATH
|
||||
echo "Checking $TEMP_PATH"
|
||||
ls -la "$TEMP_PATH"
|
||||
echo "Checking $REPO_COPY"
|
||||
ls -la "$REPO_COPY"
|
||||
cd $REPO_COPY/tests/ci
|
||||
cd $GITHUB_WORKSPACE/tests/ci
|
||||
python3 cherry_pick.py
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
|
@ -13,7 +13,7 @@ from cherry_pick_utils.cherrypick import CherryPick
|
||||
|
||||
if __name__ == "__main__":
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
repo_path = os.path.join(os.getenv("REPO_COPY", os.path.abspath("../../")))
|
||||
repo_path = os.path.join(os.getenv("GITHUB_WORKSPACE", os.path.abspath("../../")))
|
||||
temp_path = os.path.join(os.getenv("TEMP_PATH"))
|
||||
|
||||
if not os.path.exists(temp_path):
|
||||
|
Loading…
Reference in New Issue
Block a user