From 17064d161ed7c3c5b9b4c4b29d6d7a369ab8b1e7 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Sat, 18 Apr 2026 15:48:24 +0200 Subject: [PATCH 1/2] Rename rust workflow --- .github/workflows/{ci.yml => rust.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ci.yml => rust.yml} (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/rust.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/rust.yml From 841cc98a5ced9dfda710f69edbdefcaba587cc70 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Sat, 18 Apr 2026 15:49:45 +0200 Subject: [PATCH 2/2] Setup draco as telescopium content repository --- .github/workflows/ci.yml | 49 ++++++++++++++++++++++++++++++++++++++++ .gitlab-ci.yml | 7 ++++++ docs/index.mdx | 7 ++++++ docs/meta.json | 5 ++++ 4 files changed, 68 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .gitlab-ci.yml create mode 100644 docs/index.mdx create mode 100644 docs/meta.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..781ce58 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,49 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + +permissions: + pull-requests: write + +jobs: + pipeline: + runs-on: ubuntu-latest + steps: + - uses: Taucher2003/GitLab-Pipeline-Action@1.14.4 + name: Run pipeline + id: pipeline + with: + GL_SERVER_URL: https://gitlab.com + GL_PROJECT_ID: '81430101' + GL_RUNNER_TOKEN: ${{ secrets.GL_RUNNER_TOKEN }} + GL_API_TOKEN: ${{ secrets.GL_API_TOKEN }} + SHOW_JOB_LOGS: all + OVERRIDE_GITHUB_SHA: ${{ github.event_name == 'push' && github.sha || github.event.pull_request.head.sha }} + OVERRIDE_GITHUB_REF_NAME: ${{ github.event_name == 'push' && github.ref_name || github.event.pull_request.head.ref }} + env: + GLPA_C0_GH_REF: ${{ github.ref }} + GLPA_C0_GH_REF_NAME: ${{ github.ref_name }} + + - name: Find existing comment + uses: peter-evans/find-comment@v4 + id: find-comment + if: ${{ !cancelled() && github.event_name == 'pull_request' }} + with: + issue-number: ${{ github.event.pull_request.number }} + comment-author: 'github-actions[bot]' + body-includes: + + - name: Create or update comment + uses: peter-evans/create-or-update-comment@v5 + if: ${{ !cancelled() && github.event_name == 'pull_request' }} + with: + comment-id: ${{ steps.find-comment.outputs.comment-id }} + issue-number: ${{ github.event.pull_request.number }} + body: | + + ${{ steps.pipeline.outputs.SUMMARY_TEXT }} + edit-mode: replace diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..0933d5b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,7 @@ +stages: + - test + +include: + - project: code0-tech/development/telescopium + ref: build-branch + file: ci-template.gitlab-ci.yml diff --git a/docs/index.mdx b/docs/index.mdx new file mode 100644 index 0000000..cdd3c18 --- /dev/null +++ b/docs/index.mdx @@ -0,0 +1,7 @@ +--- +title: Welcome to the Documentation for Draco +description: Find out how the adapter works +template: splash +--- + +Draco receives requests and triggers executions. diff --git a/docs/meta.json b/docs/meta.json new file mode 100644 index 0000000..5c7a15b --- /dev/null +++ b/docs/meta.json @@ -0,0 +1,5 @@ +{ + "title": "Draco", + "description": "The adapter", + "root": true +}