Skip to content

Commit

Permalink
ci/ui: ability to install ui from official chart
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Apr 21, 2023
1 parent 5ba9f27 commit 886e72b
Show file tree
Hide file tree
Showing 19 changed files with 40 additions and 92 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/master-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ on:
default: https://github.com/rancher/elemental-operator/releases/download/v1.1.4/elemental-support_1.1.4_linux_amd64
type: string
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
description: Version of the elemental ui which will be installed (dev/stable)
default: dev
type: string
iso_to_test:
description: ISO to test (default built one is empty)
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots-basics-${{ inputs.cluster_name }}
path: tests/cypress/${{ inputs.elemental_ui_version }}/screenshots
path: tests/cypress/latest/screenshots
retention-days: 7
if-no-files-found: ignore
- name: Upload Cypress videos (Basics)
Expand All @@ -303,7 +303,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: cypress-videos-basics-${{ inputs.cluster_name }}
path: tests/cypress/${{ inputs.elemental_ui_version }}/videos
path: tests/cypress/latest/videos
retention-days: 7
- name: Deploy a node to join Rancher manager
if: inputs.test_type == 'ui'
Expand All @@ -315,7 +315,7 @@ jobs:
cd tests && (
# Removing 'downloads' is needed to avoid this error during 'make':
# 'pattern all: open .../elemental/tests/cypress/downloads: permission denied'
sudo rm -rf cypress/${{ inputs.elemental_ui_version }}/downloads
sudo rm -rf cypress/latest/downloads
make e2e-ui-rancher
)
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots-advanced-${{ inputs.cluster_name }}
path: tests/cypress/${{ inputs.elemental_ui_version }}/screenshots
path: tests/cypress/latest/screenshots
retention-days: 7
if-no-files-found: ignore
- name: Upload Cypress videos (Advanced)
Expand All @@ -358,7 +358,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: cypress-videos-advanced-${{ inputs.cluster_name }}
path: tests/cypress/${{ inputs.elemental_ui_version }}/videos
path: tests/cypress/latest/videos
retention-days: 7
- name: Configure Rancher & Libvirt
if: inputs.test_type == 'cli'
Expand Down Expand Up @@ -458,7 +458,7 @@ jobs:
cd tests && (
# Removing 'downloads' is needed to avoid this error during 'make':
# 'pattern all: open .../elemental/tests/cypress/downloads: permission denied'
sudo rm -rf cypress/${{ inputs.elemental_ui_version }}/downloads
sudo rm -rf cypress/latest/downloads
make e2e-get-logs
)
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-e2e-k3s-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
default: elemental
Expand All @@ -38,7 +34,7 @@ jobs:
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: ${{ inputs.elemental_ui_version || 'latest' }}
elemental_ui_version: dev
k8s_version_to_provision: v1.25.7+k3s1
proxy: ${{ inputs.proxy || 'elemental' }}
rancher_channel: 'latest'
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-e2e-k3s-obs-Dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
default: elemental
Expand Down Expand Up @@ -40,7 +36,7 @@ jobs:
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner }}
elemental_ui_version: ${{ inputs.elemental_ui_version }}
elemental_ui_version: dev
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Dev:/Teal53/media/iso/elemental-teal.x86_64.iso
k8s_version_to_provision: v1.25.7+k3s1
proxy: ${{ inputs.proxy }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ui-e2e-k3s-obs-Stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
description: Version of the elemental ui which will be installed (dev/stable)
default: stable
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-e2e-k3s-obs-Staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
default: elemental
Expand Down Expand Up @@ -40,7 +36,7 @@ jobs:
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner }}
elemental_ui_version: ${{ inputs.elemental_ui_version }}
elemental_ui_version: dev
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Staging:/Teal53/media/iso/elemental-teal.x86_64.iso
k8s_version_to_provision: v1.25.7+k3s1
proxy: ${{ inputs.proxy }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-e2e-k3s-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: 'latest'
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
default: elemental
Expand All @@ -38,7 +34,7 @@ jobs:
cluster_name: cluster-k3s
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: ${{ inputs.elemental_ui_version || 'latest' }}
elemental_ui_version: dev
k8s_version_to_provision: v1.25.7+k3s1
proxy: ${{ inputs.proxy || 'elemental' }}
rancher_channel: 'stable'
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-e2e-rke2-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
rancher_version:
description: Rancher Manager version to use for installation (fixed version or latest)
default: devel
Expand All @@ -36,7 +32,7 @@ jobs:
cluster_name: cluster-rke2
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: ${{ inputs.elemental_ui_version || 'latest'}}
elemental_ui_version: dev
k8s_version_to_provision: v1.25.7+rke2r1
rancher_channel: 'latest'
rancher_version: ${{ inputs.rancher_version || 'devel' }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-e2e-rke2-obs-Dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
rancher_channel:
description: Rancher Manager channel to use for installation (alpha/latest/stable)
default: stable
Expand Down Expand Up @@ -39,7 +35,7 @@ jobs:
cluster_name: cluster-rke2
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner }}
elemental_ui_version: ${{ inputs.elemental_ui_version }}
elemental_ui_version: dev
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Dev:/Teal53/media/iso/elemental-teal.x86_64.iso
k8s_version_to_provision: v1.25.7+rke2r1
rancher_channel: ${{ inputs.rancher_channel }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ui-e2e-rke2-obs-Stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
description: Version of the elemental ui which will be installed (dev/stable)
default: stable
type: string
rancher_channel:
description: Rancher Manager channel to use for installation (alpha/latest/stable)
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-e2e-rke2-obs-Staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
rancher_channel:
description: Rancher Manager channel to use for installation (alpha/latest/stable)
default: stable
Expand Down Expand Up @@ -39,7 +35,7 @@ jobs:
cluster_name: cluster-rke2
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner }}
elemental_ui_version: ${{ inputs.elemental_ui_version }}
elemental_ui_version: dev
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Staging:/Teal53/media/iso/elemental-teal.x86_64.iso
k8s_version_to_provision: v1.25.7+rke2r1
rancher_channel: ${{ inputs.rancher_channel }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-e2e-rke2-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: 'latest'
type: string
rancher_version:
description: Rancher Manager version to use for installation (fixed version or latest)
default: latest
Expand Down Expand Up @@ -39,7 +35,7 @@ jobs:
cluster_name: cluster-rke2
cypress_tags: main
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: ${{ inputs.elemental_ui_version || 'latest' }}
elemental_ui_version: dev
k8s_version_to_provision: v1.25.7+rke2r1
rancher_channel: 'stable'
rancher_version: ${{ inputs.rancher_version || 'latest' }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-k3s-os-upgrade-rancher_latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
default: elemental
Expand All @@ -41,7 +37,7 @@ jobs:
cluster_name: cluster-k3s
cypress_tags: upgrade
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: ${{ inputs.elemental_ui_version || 'latest' }}
elemental_ui_version: dev
iso_boot: true
k8s_version_to_provision: v1.25.7+k3s1
proxy: ${{ inputs.proxy || 'elemental' }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-k3s-os-upgrade-rancher_stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: 'latest'
type: string
proxy:
description: Deploy a proxy (none/rancher/elemental)
default: elemental
Expand All @@ -34,7 +30,7 @@ jobs:
cluster_name: cluster-k3s
cypress_tags: upgrade
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: ${{ inputs.elemental_ui_version || 'latest' }}
elemental_ui_version: dev
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
k8s_version_to_provision: v1.25.7+k3s1
proxy: ${{ inputs.proxy || 'elemental' }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-k3s-os-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
iso_to_test:
description: ISO to test
default: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
Expand Down Expand Up @@ -48,7 +44,7 @@ jobs:
cluster_name: cluster-k3s
cypress_tags: upgrade
destroy_runner: ${{ inputs.destroy_runner }}
elemental_ui_version: ${{ inputs.elemental_ui_version }}
elemental_ui_version: dev
iso_to_test: ${{ inputs.iso_to_test }}
k8s_version_to_provision: v1.25.7+k3s1
proxy: ${{ inputs.proxy }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-rke2-os-upgrade-rancher_latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
rancher_version:
description: Rancher Manager version to use for installation (fixed version or latest)
default: devel
Expand All @@ -38,7 +34,7 @@ jobs:
cluster_name: cluster-rke2
cypress_tags: upgrade
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: ${{ inputs.elemental_ui_version || 'latest' }}
elemental_ui_version: dev
iso_boot: true
k8s_version_to_provision: v1.25.7+rke2r1
rancher_channel: 'latest'
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-rke2-os-upgrade-rancher_stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: 'latest'
type: string
rancher_version:
description: Rancher Manager version to use for installation (fixed version or latest)
default: latest
Expand All @@ -35,7 +31,7 @@ jobs:
cluster_name: cluster-rke2
cypress_tags: upgrade
destroy_runner: ${{ inputs.destroy_runner || true }}
elemental_ui_version: ${{ inputs.elemental_ui_version || 'latest' }}
elemental_ui_version: dev
iso_to_test: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
k8s_version_to_provision: v1.25.7+rke2r1
rancher_channel: 'stable'
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ui-rke2-os-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
description: Destroy the auto-generated self-hosted runner
default: true
type: boolean
elemental_ui_version:
description: Version of the elemental ui which will be installed
default: latest
type: string
iso_to_test:
description: ISO to test
default: https://download.opensuse.org/repositories/isv:/Rancher:/Elemental:/Stable:/Teal53/media/iso/elemental-teal.x86_64.iso
Expand Down Expand Up @@ -49,7 +45,7 @@ jobs:
cluster_name: cluster-rke2
cypress_tags: upgrade
destroy_runner: ${{ inputs.destroy_runner }}
elemental_ui_version: ${{ inputs.elemental_ui_version }}
elemental_ui_version: dev
iso_to_test: ${{ inputs.iso_to_test }}
k8s_version_to_provision: v1.25.7+rke2r1
proxy: ${{ inputs.proxy }}
Expand Down
Loading

0 comments on commit 886e72b

Please sign in to comment.