Skip to content

Commit 530a662

Browse files
committed
Update secrets definition in workflows and temp path in packager
1 parent 95644cb commit 530a662

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/reusable_test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,21 @@ name: Testing workflow
4949
AWS_ACCESS_KEY_ID:
5050
description: the access key id to the aws s3 bucket.
5151
required: true
52+
CLICKHOUSE_TEST_STAT_LOGIN:
53+
description: username for ci db.
54+
required: true
55+
CLICKHOUSE_TEST_STAT_PASSWORD:
56+
description: password for ci db.
57+
required: true
58+
CLICKHOUSE_TEST_STAT_URL:
59+
description: url for ci db.
60+
required: true
61+
DOCKER_PASSWORD:
62+
description: token to upload docker images.
63+
required: true
64+
ROBOT_TOKEN:
65+
description: token to update ci status.
66+
required: true
5267

5368
env:
5469
# Force the stdout and stderr streams to be unbuffered

docker/packager/packager

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module_dir = p.abspath(p.dirname(__file__))
1414
SCRIPT_PATH = Path(__file__).absolute()
1515
IMAGE_TYPE = "binary-builder"
1616
IMAGE_NAME = f"altinityinfra/{IMAGE_TYPE}"
17-
TEMP_PATH = os.getenv("TEMP_PATH", p.abspath(p.join(module_dir, "./tmp")))
17+
DEFAULT_TMP_PATH = SCRIPT_PATH.parent.absolute() / 'tmp'
18+
TEMP_PATH = Path(os.getenv("TEMP_PATH", DEFAULT_TMP_PATH))
1819

1920
class BuildException(Exception):
2021
pass

0 commit comments

Comments
 (0)