Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMVP-0000: Initial PR #320

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
5890208
Change by terraform in repo workflow config, Add .github/workflows/pr…
viktoryathegreat Oct 13, 2023
9aa0eca
Change by terraform in repo workflow config, Add githooks/pre-commit
viktoryathegreat Oct 13, 2023
33ed203
Change by terraform in repo workflow config, Add commitlint.config.js
viktoryathegreat Oct 13, 2023
4eafc21
Change by terraform in repo workflow config, Add .github/workflows/se…
viktoryathegreat Oct 13, 2023
f83fd42
Change by terraform in repo workflow config, Add githooks/commit-msg
viktoryathegreat Oct 13, 2023
a5c38b0
Change by terraform in repo workflow config, Add .github/workflows/tf…
viktoryathegreat Oct 13, 2023
7f50129
Change by terraform in repo workflow config, Add package.json
viktoryathegreat Oct 13, 2023
6cca123
Change by terraform in repo workflow config, Add .github/workflows/in…
viktoryathegreat Oct 13, 2023
681fb79
Change by terraform in repo workflow config, Add .pre-commit-config.yaml
viktoryathegreat Oct 13, 2023
80b6fd6
Change by terraform in repo workflow config, Add .github/workflows/pr…
viktoryathegreat Oct 13, 2023
dcb33b0
Change by terraform in repo workflow config, Add git-conventional-com…
viktoryathegreat Oct 13, 2023
6e342b4
Change by terraform in repo workflow config, Add .github/workflows/ch…
viktoryathegreat Oct 13, 2023
d611af8
Change by terraform in repo workflow config, Add .github/dependabot.yaml
viktoryathegreat Oct 13, 2023
02384f4
Change by terraform in repo workflow config, Add .github/workflows/te…
viktoryathegreat Oct 13, 2023
2083c3c
Change by terraform in repo workflow config, Add .github/workflows/tf…
viktoryathegreat Oct 13, 2023
87ba789
Change by terraform in repo workflow config, Add .github/workflows/br…
viktoryathegreat Oct 13, 2023
70576ad
Change by terraform in repo workflow config, Add .github/workflows/in…
viktoryathegreat Nov 3, 2023
dd9ca01
Change by terraform in repo workflow config, Add .github/dependabot.yaml
viktoryathegreat Nov 3, 2023
3dc0e07
Change by terraform in repo workflow config, Add .github/workflows/se…
viktoryathegreat Nov 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2

updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: feat

- package-ecosystem: "terraform"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: feat
14 changes: 14 additions & 0 deletions .github/workflows/branch-name-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Branch Naming Check'
on: pull_request

jobs:
branch-naming-rules:
runs-on: ubuntu-latest
steps:
- uses: deepakputhraya/action-branch-name@master
with:
regex: 'DMVP-[0-9]*' # Regex the branch should match. This example enforces grouping
allowed_prefixes: 'DMVP-' # All branches should start with the given prefix
ignore: master,develop # Ignore exactly matching branch names from convention
min_length: 5 # Min length of the branch name
max_length: 30 # Max length of the branch name
63 changes: 3 additions & 60 deletions .github/workflows/checkov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,68 +16,11 @@ jobs:
strategy:
matrix:
path:
- modules/api-gateway
- modules/alb-logs-to-s3-to-cloudwatch
- modules/api-gateway-account-settings
- modules/aws-alb-to-cloudwatch-lambda
- modules/aws-cloudfront-security-headers
- modules/aws-cloudwatch-prometheus-metrics
- modules/aws-iam-user
- modules/aws-load-balancer-controller
- modules/aws-multi-vpc-peering
- modules/aws-network
- modules/aws-rds-postgres
- modules/aws-vpc-peering
- modules/aws-vpn-vpnendpoint
- modules/budgets
- modules/cloudfront-ssl-hsts
- modules/cloudfront-to-s3-to-cloudwatch
- modules/cloudfront
- modules/cloudtrail-s3-to-cloudwatch
- modules/cloudtrail
- modules/cloudwatch-alarm-notify
- modules/cloudwatch-cross-account-share
- modules/cloudwatch-log-metric
- modules/cloudwatch-metrics
- modules/cloudwatch
- modules/cognito-identitiy-pool
- modules/cognito-identity-pool-final
- modules/cognito-identity
- modules/cognito-user-pool
- modules/complete-eks-cluster
- modules/ecr
- modules/eks-iam-user-constrain
- modules/eks
- modules/elastic-search
- modules/external-secret-store
- modules/external-secrets
- modules/fluent-bit-logs-s3-to-cloudwatch
- modules/fluent-bit-to-s3
- modules/fluent-bit
- modules/goldilocks
- modules/iam-account-password-policy
- modules/iam-group
- modules/ingress
- modules/metric-filter
- modules/metrics-filter-multiple
- modules/metrics-server
- modules/mongodb-atlas
- modules/mongodb
- modules/rabbitmq
- modules/rds
- modules/route53-alerts-notify
- modules/s3
- modules/secret
- modules/service-alerts
- modules/sns-cronjob
- modules/sqs
- modules/ssl-certificate
- modules/vpc-flow-logs-to-s3-to-cloudwatch
- modules/vpc
- modules/waf

- /

steps:
- uses: dasmeta/reusable-actions-workflows/[email protected]
with:
fetch-depth: 0
directory: ${{ matrix.path }}
continue-on-error: true
16 changes: 16 additions & 0 deletions .github/workflows/pr-title-checker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'PR Title Checker'
on:
pull_request:
types: [edited, opened, synchronize, reopened]

