-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding s3 dashboard module renaming variable.tf CCL-898 json config updating visual config updating width of tiles adding .github adding .github adding .github CCL-898 golden dashboards CCL-898 added mks dashboards CCL-898 latest CCL-898-test latest classic dashboards adding varibales file amending README file
- Loading branch information
1 parent
f09fb34
commit 791c9fc
Showing
15 changed files
with
3,278 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
commit-message: | ||
prefix: "(GHA)" | ||
reviewers: | ||
- "UKHomeOffice/core-cloud-devops" | ||
labels: | ||
- "dependencies" | ||
- "patch" | ||
- package-ecosystem: "terraform" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
commit-message: | ||
prefix: "(TF)" | ||
reviewers: | ||
- "UKHomeOffice/core-cloud-devops" | ||
labels: | ||
- "dependencies" | ||
- "patch" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Validate Terraform with Trivy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
RunTerraformValidation: | ||
name: Run Terraform SAST | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone the Repository | ||
uses: actions/checkout@v4 | ||
|
||
# Results have to be a table as the organisation does not have Advanced Security license. | ||
- name: Terraform Trivy Scan | ||
uses: aquasecurity/trivy-action@0.19.0 | ||
with: | ||
scan-type: 'config' | ||
exit-code: '1' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: 'Check PR for SemVer Label' | ||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
- unlabeled | ||
- opened | ||
- reopened | ||
- synchronize | ||
branches: | ||
- main | ||
|
||
permissions: | ||
pull-requests: read | ||
contents: read | ||
|
||
jobs: | ||
semver-check: | ||
name: 'Check PR for SemVer Label' | ||
if: | | ||
contains(github.event.pull_request.labels.*.name, 'skip-release') == false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Parse the SemVer label | ||
id: label | ||
uses: UKHomeOffice/match-label-action@v1 | ||
with: | ||
labels: minor,major,patch | ||
mode: singular | ||
|
||
- name: Calculate SemVer value | ||
id: calculate | ||
uses: UKHomeOffice/semver-calculate-action@v2 | ||
with: | ||
increment: ${{ steps.label.outputs.matchedLabels }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: 'SemVer Tag on Main Merge' | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- main | ||
|
||
permissions: | ||
pull-requests: read | ||
contents: write | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
semver-tag: | ||
name: 'Tag Repository with SemVer' | ||
if: | | ||
github.event.pull_request.merged == true && | ||
contains(github.event.pull_request.labels.*.name, 'skip-release') == false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Parse the SemVer label | ||
id: label | ||
uses: UKHomeOffice/match-label-action@v1 | ||
with: | ||
labels: minor,major,patch | ||
mode: singular | ||
|
||
- name: Calculate SemVer value | ||
id: calculate | ||
uses: UKHomeOffice/semver-calculate-action@v2 | ||
with: | ||
increment: ${{ steps.label.outputs.matchedLabels }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Tag Repository | ||
uses: UKHomeOffice/semver-tag-action@v4 | ||
with: | ||
tag: ${{ steps.calculate.outputs.version }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# core-cloud-dynatrace-golden-dashboards-terraform | ||
Note: as we dont have any metrics in Dynatarce as of yet, these templates do not contain the dimensions fo rnow, these will be updated once we have got metrics coming into dynatrace. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# resource "dynatrace_document" "this" { | ||
# type = "dashboard" | ||
# name = "latest_dashboards_rds" | ||
# content = file("./rds.json") | ||
# } | ||
|
||
# #data "dynatrace_documents" "all-dashboard-and-notebooks" {} |
Oops, something went wrong.