Skip to content

Odd 400 error from DD #49

Odd 400 error from DD

Odd 400 error from DD #49

---
name: DataDog Service Catalog v2.2
on:
push:
workflow_dispatch:
jobs:
automated-testing:
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d -- %s')" >> $GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@v4
- name: Run CI Tests
env:
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DATADOG_APPLICATION_KEY: ${{ secrets.DATADOG_APPLICATION_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run test
- name: Datadog Service Catalog Metadata Provider Manual Test
uses: ./
with:
schema-version: v2.2
github-token: ${{ secrets.GITHUB_TOKEN }}
datadog-hostname: api.us5.datadoghq.com
datadog-key: ${{ secrets.DATADOG_API_KEY }}
datadog-app-key: ${{ secrets.DATADOG_APPLICATION_KEY }}
service-name: v2.2-automated-test
application: Datadog Service Catalog Metadata Provider
description: This is a test of the Datadog Service Catalog Metadata Provider
lifecycle: production
tier: p3
type: function
languages: |
- javascript
- hopes
- dreams
team: Team Name Here
email: team-name-here@fakeemaildomainthatdoesntexist.com
slack-support-channel: 'https://fakeorg.slack.com/archives/A0000000000'
repo: https://github.com/arcxp/datadog-service-catalog-metadata-provider
tags: |
- 'application:GitHub Action Config Test'
- intended-env:prod
- infrastructure:serverless
- language:nodejs
- updated:${{ steps.date.outputs.date }}
- internet_accessible: false
- schema-version: v2.2
links: |
- url: https://github.com/actions/toolkit
type: repo
provider: Github
name: '@actions/toolkit'
- name: AMI Version Status Dashboard
url: https://thisisanentirelyfakeurl.seriouslythisisafakehostname.com/dashboard
type: dashboard
- name: GitHub Actions!
url: https://github.com/features/actions
provider: Github Docs
type: doc
- name: Some Runbook
url: https://thisisanentirelyfakeurl.seriouslythisisafakehostname.com/runbook
type: runbook
provider: Confluence
- name: Some Docs
url: https://thisisanentirelyfakeurl.seriouslythisisafakehostname.com/docs
type: doc
provider: Confluence
- name: Datadog Blog
type: other
url: https://www.datadoghq.com/blog/
integrations: |
opsgenie:
service-url: https://yourorghere.app.opsgenie.com/service/00000000-0000-0000-0000-000000000000
region: US