From 156ebad64c2aab83ccce9fc9c807f274ebd1c45f Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Fri, 27 Dec 2024 19:14:13 +0100 Subject: [PATCH] build: mirror to github --- .drone.yml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 806e78c..1ae7044 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,4 +45,35 @@ steps: - mkdir build - cd build; cmake .. - make -j 4 - - make test \ No newline at end of file + - make test + +--- + +kind: pipeline +type: kubernetes +name: mirror-to-github +node_selector: + kubernetes.io/arch: amd64 + federationhq.de/location: Blumendorf + federationhq.de/compute: true +steps: + - name: github-mirror + image: registry.cloud.federationhq.de/drone-github-mirror:latest + pull: always + settings: + GH_TOKEN: + from_secret: GH_TOKEN + GH_REPO: "byterazor/EventManager" + GH_REPO_DESC: "very simple C++ Event System" + GH_REPO_HOMEPAGE: "https://rm.byterazor.de/projects/eventmanager" +depends_on: + - build-amd64 + - build-arm64 + + +--- +kind: secret +name: GH_TOKEN +get: + path: github + name: token \ No newline at end of file