Skip to content

Commit

Permalink
add sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
VDI-Tech-Guy committed Dec 4, 2024
1 parent c363ee3 commit 7570124
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/sanity-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Sanity tests

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
- main
pull_request:
branches: ["main"]

jobs:
sanity-tests:
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main

Check failure on line 17 in .github/workflows/sanity-tests.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[new-line-at-end-of-file]

No new line character at the end of file
4 changes: 2 additions & 2 deletions integrations/dynatrace_setup/deploy_all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#!/bin/bash
# Replace [MyInstance_ID] and [MyAPIToken] with your Dynatrace Instance ID and Token (No Brackets)

export DT_ENDPOINT="https://[MyInstance].live.dynatrace.com/api/v2/otlp"
Expand All @@ -7,4 +7,4 @@ export API_TOKEN="[MyAPIToken]"
podman pull dynatrace/edgeconnect:latest
podman run --name dt-edgeconn --mount type=bind,src=${PWD}/edgeConnect.yaml,dst=/edgeConnect.yaml -d --restart always dynatrace/edgeconnect

podman run --name dt-otelcol --env DT_ENDPOINT=$DT_ENDPOINT --env API_TOKEN=$API_TOKEN -p 5678:5678 -v /dynatrace/collector.yaml:/collector.yaml -d --restart always ghcr.io/dynatrace/dynatrace-otel-collector/dynatrace-otel-collector:latest --config collector.yaml
podman run --name dt-otelcol --env DT_ENDPOINT="$DT_ENDPOINT" --env API_TOKEN="$API_TOKEN" -p 5678:5678 -v /dynatrace/collector.yaml:/collector.yaml -d --restart always ghcr.io/dynatrace/dynatrace-otel-collector/dynatrace-otel-collector:latest --config collector.yaml

0 comments on commit 7570124

Please sign in to comment.