Skip to content

Commit f57b87b

Browse files
authored
Updates to ChatOps - Automated commit (#20)
## What * Adds chatops commands - '/test all' - '/test bats' - '/test readme' - '/test terratest' * Drops codefresh * Drops slash-command-dispatch * Removes codefresh badge * Rebuilds README ## Why * Change over from codefresh to GH Actions * Facilitate testing of PRs from forks
1 parent e3a603c commit f57b87b

File tree

7 files changed

+53
-116
lines changed

7 files changed

+53
-116
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
# Use this file to define individuals or teams that are responsible for code in a repository.
22
# Read more: <https://help.github.com/articles/about-codeowners/>
3+
#
4+
# Order is important: the last matching pattern takes the most precedence
35

4-
* @cloudposse/engineering
6+
# These owners will be the default owners for everything
7+
* @cloudposse/engineering @cloudposse/contributors
8+
9+
# Cloud Posse must review any changes to Makefiles
10+
**/Makefile @cloudposse/engineering
11+
**/Makefile.* @cloudposse/engineering
12+
13+
# Cloud Posse must review any changes to GitHub actions
14+
.github/* @cloudposse/engineering

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ assignees: ''
77

88
---
99

10-
Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) in the `#geodesic` channel or visit our [Slack Archive](https://archive.sweetops.com/geodesic/).
10+
Have a question? Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/).
1111

1212
[![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
1313

@@ -33,4 +33,4 @@ Explain what alternative solutions or features you've considered.
3333

3434
## Additional Context
3535

36-
Add any other context or screenshots about the feature request here.
36+
Add any other context or screenshots about the feature request here.

.github/workflows/chatops.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: chatops
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
default:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: "Handle common commands"
12+
uses: cloudposse/actions/github/[email protected]
13+
with:
14+
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
15+
reaction-token: ${{ secrets.GITHUB_TOKEN }}
16+
repository: cloudposse/actions
17+
commands: rebuild-readme, terraform-fmt
18+
permission: none
19+
issue-type: pull-request
20+
21+
test:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: "Checkout commit"
25+
uses: actions/checkout@v2
26+
- name: "Run tests"
27+
uses: cloudposse/actions/github/[email protected]
28+
with:
29+
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
30+
reaction-token: ${{ secrets.GITHUB_TOKEN }}
31+
repository: cloudposse/actions
32+
commands: test
33+
permission: none
34+
issue-type: pull-request
35+
reactions: false
36+
37+

.github/workflows/slash-command-dispatch.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
[![Cloud Posse][logo]](https://cpco.io/homepage)
4444

45-
# terraform-aws-eks-node-group [![Codefresh Build Status](https://g.codefresh.io/api/badges/pipeline/cloudposse/terraform-modules%2Fterraform-aws-eks-node-group?type=cf-1)](https://g.codefresh.io/public/accounts/cloudposse/pipelines/5dead6c731a1a7177ed48f8e) [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-eks-node-group.svg)](https://github.com/cloudposse/terraform-aws-eks-node-group/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
45+
# terraform-aws-eks-node-group [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-eks-node-group.svg)](https://github.com/cloudposse/terraform-aws-eks-node-group/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
4646

4747

4848
Terraform module to provision an EKS Node Group for [Elastic Container Service for Kubernetes](https://aws.amazon.com/eks/).

README.yaml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,25 @@
1-
---
21
#
32
# This is the canonical configuration for the `README.md`
43
# Run `make readme` to rebuild the `README.md`
54
#
65

76
# Name of this project
87
name: terraform-aws-eks-node-group
9-
108
# Logo for this project
119
#logo: docs/logo.png
1210

1311
# License of this project
1412
license: "APACHE2"
15-
1613
# Canonical GitHub repo
1714
github_repo: cloudposse/terraform-aws-eks-node-group
18-
1915
# Badges to display
2016
badges:
21-
- name: "Codefresh Build Status"
22-
image: "https://g.codefresh.io/api/badges/pipeline/cloudposse/terraform-modules%2Fterraform-aws-eks-node-group?type=cf-1"
23-
url: "https://g.codefresh.io/public/accounts/cloudposse/pipelines/5dead6c731a1a7177ed48f8e"
2417
- name: "Latest Release"
2518
image: "https://img.shields.io/github/release/cloudposse/terraform-aws-eks-node-group.svg"
2619
url: "https://github.com/cloudposse/terraform-aws-eks-node-group/releases/latest"
2720
- name: "Slack Community"
2821
image: "https://slack.cloudposse.com/badge.svg"
2922
url: "https://slack.cloudposse.com"
30-
3123
related:
3224
- name: "terraform-aws-eks-cluster"
3325
description: "Terraform module to provision an EKS cluster on AWS"
@@ -62,17 +54,14 @@ related:
6254
- name: "terraform-aws-ec2-instance-group"
6355
description: "Terraform module for provisioning multiple general purpose EC2 hosts for stateful applications"
6456
url: "https://github.com/cloudposse/terraform-aws-ec2-instance-group"
65-
6657
# Short description of this project
6758
description: |-
6859
Terraform module to provision an EKS Node Group for [Elastic Container Service for Kubernetes](https://aws.amazon.com/eks/).
6960
7061
Instantiate it multiple times to create many EKS node groups with specific settings such as GPUs, EC2 instance types, or autoscale parameters.
71-
72-
introduction: |-
73-
62+
introduction: ""
7463
# How to use this project
75-
usage: |-
64+
usage: |2-
7665
7766
For a complete example, see [examples/complete](examples/complete).
7867
@@ -156,11 +145,9 @@ usage: |-
156145
kubernetes_version = var.kubernetes_version
157146
}
158147
```
159-
160148
include:
161149
- "docs/targets.md"
162150
- "docs/terraform.md"
163-
164151
# Contributors to this project
165152
contributors:
166153
- name: "Erik Osterman"

codefresh/test.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)