From eedc84924d9589363618e9ca1cffbc2817f7d9c4 Mon Sep 17 00:00:00 2001 From: filforopen-source <298073343+filforopen-source@users.noreply.github.com> Date: Sat, 18 Jul 2026 03:42:18 -0400 Subject: [PATCH 1/2] Add Datadog Synthetic tests workflow This workflow triggers Datadog Synthetic tests on push and pull request events to the main branch. It includes steps for using Datadog's GitHub action with necessary API and application keys. --- .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 00000000..66c70f8e --- /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@v4 + + # 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@87b505388a22005bb8013481e3f73a367b9a53eb # v1.4.0 + 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 6b18520a9b0f364d48fe96a6fabd5e0468c5f2fc Mon Sep 17 00:00:00 2001 From: filforopen-source <298073343+filforopen-source@users.noreply.github.com> Date: Sat, 18 Jul 2026 03:44:33 -0400 Subject: [PATCH 2/2] Delete .github/workflows/main.ymly --- .github/workflows/main.yml | 73 -------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 96e13907..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,73 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# This file has been modified for Oracle Java SE extension - -name: Java Platform Support for Visual Studio Code - -on: - push: - pull_request: - # unlocked event is used as super secret restart button - types: [opened, synchronize, unlocked] - -# cancel other PR workflow run in the same head-base group if it exists (e.g. during PR syncs) -# if this is not a PR run (no github.head_ref and github.base_ref defined), use an UID as group -concurrency: - group: ${{ github.head_ref || github.run_id }}-${{ github.base_ref }} - cancel-in-progress: true - -jobs: - - # primary build job, most other jobs use the artifact produced here - # artifact is only produced once in the matrix - base-build: - name: Base Build - timeout-minutes: 60 - strategy: - matrix: - java: [ '21' ] - os: [ ubuntu-latest ] - fail-fast: false - runs-on: ${{ matrix.os }} - steps: - - - name: Set up JDK ${{ matrix.java }} - uses: oracle-actions/setup-java@v1 - with: - release: ${{ matrix.java }} - - - name: Checkout ${{ github.ref }} ( ${{ github.sha }} ) - uses: actions/checkout@v6 - with: - persist-credentials: false - submodules: true - - - name: Apply NetBeans patches - run: ant apply-patches - - - name: Build NetBeans - run: ant build-netbeans - - - name: Build the Visual Studio Extension - run: ant build-vscode-ext - - - name: Install virtual X server - run: sudo apt install -y xvfb - - - name: Basic tests for the Visual Studio Extension - run: xvfb-run -a ant test-vscode-ext