Refresh AMIs
diff --git a/github-runner-ami/packer/vars/variables.pkrvars.hcl b/github-runner-ami/packer/vars/variables.pkrvars.hcl
index 39dd4c7..2b351c5 100644
--- a/github-runner-ami/packer/vars/variables.pkrvars.hcl
+++ b/github-runner-ami/packer/vars/variables.pkrvars.hcl
@@ -19,5 +19,5 @@
ami_name = "airflow-runner-ami"
aws_regions = ["eu-central-1", "us-east-2"]
packer_role_arn = "arn:aws:iam::827901512104:role/packer-role"
-runner_version = "2.292.0-airflow1"
+runner_version = "2.293.0-airflow1"
session_manager_instance_profile_name = "packer_ssm_instance_profile"
diff --git a/scripts/list_committers b/scripts/list_committers
index 70ab370..b4d5f9c 100755
--- a/scripts/list_committers
+++ b/scripts/list_committers
@@ -17,12 +17,16 @@
# specific language governing permissions and limitations
# under the License.
-import click
+import rich_click as click
from github import Github
+from rich.console import Console
+console = Console(color_system="standard", width=200)
@click.command(short_help='List committer logins - used to sync list of committers in CI configuration')
-@click.argument('github-token', envvar='GITHUB_TOKEN')
+@click.option('--github-token', envvar='GITHUB_TOKEN',
+ help="You can generate the token with readOrg permissions: "
+ "https://github.com/settings/tokens/new?description=Read%20Org&scopes=read:org")
def main(github_token):
gh = Github(github_token)
org = gh.get_organization('apache')
@@ -33,7 +37,7 @@
click.echo(" - update the `/runners/apache/airflow/configOverlay` parameter in AWS SSM ParameterStore")
click.echo(" - restart the self-hosted runners")
click.echo(
- " - finally, replace the list of commiters in the `build-info` job in apache/airflow's `.github/workflows/ci.yml`\n"
+ " - finally, replace the list of committers in the `build-info` job in apache/airflow's `.github/workflows/ci.yml`\n"
)
click.echo(',\n'.join(committer_usernames))