mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Don't use too powerful key
This commit is contained in:
parent
157d4a7f7c
commit
af7cd00e30
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -208,9 +208,6 @@ jobs:
|
||||
cat >> "$GITHUB_ENV" << 'EOF'
|
||||
TEMP_PATH=${{runner.temp}}/keeper_jepsen
|
||||
REPORTS_PATH=${{runner.temp}}/keeper_jepsen
|
||||
ROBOT_CLICKHOUSE_SSH_KEY<<RCSK
|
||||
${{secrets.ROBOT_CLICKHOUSE_SSH_KEY}}
|
||||
RCSK
|
||||
REPO_COPY=${{runner.temp}}/keeper_jepsen/ClickHouse
|
||||
EOF
|
||||
- name: Download json reports
|
||||
|
@ -7,6 +7,7 @@ import os
|
||||
import boto3
|
||||
from github import Github
|
||||
|
||||
from get_robot_token import get_parameter_from_ssm
|
||||
from env_helper import REPORTS_PATH, REPO_COPY, TEMP_PATH
|
||||
from stopwatch import Stopwatch
|
||||
from upload_result_helper import upload_results
|
||||
@ -143,7 +144,8 @@ if __name__ == "__main__":
|
||||
else:
|
||||
raise Exception("Cannot binary clickhouse among build results")
|
||||
|
||||
with SSHKey("ROBOT_CLICKHOUSE_SSH_KEY"):
|
||||
os.environ['JEPSEN_KEY'] = get_parameter_from_ssm("jepsen_ssh_key")
|
||||
with SSHKey("JEPSEN_KEY"):
|
||||
ssh_auth_sock = os.environ['SSH_AUTH_SOCK']
|
||||
auth_sock_dir = os.path.dirname(ssh_auth_sock)
|
||||
cmd = get_run_command(ssh_auth_sock, auth_sock_dir, pr_info, nodes_path, REPO_COPY, build_url, result_path, docker_image)
|
||||
|
Loading…
Reference in New Issue
Block a user