Skip to content

Commit

Permalink
Tf012update (#5)
Browse files Browse the repository at this point in the history
* Add versions

* Simplify Makefile and update README.md

* Add CODEOWNERS

* Add release drafter

* Switch to github actions

* Remove comment
  • Loading branch information
snovikov authored Sep 10, 2021
1 parent ba2a5cf commit 7517ef3
Show file tree
Hide file tree
Showing 9 changed files with 214 additions and 193 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @Flaconi/devops
24 changes: 24 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
name-template: '$NEXT_MINOR_VERSION 🌈'
tag-template: '$NEXT_MINOR_VERSION'
categories:
- title: '🚀 Features'
labels:
- feature
- enhancement
- title: '🐛 Bug Fixes'
labels:
- fix
- bugfix
- bug
- title: '🧰 Maintenance'
labels:
- chore
- dependencies
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
branches:
- master
template: |
## What's Changed
$CHANGES
27 changes: 27 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---

###
### Lints all generic and json files in the whole git repository
###

name: linting
on:
pull_request:
push:
branches:
- master
tags:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master

- name: Terraform lint
uses: actionshub/terraform-lint@main

- name: Files lint
run: |
make "lint-files"
15 changes: 15 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 changes: 20 additions & 0 deletions .github/workflows/terraform-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---

###
### Checks terraform-docs generation
###

name: terraform-docs
on: [pull_request]

jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master

- name: terraform-docs
run: |
make terraform-docs
git diff --quiet || { echo "Build Changes"; git diff; git status; false; }
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 7517ef3

Please sign in to comment.