diff --git a/.github/workflows/service.yml b/.github/workflows/service.yml new file mode 100644 index 0000000..48847d1 --- /dev/null +++ b/.github/workflows/service.yml @@ -0,0 +1,80 @@ +--- +name: Service Catalog Metadata Provider + +on: + push: + paths: + - '.github/workflows/service.yml' + +jobs: + update-service-catalog-metadata: + if: ${{ github.ref_name == 'main' }} + runs-on: ubuntu-latest + steps: + - uses: CondeNast/service-catalog-scripts@v1.1.0 + with: + schema-version: v2.2 + datadog-key: ${{ secrets.DATADOG_SERVICE_CATALOG_API_KEY }} + datadog-app-key: ${{ secrets.DATADOG_SERVICE_CATALOG_APPLICATION_KEY }} + + # This maps to the "dd-service" field in Datadog, it's just the name of your service. + service-name: JSXHint + + description: | + JSXHint provides linting capabilities for files containing JSX syntax, ensuring code quality and consistency in projects using JavaScript and JSX. + + # PII or non-PII + data-sensitivity: '' + + # This is the application name, which is used to group services together. + service-group: JSXHint + + tier: 4 + + # This service is in production, so let's put that into the lifecycle field + lifecycle: production + + # The name of the team which owns and/or supports the service. + team: JSXHint Team + + # The URL of the Slack channel where support for the service is handled. + # Keep in mind, this _must_ be a URL. To get the URL, right-click on the channel + # in the Slack app, and select "Copy link" in the "Copy" submenu. + slack: '' + + # Links are great for runbooks, other documentation, other services which + # could be helpful, as well as dashboards. In v2.1 repos and docs move here. + links: | + - name: JSXHint + url: https://github.com/CondeNast/JSXHint + type: repo + provider: github + - name: JSXHint docs + url: https://github.com/CondeNast/JSXHint/tree/main/docs + type: doc + provider: Web + - name: JSXHint runbook + url: + type: runbook + provider: Confluence + - name: JSXHint dashboard + url: + type: dashboard + provider: Web + - name: JSXHint error logs + url: + type: dashboard + provider: Web + + # This will allow people to directly page a team when seeing a failing service. To find your pagerduty url go to PagerDuty -> Service Directory -> Find your service -> Copy the direct link to your service. + pagerduty: '' + + # A list of individuals who can be contacted about the service. + contacts: | + - name: Dan Jacobsberg + type: email + contact: dan.jacobsberg@condenast.com + + - name: Dan Haller + type: email + contact: dan.haller@condenast.com