Skip to content

Commit

Permalink
ci: fix airgap scheduled tests
Browse files Browse the repository at this point in the history
The scheduled tests cannot be defined with inputs left empty.

Signed-off-by: Loic Devulder <ldevulder@suse.com>
  • Loading branch information
ldevulder committed Mar 1, 2024
1 parent 9779f49 commit 939ab0b
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/cli-k3s-airgap_rm_latest_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@ jobs:
cluster_name: airgap-cluster
destroy_runner: ${{ github.event_name == 'schedule' && true || inputs.destroy_runner }}
k8s_version_to_provision: v1.27.10+k3s2
os_to_test: dev
rancher_version: latest/devel
test_type: airgap
upstream_cluster_version: v1.26.10+k3s2
8 changes: 0 additions & 8 deletions .github/workflows/cli-k3s-airgap_rm_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
operator_repo:
description: Operator version to use for initial deployment
default: oci://registry.opensuse.org/isv/rancher/elemental/dev/charts/rancher
type: string
schedule:
- cron: '0 8 * * *'

Expand All @@ -27,8 +23,4 @@ jobs:
cluster_name: airgap-cluster
destroy_runner: ${{ github.event_name == 'schedule' && true || inputs.destroy_runner }}
k8s_version_to_provision: v1.27.10+k3s2
operator_repo: ${{ inputs.operator_repo }}
os_to_test: dev
rancher_version: stable/latest
test_type: airgap
upstream_cluster_version: v1.26.10+k3s2
3 changes: 1 addition & 2 deletions .github/workflows/master_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ on:
type: string
rancher_version:
description: Rancher Manager channel/version/head_version to use for installation
default: stable/latest/none
default: stable/latest
type: string
reset:
description: Allow reset test (mainly used on CLI tests)
Expand Down Expand Up @@ -107,7 +107,6 @@ on:
type: string
upstream_cluster_version:
description: Cluster upstream version where to install Rancher (K3s or RKE2)
#default: v1.27.10+k3s2
default: v1.26.10+k3s2
type: string
zone:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/sub_airgap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
cluster_namespace:
required: true
type: string
cluster_type:
required: true
type: string
k8s_version_to_provision:
required: true
type: string
Expand Down Expand Up @@ -62,7 +59,6 @@ jobs:
CERT_MANAGER_VERSION: ${{ inputs.cert-manager_version }}
CLUSTER_NAME: ${{ inputs.cluster_name }}
CLUSTER_NS: ${{ inputs.cluster_namespace }}
CLUSTER_TYPE: ${{ inputs.cluster_type }}
# Distribution to use to host Rancher Manager (K3s)
K8S_UPSTREAM_VERSION: ${{ inputs.upstream_cluster_version }}
# For K8s cluster to provision with Rancher Manager
Expand Down Expand Up @@ -158,7 +154,6 @@ jobs:
with:
ca_type: ${{ inputs.ca_type }}
cert_manager_version: ${{ steps.component.outputs.cert_manager_version }}
cluster_type: ${{ inputs.cluster_type }}
k8s_version_to_provision: ${{ inputs.k8s_version_to_provision }}
operator_version: ${{ steps.component.outputs.operator_version }}
os_to_test: ${{ inputs.os_to_test }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sub_test_choice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ jobs:
cert-manager_version: ${{ inputs.cert-manager_version }}
cluster_name: ${{ inputs.cluster_name }}
cluster_namespace: ${{ inputs.cluster_namespace }}
cluster_type: ${{ inputs.cluster_type }}
k8s_version_to_provision: ${{ inputs.k8s_version_to_provision }}
operator_repo: ${{ inputs.operator_repo }}
os_to_test: ${{ inputs.os_to_test }}
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func DownloadBuiltISO(ns, seedName, filename string) {
seedName,
"-o", "jsonpath={.status}")
return out
}, tools.SetTimeout(3*time.Minute), 5*time.Second).Should(ContainSubstring("downloadURL"))
}, tools.SetTimeout(5*time.Minute), 5*time.Second).Should(ContainSubstring("downloadURL"))

// Get URL
seedImageURL, err := kubectl.RunWithoutErr("get", "SeedImage",
Expand Down

0 comments on commit 939ab0b

Please sign in to comment.