Skip to content

Commit

Permalink
nightly ci: bring u08 back
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed May 7, 2024
1 parent 26ecaad commit a8bc56d
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hypershift-assisted-ci.yml
Expand Up @@ -40,7 +40,7 @@ env:

jobs:
requirements:
runs-on: karim03
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand All @@ -55,15 +55,15 @@ jobs:
deploy-baremetal-like-vms:
needs: requirements
runs-on: karim03
runs-on: u08
steps:
- name: Deploy Baremetal like vms
run: |
kcli create vm -P uefi=true -P start=false -P memory=20480 -P numcpus=16 -P disks=['{"size": 200, "interface": "sata"}'] -P nets=['{"name": "baremetalfake", "mac": "aa:aa:aa:bb:bb:80"}'] -P plan=$CLUSTER-vms -P user=core -c 2 $CLUSTER
deploy-hypershift:
needs: deploy-baremetal-like-vms
runs-on: karim03
runs-on: u08
steps:
- name: Deploy HYPERSHIFT ASSISTED
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/hypershift-assisted-nightly-ci.yml
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
requirements:
if: github.repository == 'karmab/kcli'
runs-on: karim03
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand All @@ -29,23 +29,23 @@ jobs:
deploy-baremetal-like-vms:
needs: requirements
runs-on: karim03
runs-on: u08
steps:
- name: Deploy Baremetal like vm
run: |
kcli create vm -P uefi=true -P start=false -P memory=20480 -P numcpus=16 -P disks=['{"size": 200, "interface": "sata"}'] -P nets=['{"name": "baremetalfake", "mac": "aa:aa:aa:bb:bb:80"}'] -P plan=$CLUSTER-vms -P user=core -c 2 $CLUSTER
deploy-hypershift:
needs: deploy-baremetal-like-vms
runs-on: karim03
runs-on: u08
steps:
- name: Deploy HYPERSHIFT ASSISTED
run: |
kcli create cluster hypershift --pf $PARAMFILE -P pull_secret=$PULLSECRET $CLUSTER --force
clean-up:
needs: deploy-hypershift
runs-on: karim03
runs-on: u08
steps:
- name: Clean everything after success
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hypershift-ci.yml
Expand Up @@ -40,7 +40,7 @@ env:

jobs:
requirements:
runs-on: karim03
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand All @@ -50,7 +50,7 @@ jobs:
deploy-hypershift:
needs: requirements
runs-on: karim03
runs-on: u08
steps:
- name: Deploy hypershift cluster
run: kcli create cluster hypershift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag="$TAG" $EXTRAPARAMS $PLAN --force
4 changes: 2 additions & 2 deletions .github/workflows/hypershift-nightly-ci.yml
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
requirements:
if: github.repository == 'karmab/kcli'
runs-on: karim03
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand All @@ -25,7 +25,7 @@ jobs:
deploy-hypershift:
needs: requirements
runs-on: karim03
runs-on: u08
steps:
- name: Deploy hypershift cluster
run: kcli create cluster hypershift --pf $PARAMFILE -P pull_secret=$PULLSECRET $PLAN --force
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/microshift-nightly.yml
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
requirements:
if: github.repository == 'karmab/kcli'
runs-on: karim02
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand All @@ -27,14 +27,14 @@ jobs:

deploy-microshift:
needs: requirements
runs-on: karim02
runs-on: u08
steps:
- name: Deploy Microshift
run: kcli create cluster microshift -P pull_secret=$PULLSECRET -P version=$VERSION -P tag="$TAG" $CLUSTER

clean-up:
needs: deploy-microshift
runs-on: karim02
runs-on: u08
steps:
- name: Clean everything after success
run: kcli delete cluster --yes $CLUSTER
2 changes: 1 addition & 1 deletion .github/workflows/okd-nightly.yml
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
deploy-okd:
if: github.repository == 'karmab/kcli'
runs-on: karim02
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openshift-nightly-ci.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
# provider: [libvirt, kubevirt, vsphere]
provider: [libvirt]
# runs-on: ${{ matrix.provider }}
runs-on: karim01
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openshift-nightly-ipv6.yml
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
deploy-openshift:
if: github.repository == 'karmab/kcli'
runs-on: karim01
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sno-ci.yml
Expand Up @@ -55,7 +55,7 @@ env:

jobs:
requirements:
runs-on: karim03
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand All @@ -68,15 +68,15 @@ jobs:

deploy-baremetal-like-vm:
needs: requirements
runs-on: karim03
runs-on: u08
steps:
- name: Deploy Baremetal like vm
run: |
kcli create vm -P uefi=true -P boot_order=true -P start=false -P memory=$MEMORY -P numcpus=$NUMCPUS -P disks=$DISKS -P nets=[baremetalfake] -P user=core -P plan=$CLUSTER -P kube=$CLUSTER -P kubetype=openshift $EXTRAPARAMS $CLUSTER
deploy-openshift:
needs: deploy-baremetal-like-vm
runs-on: karim03
runs-on: u08
steps:
- name: Deploy SNO
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sno-nightly-ci.yml
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
requirements:
if: github.repository == 'karmab/kcli'
runs-on: karim03
runs-on: u08
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
Expand All @@ -28,23 +28,23 @@ jobs:

deploy-baremetal-like-vm:
needs: requirements
runs-on: karim03
runs-on: u08
steps:
- name: Deploy Baremetal like vm
run: |
kcli -C local create vm -P uefi=true -P boot_order=true -P start=false -P memory=32768 -P numcpus=16 -P disks=[50,100] -P nets=[baremetalfake] -P plan=$CLUSTER -P kube=$CLUSTER -P kubetype=openshift $CLUSTER
deploy-openshift:
needs: deploy-baremetal-like-vm
runs-on: karim03
runs-on: u08
steps:
- name: Deploy SNO
run: |
kcli create cluster openshift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag="$TAG" -P sno_disk=vdb $CLUSTER
# clean-up:
# needs: deploy-openshift
# runs-on: karim03
# runs-on: u08
# steps:
# - name: Clean everything after success
# run: kcli -C local delete plan --yes $CLUSTER

0 comments on commit a8bc56d

Please sign in to comment.