Rename collection to kubevirt.core

This replaces all occurences of the old kubernetes.core name.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2023-08-03 11:22:57 +02:00
parent 874003ed14
commit 38c76a9545
18 changed files with 46 additions and 46 deletions

View File

@@ -13,11 +13,11 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
with:
path: ansible_collections/kubernetes/kubevirt
path: ansible_collections/kubevirt/core
fetch-depth: 0
- run: |
mkdir -p /home/runner/.kube/
cp -rp ${GITHUB_WORKSPACE}/ansible_collections/kubernetes/kubevirt/tests/.kubeconfig /home/runner/.kube/config
cp -rp ${GITHUB_WORKSPACE}/ansible_collections/kubevirt/core/tests/.kubeconfig /home/runner/.kube/config
cat /home/runner/.kube/config
sanity:
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main

View File

@@ -16,7 +16,7 @@ env:
jobs:
docs:
runs-on: ubuntu-latest
if: github.repository == 'kubevirt/kubernetes.kubevirt'
if: github.repository == 'kubevirt/kubevirt.core'
permissions:
actions: write
checks: write
@@ -28,7 +28,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
with:
path: ansible_collections/kubernetes/kubevirt
path: ansible_collections/kubevirt/core
fetch-depth: 0
- name: Set up Python
@@ -40,9 +40,9 @@ jobs:
- name: Install doc dependencies
run: |
python -m pip install --upgrade pip
pip install -r ansible_collections/kubernetes/kubevirt/docs/requirements.txt
pip install -r ansible_collections/kubernetes/kubevirt/requirements.txt
ansible-galaxy collection install -r ansible_collections/kubernetes/kubevirt/requirements.yml -p /home/runner/.ansible/collections --force-with-deps
pip install -r ansible_collections/kubevirt/core/docs/requirements.txt
pip install -r ansible_collections/kubevirt/core/requirements.txt
ansible-galaxy collection install -r ansible_collections/kubevirt/core/requirements.yml -p /home/runner/.ansible/collections --force-with-deps
sudo apt install -y sed hub
- name: Create default collection path
@@ -53,12 +53,12 @@ jobs:
- name: Create changelog and documentation
uses: ansible-middleware/collection-docs-action@main
with:
collection_fqcn: kubernetes.kubevirt
collection_repo: kubevirt/kubernetes.kubevirt
collection_fqcn: kubevirt.core
collection_repo: kubevirt/kubevirt.core
dependencies: false
commit_changelog: false
commit_ghpages: true
changelog_release: false
generate_docs: true
path: /home/runner/.ansible/collections/ansible_collections/kubernetes/kubevirt
path: /home/runner/.ansible/collections/ansible_collections/kubevirt/core
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -6,7 +6,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
if: github.repository == 'kubevirt/kubernetes.kubevirt'
if: github.repository == 'kubevirt/kubevirt.core'
permissions:
actions: write
checks: write
@@ -58,8 +58,8 @@ jobs:
- name: Create changelog and documentation
uses: ansible-middleware/collection-docs-action@main
with:
collection_fqcn: kubernetes.kubevirt
collection_repo: kubevirt/kubernetes.kubevirt
collection_fqcn: kubevirt.core
collection_repo: kubevirt/kubevirt.core
dependencies: false
commit_changelog: true
commit_ghpages: false