Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
8e9a228458 |
5 changed files with 7598 additions and 46 deletions
|
@ -1,44 +0,0 @@
|
||||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
||||||
name: Fetch upstream (CDI)
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- .forgejo/workflows/fetch-upstream-cdi.yaml
|
|
||||||
|
|
||||||
env:
|
|
||||||
# renovate: datasource=github-releases depName=kubevirt/containerized-data-importer
|
|
||||||
KUBEVIRTCDI_VERSION: v1.60.3
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
fetch-upstream:
|
|
||||||
runs-on: docker
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Git setup
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'Smeagol'
|
|
||||||
git config --global user.email 'smeagol@hsn.dev'
|
|
||||||
|
|
||||||
- name: Fetch files
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
git checkout -b cdi-${KUBEVIRTCDI_VERSION} main || git checkout cdi-${KUBEVIRTCDI_VERSION}
|
|
||||||
mkdir ./deploy
|
|
||||||
|
|
||||||
mv ./kustomization-cdi.tmpl.yaml ./deploy/kustomization.yaml
|
|
||||||
curl -vL -o ./deploy/1-cdi-operator.yaml https://github.com/kubevirt/containerized-data-importer/releases/download/${KUBEVIRTCDI_VERSION}/cdi-operator.yaml
|
|
||||||
curl -vL -o ./deploy/2-cdi-cr.yaml https://github.com/kubevirt/containerized-data-importer/releases/download/${KUBEVIRTCDI_VERSION}/cdi-cr.yaml
|
|
||||||
|
|
||||||
git add ./deploy || true
|
|
||||||
git commit -m "feat: cdi-${KUBEVIRTCDI_VERSION}" || true
|
|
||||||
|
|
||||||
git push origin cdi-${KUBEVIRTCDI_VERSION} || true
|
|
|
@ -11,14 +11,14 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# renovate: datasource=github-releases depName=kubevirt/kubevirt
|
# renovate: datasource=github-releases depName=kubevirt/kubevirt
|
||||||
KUBEVIRT_VERSION: v1.3.1
|
KUBEVIRT_VERSION: v1.2.2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fetch-upstream:
|
fetch-upstream:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|
7574
deploy/1-kubevirt-operator.yaml
Normal file
7574
deploy/1-kubevirt-operator.yaml
Normal file
File diff suppressed because it is too large
Load diff
14
deploy/2-kubevirt-cr.yaml
Normal file
14
deploy/2-kubevirt-cr.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
apiVersion: kubevirt.io/v1
|
||||||
|
kind: KubeVirt
|
||||||
|
metadata:
|
||||||
|
name: kubevirt
|
||||||
|
namespace: kubevirt
|
||||||
|
spec:
|
||||||
|
certificateRotateStrategy: {}
|
||||||
|
configuration:
|
||||||
|
developerConfiguration:
|
||||||
|
featureGates: []
|
||||||
|
customizeComponents: {}
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
workloadUpdateStrategy: {}
|
8
deploy/kustomization.yaml
Normal file
8
deploy/kustomization.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- 1-kubevirt-operator.yaml
|
||||||
|
- 2-kubevirt-cr.yaml
|
||||||
|
|
Loading…
Reference in a new issue