Skip to content

Commit

Permalink
fix: update workflow latest version and change _example name
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Apr 9, 2024
1 parent 4abbbf5 commit fbfd146
Show file tree
Hide file tree
Showing 21 changed files with 33 additions and 58 deletions.
57 changes: 9 additions & 48 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,14 @@
name: 'Create README.md file'
name: readme workflow
on:
push:
branches:
- master

paths-ignore:
- 'README.md'
workflow_dispatch:
jobs:
readme-create:
name: 'readme-create'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master

- name: 'Set up Python 3.7'
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: 'create readme'
uses: 'clouddrove/github-actions@9.0.3'
with:
actions_subcommand: 'readme'
github_token: '${{ secrets.GITHUB }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 'pre-commit check errors'
uses: pre-commit/action@v3.0.1
continue-on-error: true

- name: 'pre-commit fix erros'
uses: pre-commit/action@v3.0.1
continue-on-error: true

- name: 'push readme'
uses: 'clouddrove/github-actions@9.0.3'
continue-on-error: true
with:
actions_subcommand: 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}

- name: 'Slack Notification'
uses: clouddrove/action-slack@v2
with:
status: ${{ job.status }}
fields: repo,author
author_name: 'CloudDrove'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
if: always()
assignee:
uses: clouddrove/github-shared-workflows/.github/workflows/readme.yml@1.2.4
secrets:
TOKEN : ${{ secrets.GITHUB }}
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}
12 changes: 6 additions & 6 deletions .github/workflows/tf-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ jobs:
tf-checks-MariaDb-example:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.2.4
with:
working_directory: './_example/MariaDb/'
working_directory: './examples/MariaDb/'
tf-checks-PostgreSQL:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.2.4
with:
working_directory: './_example/PostgreSQL/'
working_directory: './examples/PostgreSQL/'
tf-checks-complete-mssql-example:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.2.4
with:
working_directory: './_example/complete-mssql/'
working_directory: './examples/complete-mssql/'
tf-checks-complete-mysql-example:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.2.4
with:
working_directory: './_example/complete-mysql/'
working_directory: './examples/complete-mysql/'
tf-checks-oracle_db-example:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.2.4
with:
working_directory: './_example/oracle_db/'
working_directory: './examples/oracle_db/'
tf-checks-replica-mysql-example:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.2.4
with:
working_directory: './_example/replica-mysql/'
working_directory: './examples/replica-mysql/'
...
22 changes: 18 additions & 4 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,29 @@ badges:
- name: "Licence"
image: "https://img.shields.io/badge/License-APACHE-blue.svg"
url: "LICENSE.md"
- name: "Changelog"
image: "https://img.shields.io/badge/Changelog-blue"
url: "CHANGELOG.md"

prerequesties:
- name: Terraform
url: https://learn.hashicorp.com/terraform/getting-started/install.html
version: ">= 1.6.6"

providers:
- name: aws
url: https://aws.amazon.com/
version: ">= 5.31.0"

module_dependencies:
- name: Labels Module
url: https://github.com/clouddrove/terraform-aws-labels
description: Provides resource tagging.

# description of this project
description: |-
Terraform module which creates RDS Aurora database resources on AWS and can create different type of databases. Currently it supports MySQL.
# extra content
include:
- "terraform.md"

# How to use this project
usage : |-
Here are some examples of how you can use this module in your inventory structure:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fbfd146

Please sign in to comment.