Skip to content

Commit c489fdd

Browse files
authored
Merge pull request #55 from sourcefuse/release-pipeline
Added workflow for github-release
2 parents d4580df + 0154bad commit c489fdd

File tree

8 files changed

+43
-22
lines changed

8 files changed

+43
-22
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ If applicable, add screenshots to help explain your problem.
3535
- Version [e.g. 22]
3636

3737
**Additional context**
38-
Add any other context about the problem here.
38+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ A clear and concise description of what you want to happen.
1717
A clear and concise description of any alternative solutions or features you've considered.
1818

1919
**Additional context**
20-
Add any other context or screenshots about the feature request here.
20+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Include any relevant screenshots or visual aids to help reviewers understand the
3636

3737
## Additional Notes
3838

39-
Add any additional notes or context that might be helpful for reviewers or users testing the changes.
39+
Add any additional notes or context that might be helpful for reviewers or users testing the changes.

.github/workflows/tag-release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bump version
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
- name: Bump version and push tag
13+
id: tag
14+
uses: anothrNick/github-tag-action@master
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
DEFAULT_BUMP: patch
18+
REPO_OWNER: sourcefuse
19+
- name: Create Release
20+
id: create_release
21+
uses: actions/create-release@v1.1.4
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
with:
25+
tag_name: ${{ steps.tag.outputs.tag }}
26+
release_name: v${{ steps.tag.outputs.tag }}
27+
body: ${{ github.release_notes }}
28+
draft: false
29+
prerelease: false

.github/workflows/tag.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ You can append to this array by adding values to `var.additional_ssm_params`.
250250

251251
## Development
252252

253-
### Versioning
253+
### Versioning
254254

255255
while Contributing or doing git commit please specify the breaking change in your commit message whether its major,minor or patch
256256

example/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Example demonstrating how to use terraform-aws-refarch-ecs.
5252

5353
| Name | Description |
5454
|------|-------------|
55+
| <a name="output_cluster_arn"></a> [cluster\_arn](#output\_cluster\_arn) | ECS Cluster ARN |
56+
| <a name="output_cluster_id"></a> [cluster\_id](#output\_cluster\_id) | ECS Cluster ID |
5557
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Name of the ECS Cluster |
5658
| <a name="output_health_check_fqdn"></a> [health\_check\_fqdn](#output\_health\_check\_fqdn) | Health check FQDN record created in Route 53. |
5759
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

example/outputs.tf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@ output "cluster_name" {
22
description = "Name of the ECS Cluster"
33
value = module.ecs.cluster_name
44
}
5-
5+
output "cluster_arn" {
6+
description = "ECS Cluster ARN"
7+
value = module.ecs.cluster_arn
8+
}
9+
output "cluster_id" {
10+
description = "ECS Cluster ID"
11+
value = module.ecs.cluster_id
12+
}
613
## health check
714
output "health_check_fqdn" {
815
description = "Health check FQDN record created in Route 53."

0 commit comments

Comments
 (0)