Skip to content

Commit

Permalink
switch to production S3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoldegrove committed Oct 22, 2024
1 parent 85e9e4e commit 499d6af
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ options:
--input-type {file,url}
Specify if the input type (default: url).
--input-url INPUT_URL
Input URL to the releases data. Defaults to gardenlinux-releases S3 URL.
Input URL to the releases data. Defaults to gardenlinux-glrd S3 URL.
--no-input-split Do not split Input into stable+patch and nightly. No additional input-files *-nightly and *-dev will be parsed.
--output-format {json,yaml,markdown,mermaid_gantt,shell}
Output format: json, yaml, markdown, mermaid_gantt, shell (default).
Expand Down Expand Up @@ -276,7 +276,7 @@ options:
Output format: 'yaml' or 'json' (default: json).
--no-output-split Do not split Output into stable+patch and nightly. Additional output-files *-nightly and *-dev will not be created.
--s3-bucket-name S3_BUCKET_NAME
Name of S3 bucket. Defaults to 'gardenlinux-releases'.
Name of S3 bucket. Defaults to 'gardenlinux-glrd'.
--s3-bucket-prefix S3_BUCKET_PREFIX
Prefix inside S3 bucket. Defaults to ''.
--s3-bucket-region S3_BUCKET_REGION
Expand Down
2 changes: 1 addition & 1 deletion glrd/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ def parse_arguments():
parser.add_argument('--output-file-prefix', type=str, default=DEFAULTS['DEFAULT_MANAGE_OUTPUT_FILE_PREFIX'], help="The prefix added to the output file (default: releases).")
parser.add_argument('--output-format', type=str, choices=['yaml', 'json'], default=DEFAULTS['DEFAULT_MANAGE_OUTPUT_FORMAT'], help="Output format: 'yaml' or 'json' (default: json).")
parser.add_argument('--no-output-split', action='store_true', help="Do not split Output into stable+patch and nightly. Additional output-files *-nightly and *-dev will not be created.")
parser.add_argument('--s3-bucket-name', type=str, default=DEFAULTS['DEFAULT_S3_BUCKET_NAME'], help="Name of S3 bucket. Defaults to 'gardenlinux-releases'.")
parser.add_argument('--s3-bucket-name', type=str, default=DEFAULTS['DEFAULT_S3_BUCKET_NAME'], help="Name of S3 bucket. Defaults to 'gardenlinux-glrd'.")
parser.add_argument('--s3-bucket-prefix', type=str, default=DEFAULTS['DEFAULT_S3_BUCKET_PREFIX'], help="Prefix inside S3 bucket. Defaults to ''.")
parser.add_argument('--s3-bucket-region', type=str, default=DEFAULTS['DEFAULT_S3_BUCKET_REGION'], help="Name of S3 bucket Region. Defaults to 'eu-central-1'.")
parser.add_argument('--s3-create-bucket', action='store_true', help="Create an S3 bucket.")
Expand Down
2 changes: 1 addition & 1 deletion glrd/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def parse_arguments():
parser.add_argument('--input-format', type=str, choices=['yaml', 'json'], default=DEFAULTS['DEFAULT_QUERY_INPUT_FORMAT'], help="Input format: 'yaml' or 'json' (default: json).")
parser.add_argument('--input-file-prefix', type=str, default=DEFAULTS['DEFAULT_QUERY_INPUT_FILE_PREFIX'], help="The prefix to get input files (default: releases).")
parser.add_argument('--input-type', choices=['file', 'url'], default=DEFAULTS['DEFAULT_QUERY_INPUT_TYPE'], help="Specify if the input type (default: url).")
parser.add_argument('--input-url', type=str, default=DEFAULTS['DEFAULT_QUERY_INPUT_URL'], help="Input URL to the releases data. Defaults to gardenlinux-releases S3 URL.")
parser.add_argument('--input-url', type=str, default=DEFAULTS['DEFAULT_QUERY_INPUT_URL'], help="Input URL to the releases data. Defaults to gardenlinux-glrd S3 URL.")
parser.add_argument('--no-input-split', action='store_true', help="Do not split Input into stable+patch and nightly. No additional input-files *-nightly and *-dev will be parsed.")
parser.add_argument('--output-format', choices=['json', 'yaml', 'markdown', 'mermaid_gantt', 'shell'], default=DEFAULTS['DEFAULT_QUERY_OUTPUT_TYPE'], help="Output format: json, yaml, markdown, mermaid_gantt, shell (default).")
parser.add_argument('--output-description', type=str, default=DEFAULTS['DEFAULT_QUERY_OUTPUT_DESCRIPTION'], help="Description, added to certain outputs, e.g. mermaid (default: 'Garden Linux Releases').")
Expand Down
4 changes: 2 additions & 2 deletions glrd/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
'DEFAULT_QUERY_INPUT_FORMAT': 'json',
'DEFAULT_QUERY_INPUT_FILE_PREFIX': 'releases',
'DEFAULT_QUERY_INPUT_TYPE': 'url',
'DEFAULT_QUERY_INPUT_URL': 'https://gardenlinux-releases.s3.eu-central-1.amazonaws.com',
'DEFAULT_QUERY_INPUT_URL': 'https://gardenlinux-glrd.s3.eu-central-1.amazonaws.com',
'DEFAULT_QUERY_OUTPUT_TYPE': 'shell',
'DEFAULT_QUERY_OUTPUT_DESCRIPTION': 'Garden Linux Releases',
'DEFAULT_QUERY_TYPE': 'stable,patch',
'DEFAULT_MANAGE_INPUT_FILE': 'releases-input.yaml',
'DEFAULT_MANAGE_OUTPUT_FILE_PREFIX': 'releases',
'DEFAULT_MANAGE_OUTPUT_FORMAT': 'json',
'DEFAULT_S3_BUCKET_NAME': 'gardenlinux-releases',
'DEFAULT_S3_BUCKET_NAME': 'gardenlinux-glrd',
'DEFAULT_S3_BUCKET_PREFIX': '',
'DEFAULT_S3_BUCKET_REGION': 'eu-central-1'
}
Expand Down

0 comments on commit 499d6af

Please sign in to comment.