Skip to content

Commit 124d8db

Browse files
committed
merge main
2 parents fdbba33 + b0ccb68 commit 124d8db

35 files changed

+1427
-804
lines changed

.github/actions/e2e/action.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ inputs:
1919
license:
2020
description: 'license (b64) to use for e2e tests'
2121
required: true
22-
testim-access-token:
23-
description: 'testim access token'
24-
required: true
25-
testim-branch:
26-
description: 'testim branch'
27-
required: true
2822
dr-aws-access-key-id:
2923
description: 'Disaster Recovery AWS Access Key ID'
3024
required: true
@@ -90,8 +84,6 @@ runs:
9084
export SNAPSHOT_LICENSE_ID=${{ inputs.snapshot-license-id }}
9185
echo "${{ inputs.license }}" | base64 --decode > e2e/license.yaml
9286
echo "${{ inputs.snapshot-license }}" | base64 --decode > e2e/snapshot-license.yaml
93-
export TESTIM_ACCESS_TOKEN=${{ inputs.testim-access-token }}
94-
export TESTIM_BRANCH=${{ inputs.testim-branch }}
9587
export DR_AWS_S3_ENDPOINT=https://s3.amazonaws.com
9688
export DR_AWS_S3_REGION=us-east-1
9789
export DR_AWS_S3_BUCKET=kots-testim-snapshots
@@ -103,20 +95,20 @@ runs:
10395
uses: actions/upload-artifact@v4
10496
if: ${{ failure() }}
10597
with:
106-
name: ${{ github.job }}-support-bundle-host.tar.gz
98+
name: ${{ inputs.test-name }}-support-bundle-host.tar.gz
10799
path: ./e2e/support-bundle-host.tar.gz
108100
- name: Upload Cluster Support Bundle
109101
uses: actions/upload-artifact@v4
110102
if: ${{ failure() }}
111103
with:
112-
name: ${{ github.job }}-support-bundle-cluster.tar.gz
104+
name: ${{ inputs.test-name }}-support-bundle-cluster.tar.gz
113105
path: ./e2e/support-bundle-cluster.tar.gz
114106
- name: Upload Playwright Report
115107
id: upload-playwright-report
116108
uses: actions/upload-artifact@v4
117109
if: ${{ failure() }}
118110
with:
119-
name: ${{ github.job }}-playwright-report.tar.gz
111+
name: ${{ inputs.test-name }}-playwright-report.tar.gz
120112
path: ./e2e/playwright-report.tar.gz
121113
- name: Print instructions to view Playwright report
122114
if: ${{ failure() && steps.upload-playwright-report.outputs.artifact-url != '' }}

.github/workflows/pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ jobs:
187187
- TestInstallSnapshotFromReplicatedApp
188188
- TestMultiNodeAirgapUpgradeUbuntuJammy
189189
- TestSingleNodeDisasterRecovery
190+
- TestSingleNodeResumeDisasterRecovery
190191
steps:
191192
- name: Checkout
192193
uses: actions/checkout@v4
@@ -204,8 +205,6 @@ jobs:
204205
snapshot-license: ${{ secrets.STAGING_EMBEDDED_CLUSTER_SNAPSHOT_LICENSE }}
205206
license-id: ${{ secrets.STAGING_EMBEDDED_CLUSTER_LICENSE_ID }}
206207
license: ${{ secrets.STAGING_EMBEDDED_CLUSTER_LICENSE }}
207-
testim-access-token: ${{ secrets.TESTIM_ACCESS_TOKEN }}
208-
testim-branch: ${{ github.head_ref == 'main' && 'master' || github.head_ref }}
209208
dr-aws-access-key-id: ${{ secrets.TESTIM_AWS_ACCESS_KEY_ID }}
210209
dr-aws-secret-access-key: ${{ secrets.TESTIM_AWS_SECRET_ACCESS_KEY }}
211210

.github/workflows/release-dev.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ jobs:
140140
- TestInstallSnapshotFromReplicatedApp
141141
- TestMultiNodeAirgapUpgradeUbuntuJammy
142142
- TestSingleNodeDisasterRecovery
143+
- TestSingleNodeResumeDisasterRecovery
143144
steps:
144145
- name: Checkout
145146
uses: actions/checkout@v4
@@ -156,7 +157,5 @@ jobs:
156157
snapshot-license: ${{ secrets.STAGING_EMBEDDED_CLUSTER_SNAPSHOT_LICENSE }}
157158
license-id: ${{ secrets.STAGING_EMBEDDED_CLUSTER_LICENSE_ID }}
158159
license: ${{ secrets.STAGING_EMBEDDED_CLUSTER_LICENSE }}
159-
testim-access-token: ${{ secrets.TESTIM_ACCESS_TOKEN }}
160-
testim-branch: 'master'
161160
dr-aws-access-key-id: ${{ secrets.TESTIM_AWS_ACCESS_KEY_ID }}
162161
dr-aws-secret-access-key: ${{ secrets.TESTIM_AWS_SECRET_ACCESS_KEY }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARCH := $(shell uname -m)
44
APP_NAME = embedded-cluster
55
ADMIN_CONSOLE_CHART_URL = oci://registry.replicated.com/library
66
ADMIN_CONSOLE_CHART_NAME = admin-console
7-
ADMIN_CONSOLE_CHART_VERSION = 1.109.0
7+
ADMIN_CONSOLE_CHART_VERSION = 1.109.3
88
ADMIN_CONSOLE_IMAGE_OVERRIDE =
99
ADMIN_CONSOLE_MIGRATIONS_IMAGE_OVERRIDE =
1010
EMBEDDED_OPERATOR_CHART_URL = oci://registry.replicated.com/library

cmd/embedded-cluster/install.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ func ensureK0sConfig(c *cli.Context) error {
307307

308308
// applyUnsupportedOverrides applies overrides to the k0s configuration. Applies first the
309309
// overrides embedded into the binary and after the ones provided by the user (--overrides).
310+
// we first apply the k0s config override and then apply the built in overrides.
310311
func applyUnsupportedOverrides(c *cli.Context, cfg *k0sconfig.ClusterConfig) (*k0sconfig.ClusterConfig, error) {
311312
var err error
312313
if embcfg, err := release.GetEmbeddedClusterConfig(); err != nil {
@@ -316,6 +317,9 @@ func applyUnsupportedOverrides(c *cli.Context, cfg *k0sconfig.ClusterConfig) (*k
316317
if cfg, err = config.PatchK0sConfig(cfg, overrides); err != nil {
317318
return nil, fmt.Errorf("unable to patch k0s config: %w", err)
318319
}
320+
if cfg, err = config.ApplyBuiltInExtensionsOverrides(cfg, embcfg); err != nil {
321+
return nil, fmt.Errorf("unable to release built in overrides: %w", err)
322+
}
319323
}
320324
if c.String("overrides") == "" {
321325
return cfg, nil
@@ -328,6 +332,9 @@ func applyUnsupportedOverrides(c *cli.Context, cfg *k0sconfig.ClusterConfig) (*k
328332
if cfg, err = config.PatchK0sConfig(cfg, overrides); err != nil {
329333
return nil, fmt.Errorf("unable to apply overrides: %w", err)
330334
}
335+
if cfg, err = config.ApplyBuiltInExtensionsOverrides(cfg, eucfg); err != nil {
336+
return nil, fmt.Errorf("unable to end user built in overrides: %w", err)
337+
}
331338
return cfg, nil
332339
}
333340

0 commit comments

Comments
 (0)