-
Notifications
You must be signed in to change notification settings - Fork 6
24.8 Use credentials from secrets #693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
24.8 Use credentials from secrets #693
Conversation
docker/packager/packager
Outdated
|
||
SCRIPT_PATH = Path(__file__).absolute() | ||
IMAGE_TYPE = "binary-builder" | ||
IMAGE_NAME = f"altinityinfra/{IMAGE_TYPE}" | ||
|
||
TEMP_PATH = os.getenv("TEMP_PATH", p.abspath(p.join(module_dir, "./tmp"))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just:
TEMP_PATH = os.getenv("TEMP_PATH", p.abspath(p.join(module_dir, "./tmp"))) | |
DEFAULT_TMP_PATH = SCRIPT_PATH.parent.absolute() / 'tmp' | |
TEMP_PATH = Path(os.getenv("TEMP_PATH", DEFAULT_TMP_PATH)) |
?
CLICKHOUSE_TEST_STAT_LOGIN: ${{ secrets.CLICKHOUSE_TEST_STAT_LOGIN }} | ||
CLICKHOUSE_TEST_STAT_PASSWORD: ${{ secrets.CLICKHOUSE_TEST_STAT_PASSWORD }} | ||
CLICKHOUSE_TEST_STAT_URL: ${{ secrets.CLICKHOUSE_TEST_STAT_URL }} | ||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | ||
ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we need to add those to the section above for this worklow to work properly on workflow_call
global ROBOT_TOKEN | ||
if ROBOT_TOKEN is not None: | ||
return ROBOT_TOKEN | ||
ROBOT_TOKEN = get_parameter_from_ssm(token_prefix_env_name) | ||
return ROBOT_TOKEN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like ROBOT_TOKEN
is always going to be None
, due assignment above:
ROBOT_TOKEN = None # type: Optional[Token]
This is an automated comment for commit 926c396 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
…ecrets 24.8 Use credentials from secrets
…crets Antalya backport of #693 - Use credentials from secrets
…ecrets 24.8 Use credentials from secrets
…ecrets 24.8 Use credentials from secrets
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):