Skip to content

Commit 833d4d3

Browse files
Merge pull request #1 from sourcefuse/feature/efk-and-prom
EFK and Prometheus
2 parents c17cd25 + 73ddbef commit 833d4d3

64 files changed

Lines changed: 30256 additions & 253 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pre-commit.yaml

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

.github/workflows/snyk.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: snyk
33

4-
on: # yamllint disable-line rule:truthy
4+
on: # yamllint disable-line rule:truthy
55
push:
66
branches:
77
- "**" # matches every branch
@@ -12,8 +12,7 @@ on: # yamllint disable-line rule:truthy
1212

1313
jobs:
1414
security:
15-
runs-on:
16-
- arc
15+
runs-on: ubuntu-latest
1716
name: snyk
1817
steps:
1918
- name: checkout
@@ -30,6 +29,6 @@ jobs:
3029
- name: install Snyk CLI
3130
run: npm install -g snyk
3231
- name: snyk monitor
33-
run: snyk iac test --report --severity-threshold=medium
32+
run: snyk iac test --report
3433
env:
3534
SNYK_TOKEN: ${{ secrets.ARC_SNYK_TOKEN }}

.github/workflows/tag-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bump version
3-
on: # yamllint disable-line rule:truthy
3+
on: # yamllint disable-line rule:truthy
44
push:
55
branches:
66
- main
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
---
22
name: Test
33

4-
on: # yamllint disable-line rule:truthy
4+
on: # yamllint disable-line rule:truthy
55
push:
66
branches:
7-
- "**" # matches every branch
8-
- "!main" # excludes main
7+
- "**" # matches every branch
8+
- "!main" # excludes main
99
pull_request:
1010
branches:
1111
- main
1212

1313
jobs:
1414
tflint:
15-
runs-on:
16-
- arc
15+
runs-on: ubuntu-latest
1716
name: tflint
1817
steps:
19-
- uses: actions/checkout@master
18+
- uses: actions/checkout@v2
2019

2120
- uses: terraform-linters/setup-tflint@v1
2221
with:

.github/workflows/update-docs.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: Update-docs
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
transfer-file:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
- name: Pushes Readme file
14+
uses: dmnemec/copy_file_to_another_repo_action@main
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
API_TOKEN_GITHUB: ${{ secrets.ARC_DOCS_API_TOKEN_GITHUB }}
18+
with:
19+
source_file: 'README.md'
20+
destination_repo: 'sourcefuse/arc-docs'
21+
destination_folder: 'docs/arc-iac-docs/modules/terraform-aws-ref-arch-observability-stack'
22+
user_email: 'github-actions@github.com'
23+
user_name: ${{ github.actor }}
24+
commit_message: ${{ github.event.head_commit.message }}
25+
- name: Pushes static folder
26+
uses: cpina/github-action-push-to-another-repository@main
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
API_TOKEN_GITHUB: ${{ secrets.ARC_DOCS_API_TOKEN_GITHUB }}
30+
with:
31+
source-directory: 'static'
32+
destination-github-username: 'sourcefuse'
33+
destination-repository-name: 'arc-docs'
34+
target-directory: 'docs/arc-iac-docs/modules/terraform-aws-ref-arch-observability-stack/static'
35+
user-email: 'github-actions@github.com'
36+
user-name: ${{ github.actor }}
37+
target-branch: main
38+
commit-message: ${{ github.event.head_commit.message }}
39+
- name: Pushes Module Usage Guide
40+
uses: dmnemec/copy_file_to_another_repo_action@main
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
API_TOKEN_GITHUB: ${{ secrets.ARC_DOCS_API_TOKEN_GITHUB }}
44+
with:
45+
source_file: 'docs/module-usage-guide/README.md'
46+
destination_repo: 'sourcefuse/arc-docs'
47+
destination_folder: 'docs/arc-iac-docs/modules/terraform-aws-ref-arch-observability-stack/docs/module-usage-guide'
48+
user_email: 'github-actions@github.com'
49+
user_name: ${{ github.actor }}
50+
commit_message: ${{ github.event.head_commit.message }}

.terraform.lock.hcl

Lines changed: 97 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)