jobs:
title-check:
runs-on: ubuntu-latest
steps:
- uses: deepakputhraya/[email protected]
with:
regex: 'DMVP-[0-9]*:' # Regex the title should match.
allowed_prefixes: 'DMVP-' # title should start with the given prefix
prefix_case_sensitive: false # title prefix are case insensitive
min_length: 5 # Min length of the title
max_length: -1 # Max length of the title
5 changes: 4 additions & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ jobs:
uses: dasmeta/reusable-actions-workflows/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
path: modules/
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
path: modules/${{ matrix.path }}
continue-on-error: true
7 changes: 3 additions & 4 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ jobs:
discussions: write
pull-requests: write
id-token: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
62 changes: 3 additions & 59 deletions .github/workflows/terraform-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,69 +15,13 @@ jobs:
strategy:
matrix:
path:
- modules/api-gateway
- modules/alb-logs-to-s3-to-cloudwatch
- modules/api-gateway-account-settings
- modules/aws-alb-to-cloudwatch-lambda
- modules/aws-cloudfront-security-headers
- modules/aws-cloudwatch-prometheus-metrics
- modules/aws-iam-user
- modules/aws-load-balancer-controller
- modules/aws-multi-vpc-peering
- modules/aws-network
- modules/aws-rds-postgres
- modules/aws-vpc-peering
- modules/aws-vpn-vpnendpoint
- modules/budgets
- modules/cloudfront-ssl-hsts
- modules/cloudfront-to-s3-to-cloudwatch
- modules/cloudfront
- modules/cloudtrail-s3-to-cloudwatch
- modules/cloudtrail
- modules/cloudwatch-alarm-notify
- modules/cloudwatch-cross-account-share
- modules/cloudwatch-log-metric
- modules/cloudwatch-metrics
- modules/cloudwatch
- modules/cognito-identitiy-pool
- modules/cognito-identity-pool-final
- modules/cognito-identity
- modules/cognito-user-pool
- modules/complete-eks-cluster
- modules/ecr
- modules/eks-iam-user-constrain
- modules/eks
- modules/elastic-search
- modules/external-secret-store
- modules/external-secrets
- modules/fluent-bit-logs-s3-to-cloudwatch
- modules/fluent-bit-to-s3
- modules/fluent-bit
- modules/goldilocks
- modules/iam-account-password-policy
- modules/iam-group
- modules/ingress
- modules/metric-filter
- modules/metrics-filter-multiple
- modules/metrics-server
- modules/mongodb-atlas
- modules/mongodb
- modules/rabbitmq
- modules/rds
- modules/route53-alerts-notify
- modules/s3
- modules/secret
- modules/service-alerts
- modules/sns-cronjob
- modules/sqs
- modules/ssl-certificate
- modules/vpc-flow-logs-to-s3-to-cloudwatch
- modules/vpc
- modules/waf
- /

steps:
- uses: dasmeta/reusable-actions-workflows/[email protected]
with:
aws-region: ${{ secrets.AWS_REGION}}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
path: ${{ matrix.path }}
continue-on-error: true
65 changes: 6 additions & 59 deletions .github/workflows/tflint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,67 +17,14 @@ jobs:
strategy:
matrix:
path:
- modules/api-gateway
- modules/alb-logs-to-s3-to-cloudwatch
- modules/api-gateway-account-settings
- modules/aws-alb-to-cloudwatch-lambda
- modules/aws-cloudfront-security-headers
- modules/aws-cloudwatch-prometheus-metrics
- modules/aws-iam-user
- modules/aws-load-balancer-controller
- modules/aws-multi-vpc-peering
- modules/aws-network
- modules/aws-rds-postgres
- modules/aws-vpc-peering
- modules/aws-vpn-vpnendpoint
- modules/budgets
- modules/cloudfront-ssl-hsts
- modules/cloudfront-to-s3-to-cloudwatch
- modules/cloudfront
- modules/cloudtrail-s3-to-cloudwatch
- modules/cloudtrail
- modules/cloudwatch-alarm-notify
- modules/cloudwatch-cross-account-share
- modules/cloudwatch-log-metric
- modules/cloudwatch-metrics
- modules/cloudwatch
- modules/cognito-identitiy-pool
- modules/cognito-identity-pool-final
- modules/cognito-identity
- modules/cognito-user-pool
- modules/complete-eks-cluster
- modules/ecr
- modules/eks-iam-user-constrain
- modules/eks
- modules/elastic-search
- modules/external-secret-store
- modules/external-secrets
- modules/fluent-bit-logs-s3-to-cloudwatch
- modules/fluent-bit-to-s3
- modules/fluent-bit
- modules/goldilocks
- modules/iam-account-password-policy
- modules/iam-group
- modules/ingress
- modules/metric-filter
- modules/metrics-filter-multiple
- modules/metrics-server
- modules/mongodb-atlas
- modules/mongodb
- modules/rabbitmq
- modules/rds
- modules/route53-alerts-notify
- modules/s3
- modules/secret
- modules/service-alerts
- modules/sns-cronjob
- modules/sqs
- modules/ssl-certificate
- modules/vpc-flow-logs-to-s3-to-cloudwatch
- modules/vpc
- modules/waf
- /

steps:
- uses: dasmeta/reusable-actions-workflows/[email protected]
with:
aws-region: ${{ secrets.AWS_REGION}}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
path: ${{ matrix.path }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true
1 change: 1 addition & 0 deletions .github/workflows/tfsec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ jobs:
- uses: dasmeta/reusable-actions-workflows/[email protected]
with:
fetch-depth: 0
continue-on-error: true
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repos:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: CHANGELOG.md
- id: check-yaml
- id: check-merge-conflict
- id: check-case-conflict
- id: mixed-line-ending
Expand Down
Loading