From ea8a371c07dbf088f4cb0d6219a10a92a4fc18f5 Mon Sep 17 00:00:00 2001 From: Patrick Borgogno <789401+borgiman@users.noreply.github.com> Date: Wed, 18 Mar 2026 12:19:48 +0100 Subject: [PATCH] chore: remove workflow-templates folder --- .../ci-dotnet-core.properties.json | 8 -- workflow-templates/ci-dotnet-core.yml | 30 ----- .../release-dotnet-core.properties.json | 8 -- workflow-templates/release-dotnet-core.yml | 104 ------------------ workflow-templates/release.svg | 1 - 5 files changed, 151 deletions(-) delete mode 100644 workflow-templates/ci-dotnet-core.properties.json delete mode 100644 workflow-templates/ci-dotnet-core.yml delete mode 100644 workflow-templates/release-dotnet-core.properties.json delete mode 100644 workflow-templates/release-dotnet-core.yml delete mode 100644 workflow-templates/release.svg diff --git a/workflow-templates/ci-dotnet-core.properties.json b/workflow-templates/ci-dotnet-core.properties.json deleted file mode 100644 index ffb9b25..0000000 --- a/workflow-templates/ci-dotnet-core.properties.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "CI Build for .NET Core Services", - "description": "Standardvorlage für einen .NET Core Service", - "iconName": "release", - "categories": [ - "C#" - ] -} diff --git a/workflow-templates/ci-dotnet-core.yml b/workflow-templates/ci-dotnet-core.yml deleted file mode 100644 index 3e6c81b..0000000 --- a/workflow-templates/ci-dotnet-core.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: .NET Core CI Build - -on: - workflow_dispatch: - inputs: - comment: - description: 'Bemerkung' - required: false - pull_request: - branches: [ develop ] - -jobs: - build: - runs-on: ubuntu-latest - env: - APP_NAME: APP-Name (Bsp. cmi-push-service) - steps: - - name: Check Out - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Build docker image and push - uses: CMInformatik/dotnet-build@main - with: - app-name: ${{env.APP_NAME}} - myget-pre-auth-url: ${{secrets.MYGET_PRE_AUTH_URL}} - docker-password: ${{secrets.DOCKER_PASSWORD}} - docker-username: ${{secrets.DOCKER_USERNAME}} - build-configuration: debug diff --git a/workflow-templates/release-dotnet-core.properties.json b/workflow-templates/release-dotnet-core.properties.json deleted file mode 100644 index 196d200..0000000 --- a/workflow-templates/release-dotnet-core.properties.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "Release Build for .NET Core Services", - "description": "Standardvorlage für einen .NET Core Service", - "iconName": "release", - "categories": [ - "C#" - ] -} diff --git a/workflow-templates/release-dotnet-core.yml b/workflow-templates/release-dotnet-core.yml deleted file mode 100644 index 02e7499..0000000 --- a/workflow-templates/release-dotnet-core.yml +++ /dev/null @@ -1,104 +0,0 @@ -name: .NET Core Release Build - -on: - workflow_dispatch: - inputs: - comment: - description: 'Bemerkung' - required: false - pull_request: - branches: [ master ] - push: - branches: [ master ] - -jobs: - build: - runs-on: ubuntu-latest - env: - APP_NAME: APP-Name (Bsp. cmi-push-service) - OCTOPUS_PACKAGE_NAME: Package-Name for Octopus (Bsp. CMI.PushService) - outputs: - version: ${{ steps.buildAndPush.outputs.version}} - artifact-name: ${{ steps.buildAndPush.outputs.artifact-name}} - is-pre-release: ${{ steps.buildAndPush.outputs.is-pre-release}} - steps: - - name: Check Out - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - id: buildAndPush - name: Build docker image and push - uses: CMInformatik/dotnet-build@main - with: - app-name: ${{env.APP_NAME}} - myget-pre-auth-url: ${{secrets.MYGET_PRE_AUTH_URL}} - docker-password: ${{secrets.DOCKER_PASSWORD}} - docker-username: ${{secrets.DOCKER_USERNAME}} - build-configuration: release - - - name: Install Octopus CLI - run: | - sudo apt update && sudo apt install --no-install-recommends gnupg curl ca-certificates apt-transport-https && \ - curl -sSfL https://apt.octopus.com/public.key | sudo apt-key add - && \ - sudo sh -c "echo deb https://apt.octopus.com/ stable main > /etc/apt/sources.list.d/octopus.com.list" && \ - sudo apt update && sudo apt install octopuscli - - - name: Create Ocotpus package - run: | - mkdir -p ./packages - octo pack --id="${{env.OCTOPUS_PACKAGE_NAME}}" --format="Zip" --version="${{steps.buildAndPush.outputs.version}}" --basePath="./extracted-app" --outFolder="./packages" - - - name: Push to Octopus - run: octo push --package="./packages/${{env.OCTOPUS_PACKAGE_NAME}}.${{steps.buildAndPush.outputs.version}}.zip" --server="${{ secrets.OCTOPUS_SERVER_URL }}" --apiKey="${{ secrets.OCTOPUS_API_KEY }}" - - - name: Convert markdown to PDF - uses: CMInformatik/markdown-to-pdf@master - with: - input_dir: doc - output_dir: Dokumentation - build_html: false - - - name: Upload PDF as artifact - uses: actions/upload-artifact@v1 - with: - name: Dokumentation - path: Dokumentation - - createRelease: - needs: build - runs-on: ubuntu-latest - - steps: - - name: Create release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v.${{ needs.build.outputs.version }} - release_name: v.${{ needs.build.outputs.version }} - draft: false - prerelease: ${{ needs.build.outputs.is-pre-release }} - - - name: Download artifacts - id: download_artifacts - uses: actions/download-artifact@v2 - with: - path: ./ - - - name: Create artifacts archive - run: | - cd ${{steps.download_artifacts.outputs.download-path}} - mv ${{ needs.build.outputs.artifact-name }} Installationsdateien - zip -r ./result.zip . - - - name: Upload release asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./result.zip - asset_name: ${{ needs.build.outputs.artifact-name }}.zip - asset_content_type: application/zip diff --git a/workflow-templates/release.svg b/workflow-templates/release.svg deleted file mode 100644 index 021ce92..0000000 --- a/workflow-templates/release.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file