Skip to content

Commit 1403b31

Browse files
Merge pull request #290 from elfosardo/prepare-0.4
✨ Switch to Ironic 30.0 by default, prepare release-0.4
2 parents 52fb804 + b7667e5 commit 1403b31

File tree

5 files changed

+6
-14
lines changed

5 files changed

+6
-14
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ifeq ($(USE_IMAGE_DIGESTS), true)
7272
endif
7373

7474
# Image URL to use all building/pushing image targets
75-
IMG ?= quay.io/metal3-io/ironic-standalone-operator:latest
75+
IMG ?= quay.io/metal3-io/ironic-standalone-operator:release-0.4
7676

7777
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
7878
ifeq (,$(shell go env GOBIN))

config/manager/manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
envFrom:
4545
- configMapRef:
4646
name: ironic-standalone-operator-config
47-
image: quay.io/metal3-io/ironic-standalone-operator:latest
47+
image: quay.io/metal3-io/ironic-standalone-operator:release-0.4
4848
name: manager
4949
securityContext:
5050
allowPrivilegeEscalation: false

pkg/ironic/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const (
1212

1313
var (
1414
// NOTE(dtantsur): defaultVersion must be updated after branching.
15-
defaultVersion = metal3api.VersionLatest
15+
defaultVersion = metal3api.Version300
1616
defaultMariaDBImage = defaultRegistry + "/mariadb:latest"
1717
defaultRamdiskDownloaderImage = defaultRegistry + "/ironic-ipa-downloader:latest"
1818
defaultKeepalivedImage = defaultRegistry + "/keepalived:latest"

pkg/ironic/version_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ func TestWithIronicOverrides(t *testing.T) {
2626

2727
Expected: VersionInfo{
2828
// NOTE(dtantsur): this value will change on stable branches
29-
InstalledVersion: metal3api.VersionLatest,
30-
IronicImage: "quay.io/metal3-io/ironic:latest",
29+
InstalledVersion: metal3api.Version300,
30+
IronicImage: "quay.io/metal3-io/ironic:release-30.0",
3131
KeepalivedImage: "quay.io/metal3-io/keepalived:latest",
3232
RamdiskDownloaderImage: "quay.io/metal3-io/ironic-ipa-downloader:latest",
3333
MariaDBImage: "quay.io/metal3-io/mariadb:latest",
@@ -50,7 +50,7 @@ func TestWithIronicOverrides(t *testing.T) {
5050
Expected: VersionInfo{
5151
AgentBranch: "stable/x.y",
5252
// NOTE(dtantsur): this value will change on stable branches
53-
InstalledVersion: metal3api.VersionLatest,
53+
InstalledVersion: metal3api.Version300,
5454
IronicImage: "myorg/ironic:tag",
5555
KeepalivedImage: "myorg/keepalived:tag",
5656
RamdiskDownloaderImage: "myorg/ramdisk-downloader:tag",

test/suite_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -869,10 +869,6 @@ var _ = Describe("Ironic object tests", func() {
869869
testUpgrade("29.0", "30.0", apiVersionIn290, apiVersionIn300, namespace)
870870
})
871871

872-
It("creates Ironic 30.0 and upgrades to latest", Label("v300-to-latest", "upgrade"), func() {
873-
testUpgrade("30.0", "latest", apiVersionIn300, "", namespace)
874-
})
875-
876872
It("refuses to downgrade Ironic with a database", Label("no-db-downgrade", "upgrade"), func() {
877873
helpers.SkipIfCustomImage()
878874

@@ -911,10 +907,6 @@ var _ = Describe("Ironic object tests", func() {
911907
testUpgradeHA("29.0", "30.0", apiVersionIn290, apiVersionIn300, namespace)
912908
})
913909

914-
It("creates Ironic 30.0 with HA and upgrades to latest", Label("ha-v300-to-latest", "ha", "upgrade"), func() {
915-
testUpgradeHA("30.0", "latest", apiVersionIn300, "", namespace)
916-
})
917-
918910
It("creates Ironic with keepalived and DHCP", Label("keepalived-dnsmasq"), func() {
919911
name := types.NamespacedName{
920912
Name: "test-ironic",

0 commit comments

Comments
 (0)