From ddf6b1e4762ee1fc029f7bdf710f473d1af68a86 Mon Sep 17 00:00:00 2001 From: "TechTress9.8" <134580705+iKn0wH0w@users.noreply.github.com> Date: Sun, 26 May 2024 07:53:25 -0400 Subject: [PATCH 1/3] Create datadog-synthetics.yml --- .github/workflows/datadog-synthetics.yml | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/datadog-synthetics.yml diff --git a/.github/workflows/datadog-synthetics.yml b/.github/workflows/datadog-synthetics.yml new file mode 100644 index 000000000..f7cb68704 --- /dev/null +++ b/.github/workflows/datadog-synthetics.yml @@ -0,0 +1,38 @@ +# This workflow will trigger Datadog Synthetic tests within your Datadog organisation +# For more information on running Synthetic tests within your GitHub workflows see: https://docs.datadoghq.com/synthetics/cicd_integrations/github_actions/ + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# To get started: + +# 1. Add your Datadog API (DD_API_KEY) and Application Key (DD_APP_KEY) as secrets to your GitHub repository. For more information, see: https://docs.datadoghq.com/account_management/api-app-keys/. +# 2. Start using the action within your workflow + +name: Run Datadog Synthetic tests + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + # Run Synthetic tests within your GitHub workflow. + # For additional configuration options visit the action within the marketplace: https://github.com/marketplace/actions/datadog-synthetics-ci + - name: Run Datadog Synthetic tests + uses: DataDog/synthetics-ci-github-action@2b56dc0cca9daa14ab69c0d1d6844296de8f941e + with: + api_key: ${{secrets.DD_API_KEY}} + app_key: ${{secrets.DD_APP_KEY}} + test_search_query: 'tag:e2e-tests' #Modify this tag to suit your tagging strategy + + From aecfd2b3e5aab708857ff00fe2568b94a1ce5143 Mon Sep 17 00:00:00 2001 From: "TechTress9.8" <134580705+iKn0wH0w@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:26:34 -0400 Subject: [PATCH 2/3] Update datadog-synthetics.yml --- .github/workflows/datadog-synthetics.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/datadog-synthetics.yml b/.github/workflows/datadog-synthetics.yml index f7cb68704..195124ae8 100644 --- a/.github/workflows/datadog-synthetics.yml +++ b/.github/workflows/datadog-synthetics.yml @@ -11,7 +11,20 @@ # 1. Add your Datadog API (DD_API_KEY) and Application Key (DD_APP_KEY) as secrets to your GitHub repository. For more information, see: https://docs.datadoghq.com/account_management/api-app-keys/. # 2. Start using the action within your workflow -name: Run Datadog Synthetic tests +name: Run Datadog Synthetic tests - name: API testing with Kubernetes + # You may pin to the exact commit or the version. + # uses: LinuxSuRen/api-testing@5971291be639b4fb7ea2a79d1a5fc3f333f5a223 + uses: LinuxSuRen/api-testing@v0.0.16 + with: + # The pattern of the items + pattern: # default is testcase-*.yaml + # The kustomization file path + kustomization: + # waitNamespace + waitNamespace: + # waitResource + waitResource: + on: push: From 23ea602234b5299e0d171169aa39bf53d2394ac1 Mon Sep 17 00:00:00 2001 From: "TechTress9.8" <134580705+iKn0wH0w@users.noreply.github.com> Date: Tue, 13 Aug 2024 22:11:49 -0400 Subject: [PATCH 3/3] Update datadog-synthetics.yml --- .github/workflows/datadog-synthetics.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/datadog-synthetics.yml b/.github/workflows/datadog-synthetics.yml index 195124ae8..b185fd82b 100644 --- a/.github/workflows/datadog-synthetics.yml +++ b/.github/workflows/datadog-synthetics.yml @@ -11,7 +11,7 @@ # 1. Add your Datadog API (DD_API_KEY) and Application Key (DD_APP_KEY) as secrets to your GitHub repository. For more information, see: https://docs.datadoghq.com/account_management/api-app-keys/. # 2. Start using the action within your workflow -name: Run Datadog Synthetic tests - name: API testing with Kubernetes +name: / .github/workflows/datadog-synthetics.yml # You may pin to the exact commit or the version. # uses: LinuxSuRen/api-testing@5971291be639b4fb7ea2a79d1a5fc3f333f5a223 uses: LinuxSuRen/api-testing@v0.0.16