From 975f66f2eebe9dadba04f275774d4ab83f74cf25 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:04:41 +0200 Subject: Adding upstream version 7.7.0+dfsg. Signed-off-by: Daniel Baumann --- .../community/aws/.github/BOTMETA.yml | 333 +++++++++++++++++++++ .../aws/.github/ISSUE_TEMPLATE/bug_report.yml | 161 ++++++++++ .../aws/.github/ISSUE_TEMPLATE/ci_report.yml | 76 +++++ .../aws/.github/ISSUE_TEMPLATE/config.yml | 27 ++ .../ISSUE_TEMPLATE/documentation_report.yml | 130 ++++++++ .../aws/.github/ISSUE_TEMPLATE/feature_request.yml | 74 +++++ .../community/aws/.github/patchback.yml | 4 + .../community/aws/.github/settings.yml | 5 + .../community/aws/.github/workflows/docs-pr.yml | 74 +++++ .../community/aws/.github/workflows/docs-push.yml | 40 +++ 10 files changed, 924 insertions(+) create mode 100644 ansible_collections/community/aws/.github/BOTMETA.yml create mode 100644 ansible_collections/community/aws/.github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 ansible_collections/community/aws/.github/ISSUE_TEMPLATE/ci_report.yml create mode 100644 ansible_collections/community/aws/.github/ISSUE_TEMPLATE/config.yml create mode 100644 ansible_collections/community/aws/.github/ISSUE_TEMPLATE/documentation_report.yml create mode 100644 ansible_collections/community/aws/.github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 ansible_collections/community/aws/.github/patchback.yml create mode 100644 ansible_collections/community/aws/.github/settings.yml create mode 100644 ansible_collections/community/aws/.github/workflows/docs-pr.yml create mode 100644 ansible_collections/community/aws/.github/workflows/docs-push.yml (limited to 'ansible_collections/community/aws/.github') diff --git a/ansible_collections/community/aws/.github/BOTMETA.yml b/ansible_collections/community/aws/.github/BOTMETA.yml new file mode 100644 index 000000000..3629378c0 --- /dev/null +++ b/ansible_collections/community/aws/.github/BOTMETA.yml @@ -0,0 +1,333 @@ +automerge: false +files: + docs/: + labels: docs + $connection/: + labels: connection + $connection/aws_ssm.py: + $modules/: + authors: wimnat + maintainers: $team_aws + ignore: erydo joshsouza nadirollo seiffert tedder willthames wimnat + label: modules + $modules/_aws_region_facts.py: + authors: Sodki + $modules/_aws_s3_bucket_facts.py: + authors: hyperized + $modules/_aws_sgw_facts.py: + authors: nerzhul + $modules/_aws_waf_facts.py: + authors: mmochan willthames + $modules/_cloudfront_facts.py: + authors: wilvk + $modules/_cloudwatchlogs_log_group_facts.py: + authors: willricardo + $modules/_ec2_customer_gateway_facts.py: + authors: Madhura-CSI + $modules/_ec2_eip_facts.py: + authors: iiibrad + $modules/_ec2_elb_facts.py: + authors: mjschultz nand0p + $modules/_ec2_lc_facts.py: + authors: psykotox + $modules/_ec2_placement_group_facts.py: + authors: iiibrad + $modules/_ec2_vpc_endpoint_facts.py: + authors: Etherdaemon + $modules/_ec2_vpc_igw_facts.py: + authors: naslanidis + $modules/_ec2_vpc_nacl_facts.py: + authors: brandond + $modules/_ec2_vpc_vgw_facts.py: + authors: naslanidis + $modules/_ec2_vpc_vpn_facts.py: + authors: Madhura-CSI + $modules/_ecs_service_facts.py: + authors: Java1Guy kaczynskid + $modules/_ecs_taskdefinition_facts.py: + authors: Java1Guy gurumaia kaczynskid + $modules/_efs_facts.py: + authors: ryansydnor + $modules/_elasticache_facts.py: + authors: willthames + $modules/_elb_classic_lb_facts.py: + authors: mjschultz nand0p + $modules/_elb_target_facts.py: + authors: yaakov-github + $modules/_iam_cert_facts.py: + authors: linuxdynasty + $modules/_iam_mfa_device_facts.py: + authors: pwnall + $modules/_iam_role_facts.py: + authors: willthames + $modules/_iam_server_certificate_facts.py: + authors: linuxdynasty + $modules/_lambda_facts.py: + authors: pjodouin + $modules/_rds_instance_facts.py: + authors: mikedlr willthames + $modules/_rds_snapshot_facts.py: + authors: willthames + $modules/_redshift_facts.py: + authors: j-carl + $modules/_route53_facts.py: + authors: Etherdaemon + $modules/aws_acm.py: + authors: matt-telstra + $modules/aws_acm_info.py: + authors: willthames + $modules/aws_api_gateway.py: + authors: mikedlr + $modules/aws_application_scaling_policy.py: + authors: chenl87 gurumaia + $modules/aws_codebuild.py: + authors: stefanhorning + $modules/aws_codecommit.py: + authors: ptux + $modules/aws_codepipeline.py: + authors: stefanhorning + $modules/aws_direct_connect_connection.py: + authors: s-hertel + maintainers: jillr tremble + $modules/aws_direct_connect_gateway.py: + authors: gobins + $modules/aws_eks_cluster.py: + authors: willthames + $modules/aws_elasticbeanstalk_app.py: + authors: viper233 + $modules/aws_inspector_target.py: + authors: dennisconrad + $modules/aws_kms.py: + authors: tedder tremble willthames + maintainers: jillr s-hertel + labels: aws_kms + $modules/aws_kms_info.py: + authors: willthames + $modules/aws_region_info.py: + authors: Sodki + $modules/aws_s3_bucket_info.py: + authors: hyperized + $modules/aws_s3_cors.py: + authors: fivethreeo + $modules/aws_secret.py: + authors: rrey + $modules/aws_ses_rule_set.py: + authors: orthanc tomislacker + $modules/aws_sgw_info.py: + authors: nerzhul + $modules/aws_ssm_parameter_store.py: + authors: mikedlr nathanwebsterdotme ozbillwang + $modules/aws_step_functions_state_machine.py: + authors: tdekeyser + $modules/aws_step_functions_state_machine_execution.py: + authors: prasadkatti + $modules/cloudformation_exports_info.py: + authors: mmoyle + $modules/cloudformation_stack_set.py: + authors: ryansb + ignore: erydo nadirollo ryansb simplesteph + $modules/cloudfront_distribution.py: + authors: willthames wilvk + $modules/cloudtrail.py: + authors: ansible shepdelacreme tedder + labels: cloudtrail + $modules/cloudwatchevent_rule.py: + authors: jsdalton + $modules/cloudwatchlogs_log_group_metric_filter.py: + authors: markuman + $modules/data_pipeline.py: + authors: raags s-hertel + maintainers: jillr tremble + $modules/dynamodb_table.py: + authors: loia + $modules/dynamodb_ttl.py: + authors: tedder + $modules/ec2_ami_copy.py: + authors: amir343 defunctio + $modules/ec2_asg.py: + authors: garethr + labels: ec2_asg + $modules/ec2_asg_lifecycle_hook.py: + authors: tsiganenok + $modules/ec2_customer_gateway.py: + authors: MichaelBaydoun + $modules/ec2_customer_gateway_info.py: + authors: Madhura-CSI + $modules/ec2_eip.py: + authors: rickmendes + $modules/ec2_eip_info.py: + authors: iiibrad + $modules/ec2_elb_info.py: + authors: mjschultz nand0p + $modules/ec2_launch_template.py: + authors: ryansb + ignore: erydo nadirollo ryansb simplesteph + $modules/ec2_lc.py: + authors: garethr wilvk + labels: ec2_lc + $modules/ec2_lc_find.py: + authors: fiunchinho + $modules/ec2_lc_info.py: + authors: psykotox + $modules/ec2_metric_alarm.py: + authors: Zeekin + labels: ec2_metric_alarm + $modules/ec2_scaling_policy.py: + authors: Zeekin + $modules/ec2_snapshot_copy.py: + authors: Deepakkothandan + $modules/ec2_vpc_egress_igw.py: + authors: shepdelacreme + $modules/ec2_vpc_nacl.py: + authors: mmochan + $modules/ec2_vpc_nacl_info.py: + authors: brandond + $modules/ec2_vpc_peer.py: + authors: mmochan + $modules/ec2_vpc_peering_info.py: + authors: Etherdaemon + $modules/ec2_vpc_route_table.py: + authors: erydo willthames wimnat + ignore: wimnat + $modules/ec2_vpc_vpn.py: + authors: s-hertel + maintainers: jillr tremble + $modules/ec2_vpc_vpn_info.py: + authors: Madhura-CSI + $modules/ec2_win_password.py: + authors: rickmendes + $modules/ecs_attribute.py: + authors: anryko + $modules/ecs_cluster.py: + authors: Java1Guy + $modules/ecs_ecr.py: + authors: leedm777 + $modules/ecs_service.py: + authors: Java1Guy kaczynskid simplesteph zacblazic + ignore: erydo nadirollo seiffert simplesteph + $modules/ecs_service_info.py: + authors: Java1Guy kaczynskid + $modules/ecs_tag.py: + authors: mpechner + $modules/ecs_taskdefinition_info.py: + authors: Java1Guy gurumaia kaczynskid + $modules/efs.py: + authors: akazakov ryansydnor + $modules/efs_info.py: + authors: ryansydnor + $modules/elasticache.py: + authors: jsdalton + maintainers: $team_aws alachaum + labels: elasticache + $modules/elasticache_info.py: + authors: willthames + $modules/elasticache_subnet_group.py: + authors: timmahoney + $modules/elb_classic_lb_info.py: + authors: mjschultz nand0p + $modules/elb_instance.py: + authors: jarv + $modules/elb_target_info.py: + authors: yaakov-github + $modules/execute_lambda.py: + authors: ryansb + ignore: erydo nadirollo ryansb simplesteph + $modules/iam.py: + authors: defionscode seiffert + ignore: defionscode joshsouza ryansb seiffert tedder + $modules/iam_group.py: + authors: infectsoldier naslanidis + $modules/iam_managed_policy.py: + authors: dkhenry + $modules/iam_mfa_device_info.py: + authors: pwnall + $modules/iam_password_policy.py: + authors: slapula + $modules/iam_policy.py: + authors: defionscode sbj-ss + labels: iam_policy + ignore: defionscode joshsouza ryansb simplesteph + $modules/iam_policy_info.py: + authors: tremble + maintainers: jillr s-hertel + $modules/iam_role_info.py: + authors: willthames + $modules/iam_saml_federation.py: + authors: aidan- axc450 + $modules/iam_server_certificate.py: + authors: defionscode + ignore: defionscode joshsouza ryansb simplesteph + $modules/iam_server_certificate_info.py: + authors: linuxdynasty + $modules/iam_user.py: + authors: joshsouza + ignore: erydo joshsouza ryansb simplesteph + $modules/iam_user_info.py: + authors: Akasurde Constantin07 + $modules/kinesis_stream.py: + authors: linuxdynasty + $modules/lambda.py: + authors: steynovich + $modules/lambda_info.py: + authors: pjodouin + $modules/lambda_policy.py: + authors: mikedlr pjodouin + $modules/lightsail.py: + authors: nickball prasadkatti + $modules/rds.py: + authors: bpennypacker willthames + ignore: bpennypacker erydo nadirollo seiffert tedder + $modules/rds_instance.py: + authors: s-hertel + maintainers: jillr tremble + $modules/rds_instance_info.py: + authors: mikedlr willthames + $modules/rds_param_group.py: + authors: tastychutney willthames + maintainers: $team_aws scottanderson42 + $modules/rds_snapshot.py: + authors: mikedlr willthames + $modules/rds_snapshot_info.py: + authors: willthames + $modules/rds_subnet_group.py: + authors: tastychutney + maintainers: $team_aws scottanderson42 + $modules/redshift.py: + authors: j-carl rafaeldriutti + $modules/redshift_cross_region_snapshots.py: + authors: captainkerk + $modules/route53.py: + authors: bpennypacker jimbydamonk + ignore: bpennypacker erydo nadirollo seiffert tedder + $modules/route53_health_check.py: + authors: zimbatm + $modules/route53_info.py: + authors: Etherdaemon + $modules/route53_zone.py: + authors: minichate + $modules/s3_bucket_notification.py: + authors: aljazkosir miha-plesko xlab-si + $modules/s3_sync.py: + authors: tedder + $modules/sns.py: + authors: flowerysong mjschultz + $modules/sns_topic.py: + authors: joelthompson nand0p willthames + $modules/sqs_queue.py: + authors: loia nadirollo nand0p sbj-ss + $modules/sts_assume_role.py: + authors: bekelchik piontas + $modules/sts_session_token.py: + authors: pwnall + scripts/inventory/: + labels: inventory + tests/: + labels: tests + tests/integration/: + labels: integrations + tests/units/: + labels: units +macros: + connection: plugins/connection + modules: plugins/modules + team_aws: jillr s-hertel tremble markuman diff --git a/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/bug_report.yml b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..5f87e5afe --- /dev/null +++ b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,161 @@ +--- +name: Bug report +description: Create a report to help us improve + +body: +- type: markdown + attributes: + value: | + ⚠ + Verify first that your issue is not [already reported on GitHub][issue search]. + Where possible also test if the latest release and main branch are affected too. + *Complete **all** sections as described, this form is processed automatically.* + + [issue search]: https://github.com/ansible-collections/community.aws/search?q=is%3Aissue&type=issues + +- type: textarea + attributes: + label: Summary + description: | + Explain the problem briefly below. + placeholder: >- + When I try to do X with the collection from the main branch on GitHub, Y + breaks in a way Z under the env E. Here are all the details I know + about this problem... + validations: + required: true + +- type: dropdown + attributes: + label: Issue Type + # FIXME: Once GitHub allows defining the default choice, update this + options: + - Bug Report + validations: + required: true + +- type: textarea + attributes: + # For smaller collections we could use a multi-select and hardcode the list + # May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins + # Select from list, filter as you type (`mysql` would only show the 3 mysql components) + # OR freeform - doesn't seem to be supported in adaptivecards + label: Component Name + description: >- + Write the short name of the module or plugin below, + *use your best guess if unsure*. + placeholder: ec2_instance, ec2_security_group + validations: + required: true + +- type: textarea + attributes: + label: Ansible Version + description: >- + Paste verbatim output from `ansible --version` between + tripple backticks. + value: | + ```console (paste below) + $ ansible --version + + ``` + validations: + required: true + +- type: textarea + attributes: + label: Collection Versions + description: >- + Paste verbatim output from `ansible-galaxy collection list` between + tripple backticks. + value: | + ```console (paste below) + $ ansible-galaxy collection list + ``` + validations: + required: true + +- type: textarea + attributes: + label: AWS SDK versions + description: >- + The AWS modules depend heavily on the Amazon AWS SDKs which are regularly updated. + Paste verbatim output from `pip show boto boto3 botocore` between quotes + value: | + ```console (paste below) + $ pip show boto boto3 botocore + ``` + validations: + required: true + +- type: textarea + attributes: + label: Configuration + description: >- + If this issue has an example piece of YAML that can help to reproduce this problem, please provide it. + This can be a piece of YAML from, e.g., an automation, script, scene or configuration. + + Paste verbatim output from `ansible-config dump --only-changed` between quotes + value: | + ```console (paste below) + $ ansible-config dump --only-changed + + ``` + +- type: textarea + attributes: + label: OS / Environment + description: >- + Provide all relevant information below, e.g. target OS versions, + network device firmware, etc. + placeholder: RHEL 8, CentOS Stream etc. + validations: + required: false + +- type: textarea + attributes: + label: Steps to Reproduce + description: | + Describe exactly how to reproduce the problem, using a minimal test-case. It would *really* help us understand your problem if you could also paste any playbooks, configs and commands you used. + + **HINT:** You can paste https://gist.github.com links for larger files. + value: | + + ```yaml (paste below) + + ``` + validations: + required: true + +- type: textarea + attributes: + label: Expected Results + description: >- + Describe what you expected to happen when running the steps above. + placeholder: >- + I expected X to happen because I assumed Y. + that it did not. + validations: + required: true + +- type: textarea + attributes: + label: Actual Results + description: | + Describe what actually happened. If possible run with extra verbosity (`-vvvv`). + + Paste verbatim command output between quotes. + value: | + ```console (paste below) + + ``` + +- type: checkboxes + attributes: + label: Code of Conduct + description: | + Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first. + options: + - label: I agree to follow the Ansible Code of Conduct + required: true +... diff --git a/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/ci_report.yml b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/ci_report.yml new file mode 100644 index 000000000..adbdb949b --- /dev/null +++ b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/ci_report.yml @@ -0,0 +1,76 @@ +--- +name: CI Bug Report +description: Create a report to help us improve our CI + +body: +- type: markdown + attributes: + value: | + ⚠ + Verify first that your issue is not [already reported on GitHub][issue search]. + *Complete **all** sections as described, this form is processed automatically.* + + [issue search]: https://github.com/ansible-collections/community.aws/search?q=is%3Aissue&type=issues + +- type: textarea + attributes: + label: Summary + description: | + Describe the new issue briefly below. + placeholder: >- + I opened a Pull Request and CI failed to run. I believe this is due to a problem with the CI rather than my code. + validations: + required: true + +- type: dropdown + attributes: + label: Issue Type + # FIXME: Once GitHub allows defining the default choice, update this + options: + - CI Bug Report + validations: + required: true + +- type: textarea + attributes: + label: CI Jobs + description: >- + Please provide a link to the failed CI tests. + placeholder: https://dashboard.zuul.ansible.com/t/ansible/buildset/be956faa49d84e43bc860d0cd3dc8503 + validations: + required: false + +- type: textarea + attributes: + label: Pull Request + description: >- + Please provide a link to the Pull Request where the tests are failing + placeholder: https://github.com/ansible-collections/community.aws/runs/3040421733 + validations: + required: false + +- type: textarea + attributes: + label: Additional Information + description: | + Please provide as much information as possible to help us understand the issue being reported. + Where possible, please include the specific errors that you're seeing. + + **HINT:** You can paste https://gist.github.com links for larger files. + value: | + + ```yaml (paste below) + + ``` + validations: + required: false + +- type: checkboxes + attributes: + label: Code of Conduct + description: | + Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first. + options: + - label: I agree to follow the Ansible Code of Conduct + required: true +... diff --git a/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/config.yml b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..f90bd1ad8 --- /dev/null +++ b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,27 @@ +--- +# Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser +blank_issues_enabled: false # default: true +contact_links: +- name: Security bug report + url: https://docs.ansible.com/ansible-core/devel/community/reporting_bugs_and_features.html?utm_medium=github&utm_source=issue_template_chooser_ansible_collections + about: | + Please learn how to report security vulnerabilities here. + + For all security related bugs, email security@ansible.com + instead of using this issue tracker and you will receive + a prompt response. + + For more information, see + https://docs.ansible.com/ansible/latest/community/reporting_bugs_and_features.html +- name: Ansible Code of Conduct + url: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_template_chooser_ansible_collections + about: Be nice to other members of the community. +- name: Talks to the community + url: https://docs.ansible.com/ansible/latest/community/communication.html?utm_medium=github&utm_source=issue_template_chooser#mailing-list-information + about: Please ask and answer usage questions here +- name: Working groups + url: https://github.com/ansible/community/wiki + about: Interested in improving a specific area? Become a part of a working group! +- name: For Enterprise + url: https://www.ansible.com/products/engine?utm_medium=github&utm_source=issue_template_chooser_ansible_collections + about: Red Hat offers support for the Ansible Automation Platform diff --git a/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/documentation_report.yml b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/documentation_report.yml new file mode 100644 index 000000000..4fa38187a --- /dev/null +++ b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/documentation_report.yml @@ -0,0 +1,130 @@ +--- +name: Documentation Report +description: Ask us about docs +# NOTE: issue body is enabled to allow screenshots + +body: +- type: markdown + attributes: + value: | + ⚠ + Verify first that your issue is not [already reported on GitHub][issue search]. + Where possible also test if the latest release and main branch are affected too. + *Complete **all** sections as described, this form is processed automatically.* + + [issue search]: https://github.com/ansible-collections/community.aws/search?q=is%3Aissue&type=issues + +- type: textarea + attributes: + label: Summary + description: | + Explain the problem briefly below, add suggestions to wording or structure. + + **HINT:** Did you know the documentation has an `Edit on GitHub` link on every page? + placeholder: >- + I was reading the Collection documentation of version X and I'm having + problems understanding Y. It would be very helpful if that got + rephrased as Z. + validations: + required: true + +- type: dropdown + attributes: + label: Issue Type + # FIXME: Once GitHub allows defining the default choice, update this + options: + - Documentation Report + validations: + required: true + +- type: textarea + attributes: + # For smaller collections we could use a multi-select and hardcode the list + # May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins + # Select from list, filter as you type (`mysql` would only show the 3 mysql components) + # OR freeform - doesn't seem to be supported in adaptivecards + label: Component Name + description: >- + Write the short name of the rst file, module, plugin or task below, + *use your best guess if unsure*. + placeholder: ec2_instance, ec2_security_group + validations: + required: true + +- type: textarea + attributes: + label: Ansible Version + description: >- + Paste verbatim output from `ansible --version` between + tripple backticks. + value: | + ```console (paste below) + $ ansible --version + + ``` + validations: + required: false + +- type: textarea + attributes: + label: Collection Versions + description: >- + Paste verbatim output from `ansible-galaxy collection list` between + tripple backticks. + value: | + ```console (paste below) + $ ansible-galaxy collection list + ``` + validations: + required: false + +- type: textarea + attributes: + label: Configuration + description: >- + If this issue has an example piece of YAML that can help to reproduce this problem, please provide it. + This can be a piece of YAML from, e.g., an automation, script, scene or configuration. + + Paste verbatim output from `ansible-config dump --only-changed` between quotes + value: | + ```console (paste below) + $ ansible-config dump --only-changed + + ``` + validations: + required: false + +- type: textarea + attributes: + label: OS / Environment + description: >- + Provide all relevant information below, e.g. OS version, + browser, etc. + placeholder: RHEL 8, Firefox etc. + validations: + required: false + +- type: textarea + attributes: + label: Additional Information + description: | + Describe how this improves the documentation, e.g. before/after situation or screenshots. + + **Tip:** It's not possible to upload the screenshot via this field directly but you can use the last textarea in this form to attach them. + + **HINT:** You can paste https://gist.github.com links for larger files. + placeholder: >- + When the improvement is applied, it makes it more straightforward + to understand X. + validations: + required: false + +- type: checkboxes + attributes: + label: Code of Conduct + description: | + Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first. + options: + - label: I agree to follow the Ansible Code of Conduct + required: true +... diff --git a/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/feature_request.yml b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..8da1b69d3 --- /dev/null +++ b/ansible_collections/community/aws/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,74 @@ +--- +name: Feature request +description: Suggest an idea for this project + +body: +- type: markdown + attributes: + value: | + ⚠ + Verify first that your issue is not [already reported on GitHub][issue search]. + Where possible also test if the latest release and main branch are affected too. + *Complete **all** sections as described, this form is processed automatically.* + + [issue search]: https://github.com/ansible-collections/community.aws/search?q=is%3Aissue&type=issues + +- type: textarea + attributes: + label: Summary + description: | + Describe the new feature/improvement briefly below. + placeholder: >- + I am trying to do X with the collection from the main branch on GitHub and + I think that implementing a feature Y would be very helpful for me and + every other user of community.aws because of Z. + validations: + required: true + +- type: dropdown + attributes: + label: Issue Type + # FIXME: Once GitHub allows defining the default choice, update this + options: + - Feature Idea + validations: + required: true + +- type: textarea + attributes: + # For smaller collections we could use a multi-select and hardcode the list + # May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins + # Select from list, filter as you type (`mysql` would only show the 3 mysql components) + # OR freeform - doesn't seem to be supported in adaptivecards + label: Component Name + description: >- + Write the short name of the module or plugin below, + *use your best guess if unsure*. + placeholder: ec2_instance, ec2_security_group + validations: + required: true + +- type: textarea + attributes: + label: Additional Information + description: | + Describe how the feature would be used, why it is needed and what it would solve. + + **HINT:** You can paste https://gist.github.com links for larger files. + value: | + + ```yaml (paste below) + + ``` + validations: + required: false + +- type: checkboxes + attributes: + label: Code of Conduct + description: | + Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first. + options: + - label: I agree to follow the Ansible Code of Conduct + required: true +... diff --git a/ansible_collections/community/aws/.github/patchback.yml b/ansible_collections/community/aws/.github/patchback.yml new file mode 100644 index 000000000..113fc5294 --- /dev/null +++ b/ansible_collections/community/aws/.github/patchback.yml @@ -0,0 +1,4 @@ +--- +backport_branch_prefix: patchback/backports/ +backport_label_prefix: backport- +target_branch_prefix: stable- diff --git a/ansible_collections/community/aws/.github/settings.yml b/ansible_collections/community/aws/.github/settings.yml new file mode 100644 index 000000000..b27b575f0 --- /dev/null +++ b/ansible_collections/community/aws/.github/settings.yml @@ -0,0 +1,5 @@ +# DO NOT MODIFY + +# Settings: https://probot.github.io/apps/settings/ +# Pull settings from https://github.com/ansible-collections/.github/blob/master/.github/settings.yml +_extends: ".github" diff --git a/ansible_collections/community/aws/.github/workflows/docs-pr.yml b/ansible_collections/community/aws/.github/workflows/docs-pr.yml new file mode 100644 index 000000000..35b58df24 --- /dev/null +++ b/ansible_collections/community/aws/.github/workflows/docs-pr.yml @@ -0,0 +1,74 @@ +name: Collection Docs +concurrency: + group: docs-${{ github.head_ref }} + cancel-in-progress: true +on: + pull_request_target: + types: [opened, synchronize, reopened, closed] + +env: + GHP_BASE_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }} + +jobs: + validate-docs: + permissions: + contents: read + name: Validate Ansible Docs + uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@main + with: + init-lenient: false + init-fail-on-error: true + extra-collections: 'git+https://github.com/ansible-collections/amazon.aws.git,main' + intersphinx-links: | + amazon_aws:https://ansible-collections.github.io/amazon.aws/branch/main/ + ansible_devel:https://docs.ansible.com/ansible-core/devel/ + + build-docs: + permissions: + contents: read + name: Build Ansible Docs + uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@main + with: + init-lenient: true + init-fail-on-error: false + extra-collections: 'git+https://github.com/ansible-collections/amazon.aws.git,main' + intersphinx-links: | + amazon_aws:https://ansible-collections.github.io/amazon.aws/branch/main/ + ansible_devel:https://docs.ansible.com/ansible-core/devel/ + + comment: + permissions: + pull-requests: write + runs-on: ubuntu-latest + needs: [build-docs] + name: PR comments + steps: + - name: PR comment + uses: ansible-community/github-docs-build/actions/ansible-docs-build-comment@main + with: + body-includes: '## Docs Build' + reactions: heart + action: ${{ needs.build-docs.outputs.changed != 'true' && 'remove' || '' }} + on-closed-action: remove + on-merged-body: | + ## Docs Build 📝 + + Thank you for contribution!✨ + + This PR has been merged and your docs changes will be incorporated when they are next published. + body: | + ## Docs Build 📝 + + Thank you for contribution!✨ + + The docsite for **this PR** is available for download as an artifact from this run: + ${{ needs.build-docs.outputs.artifact-url }} + + You can compare to the docs for the `main` branch here: + ${{ env.GHP_BASE_URL }}/branch/main + + File changes: + + ${{ needs.build-docs.outputs.diff-files-rendered }} + + ${{ needs.build-docs.outputs.diff-rendered }} diff --git a/ansible_collections/community/aws/.github/workflows/docs-push.yml b/ansible_collections/community/aws/.github/workflows/docs-push.yml new file mode 100644 index 000000000..69c8fe7d6 --- /dev/null +++ b/ansible_collections/community/aws/.github/workflows/docs-push.yml @@ -0,0 +1,40 @@ +name: Collection Docs +concurrency: + group: docs-push-${{ github.sha }} + cancel-in-progress: true +on: + push: + branches: + - main + - stable-* + tags: + - '*' + schedule: + - cron: '0 13 * * *' + +jobs: + build-docs: + permissions: + contents: read + name: Build Ansible Docs + uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-push.yml@main + with: + init-lenient: true + init-fail-on-error: true + extra-collections: 'git+https://github.com/ansible-collections/amazon.aws.git,main' + intersphinx-links: | + amazon_aws:https://ansible-collections.github.io/amazon.aws/branch/main/ + ansible_devel:https://docs.ansible.com/ansible-core/devel/ + + publish-docs-gh-pages: + # use to prevent running on forks + if: github.repository == 'ansible-collections/community.aws' + permissions: + contents: write + needs: [build-docs] + name: Publish Ansible Docs + uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-publish-gh-pages.yml@main + with: + artifact-name: ${{ needs.build-docs.outputs.artifact-name }} + secrets: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3