File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -88,9 +88,9 @@ name: Regression test workflow - Release
88
88
env :
89
89
# Force the stdout and stderr streams to be unbuffered
90
90
PYTHONUNBUFFERED : 1
91
- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_REPORT_KEY_ID }}
92
- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
93
- AWS_DEFAULT_REGION : ${{ secrets.AWS_REPORT_REGION }}
91
+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
92
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
93
+ AWS_DEFAULT_REGION : ${{ secrets.AWS_DEFAULT_REGION }}
94
94
DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
95
95
DOCKER_PASSWORD : ${{ secrets.DOCKER_PASSWORD }}
96
96
CHECKS_DATABASE_HOST : ${{ secrets.CHECKS_DATABASE_HOST }}
Original file line number Diff line number Diff line change @@ -57,16 +57,11 @@ def get_parameters_from_ssm(
57
57
58
58
return results
59
59
60
-
61
- ROBOT_TOKEN = None # type: Optional[Token]
62
-
63
60
# NOTE(Arthur Passos): Original CI code uses the "_original" version of this method. Each robot token is rate limited
64
61
# and the original implementation selects the "best one". To make it simpler and iterate faster,
65
62
# we are using only one robot and keeping the method signature. In the future we might reconsider
66
63
# having multiple robot tokens
67
- def get_best_robot_token (token_prefix_env_name = "github_robot_token" ):
68
- # Re-use already fetched token (same as in get_best_robot_token_original)
69
- # except here we assume it is always a string (since we use only one token and don't do token rotation)
64
+ def get_best_robot_token ():
70
65
return ROBOT_TOKEN
71
66
72
67
def get_best_robot_token_original (tokens_path : str = "/github-tokens" ) -> str :
You can’t perform that action at this time.
0 commit comments