Feat: Introducing Grafana(7.0.2) and Prometheus(25.4.0) Addon #67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Create README.md file' | |
permissions: write-all | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
readme-create: | |
name: 'readme-create' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Updating GitHub Token | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB }} | |
run: echo "GH_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV | |
- name: checkout | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.head_ref }} | |
token: ${{ env.GH_TOKEN }} | |
- name: 'Set up Python 3.7' | |
uses: actions/setup-python@v4 | |
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 }} | |
- name: 'pre-commit check errors' | |
uses: pre-commit/action@v3.0.0 | |
continue-on-error: true | |
- name: 'pre-commit fix erros' | |
uses: pre-commit/action@v3.0.0 | |
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 }} | |
- name: 'Slack Notification' | |
uses: clouddrove/action-slack@v2 | |
with: | |
status: ${{ job.status }} | |
fields: repo,author | |
author_name: 'CloudDrove' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB }} # required | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required | |
if: always() | |
# Create README for each Submodules | |
readme-create-addon: | |
name: 'Addon readme-create' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Updating GitHub Token | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB }} | |
run: echo "GH_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV | |
- name: checkout | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.head_ref }} | |
token: ${{ env.GH_TOKEN }} | |
- name: Generate TF Docs | |
uses: terraform-docs/gh-actions@v1.0.0 | |
with: | |
working-dir: addons/aws-ebs-csi-driver,addons/aws-efs-csi-driver,addons/aws-load-balancer-controller,addons/aws-node-termination-handler,addons/calico-tigera,addons/cluster-autoscaler,addons/external-secrets,addons/fluent-bit,addons/helm,addons/ingress-nginx,addons/istio-ingress,addons/karpenter,addons/kiali-server,addons/kubeclarity,addons/metrics-server,addons/nri-bundle,addons/velero,addons/kube-state-metrics,addons/keda,addons/cert-manager,addons/filebeat,addons/reloader,addons/external-dns,addons/redis,addons/prometheus,addons/jaeger,addons/grafana,addons/actions-runner-controller | |
git-push: true | |
template: |- | |
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> | |
{{ .Content }} | |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> | |
git-push-user-name: "clouddrove-ci" | |
git-push-user-email: 84795582+clouddrove-ci@users.noreply.github.com | |
git-commit-message: "readme: Update add-on's readme" |