Skip to content

Commit 7792ae5

Browse files
Merge branch 'main' into add_qase
2 parents b220141 + 3c16b81 commit 7792ae5

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/docker_run.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
tag: ['v2.10-head', 'v2.11-head', 'v2.12-head', 'head'] # Rancher version tags
18+
tag: ['v2.11-head', 'v2.12-head', 'head'] # Rancher version tags
1919
fail-fast: false
20+
# This expression sets max-parallel to 1 for schedules, and 4 for all other events
21+
max-parallel: ${{ github.event_name == 'schedule' && 1 || 4 }}
2022

2123
steps:
2224
- name: Generate random password
@@ -107,6 +109,7 @@ jobs:
107109
- name: Run Observability Charts Tests
108110
id: run_observability_tests
109111
run: |
112+
sleep 60
110113
set -e
111114
TEST_LABEL_FILTER=installation go test -timeout 20m github.com/rancher/observability-e2e/tests/e2e -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-installation-${{ matrix.tag }}.txt
112115
TEST_LABEL_FILTER=E2E go test -timeout 30m github.com/rancher/observability-e2e/tests/e2e -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-e2e-${{ matrix.tag }}.txt
@@ -121,6 +124,7 @@ jobs:
121124
- name: Run Observability Upgrade tests
122125
id: run_observability_upgrade_tests
123126
run: |
127+
sleep 60
124128
set -e
125129
TEST_LABEL_FILTER=beforeUpgrade go test -timeout 20m github.com/rancher/observability-e2e/tests/e2e -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-upgrade-${{ matrix.tag }}.txt
126130
TEST_LABEL_FILTER=E2E go test -timeout 30m github.com/rancher/observability-e2e/tests/e2e -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-e2e-${{ matrix.tag }}.txt

.github/workflows/k3s_run.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
- k3s_version: v1.32.8+k3s1
2424
rancher_version: latest/devel/head
2525
fail-fast: false
26+
# This expression sets max-parallel to 1 for schedules, and 4 for all other events
27+
max-parallel: ${{ github.event_name == 'schedule' && 1 || 4 }}
2628

2729
steps:
2830
- name: Set environment variables
@@ -53,6 +55,7 @@ jobs:
5355
- name: Install K3S Version ${{ matrix.k3s_version }} & Rancher Version ${{ matrix.rancher_version }}
5456
id: install_k3s_and_rancher
5557
run: |
58+
sleep 120
5659
set -e
5760
go test -timeout 30m -run ^TestE2E$ github.com/rancher/observability-e2e/installations/k3s -v -count=1 -ginkgo.v
5861
@@ -73,13 +76,15 @@ jobs:
7376
- name: Run Installation Charts Tests For Backup and Restore
7477
id: run_installation_tests_backup_restore
7578
run: |
79+
sleep 60
7680
set -e
7781
mv ./tests/helper/yamls/inputBackupRestoreConfig.yaml.example ./tests/helper/yamls/inputBackupRestoreConfig.yaml
7882
TEST_LABEL_FILTER=installation go test -timeout 20m github.com/rancher/observability-e2e/tests/backuprestore/functional -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-installation-${{ matrix.k3s_version }}.txt
7983
8084
- name: Run Observability Upgrade tests
8185
id: run_observability_upgrade_tests
8286
run: |
87+
sleep 60
8388
set -e
8489
TEST_LABEL_FILTER=beforeUpgrade go test -timeout 20m github.com/rancher/observability-e2e/tests/e2e -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-upgrade-${{ matrix.k3s_version }}.txt
8590
TEST_LABEL_FILTER=E2E go test -timeout 30m github.com/rancher/observability-e2e/tests/e2e -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-e2e-${{ matrix.k3s_version }}.txt

.github/workflows/master-e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ on:
5050
required: false
5151

5252
env:
53-
image_id: ami-00eb69d236edcfaf8
53+
image_id: ami-0d9a665f802ae6227
5454
instance_type: t2.2xlarge
5555
instance_name: observability-e2e-runner
5656

@@ -361,7 +361,7 @@ jobs:
361361
run: |
362362
CATTLE_TEST_CONFIG=$GITHUB_WORKSPACE/cattle-config.yaml \
363363
TEST_LABEL_FILTER=installation \
364-
go test -timeout 20m github.com/rancher/observability-e2e/tests/e2e -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-installation.txt
364+
go test -timeout 30m github.com/rancher/observability-e2e/tests/e2e -v -count=1 -ginkgo.v | tee ~/artifacts/test-output-installation.txt
365365
366366
- name: Run E2E Tests
367367
id: run_e2e_tests

0 commit comments

Comments
 (0)