From 3c71cbe69901d0eba154764770af3fc83d8c8cc3 Mon Sep 17 00:00:00 2001 From: Artem Kovalov Date: Mon, 9 Nov 2026 22:51:50 +0100 Subject: [PATCH] ci: remove update-api workflow The target output paths (docs/api/kvm.cloud.sap/) do not exist in the repo, so the workflow produces no meaningful output. Removing it until the API doc structure is in place. Signed-off-by: Artem Kovalov --- .github/workflows/update-api.yml | 44 -------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/update-api.yml diff --git a/.github/workflows/update-api.yml b/.github/workflows/update-api.yml deleted file mode 100644 index 0cfee7f..0000000 --- a/.github/workflows/update-api.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Update API Docs -on: - schedule: - - cron: "0 0 * * 0" # Runs every Sunday at midnight - workflow_dispatch: - -jobs: - update-api: - runs-on: ubuntu-latest - steps: - - name: Checkout this repository - uses: actions/checkout@v7 - - name: Checkout openstack-hypervisor-operator repository - uses: actions/checkout@v7 - with: - repository: cobaltcore-dev/openstack-hypervisor-operator - path: openstack-hypervisor-operator - - name: Checkout kvm-node-agent repository - uses: actions/checkout@v7 - with: - repository: cobaltcore-dev/kvm-node-agent - path: kvm-node-agent - - name: Install crdoc - uses: jaxxstorm/action-install-gh-release@v4.0.0 - with: # Grab the latest version - repo: fybrik/crdoc - tag: v0.6.4 - - name: Run crdoc to update api - run: | - crdoc generate --template frontmatter.tmpl --resources openstack-hypervisor-operator/config/crd/bases/kvm.cloud.sap_evictions.yaml --toc hack/template/eviction.yaml --output docs/api/kvm.cloud.sap/v1/eviction.md - crdoc generate --template frontmatter.tmpl --resources openstack-hypervisor-operator/config/crd/bases/kvm.cloud.sap_hypervisors.yaml --toc hack/template/hypervisor.yaml --output docs/api/kvm.cloud.sap/v1/hypervisor.md - crdoc generate --template frontmatter.tmpl --resources kvm-node-agent/config/crd/bases/kvm.cloud.sap_migrations.yaml --toc hack/template/migration.yaml --output docs/api/kvm.cloud.sap/v1alpha1/migration.md - - name: Commit changes - run: | - if ! command -v git &> /dev/null; then - sudo apt-get update && sudo apt-get install git -y - fi - git config --global user.name "github-actions[bot]" - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add docs/api/*.md - git commit -m "Update API docs" || echo "No changes to commit" - git push - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file