Skip to content

Commit 7fbb8ff

Browse files
authored
Merge pull request #464 from david-r-bell/v9.2.3
V9.2.3
2 parents 4580cec + cc956b2 commit 7fbb8ff

File tree

16 files changed

+85
-119
lines changed

16 files changed

+85
-119
lines changed

.travis.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ services:
2525

2626
env:
2727
global:
28-
- MAIN_BRANCH=v9.2.2
28+
- MAIN_BRANCH=v9.2.3
2929
- MQ_LTS_VERSION=9.2.0.1
3030
- TAGCACHE_FILE=tagcache
3131
- RELEASE=r1
@@ -40,50 +40,50 @@ go_import_path: "github.com/ibm-messaging/mq-container"
4040
jobs:
4141
include:
4242
- stage: basic-build
43-
if: branch != v9.2.2 AND tag IS blank
43+
if: branch != v9.2.3 AND tag IS blank
4444
name: "Basic AMD64 build"
4545
os: linux
4646
env:
47-
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_922_ARCHIVE_REPOSITORY_DEV_AMD64
47+
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_923_ARCHIVE_REPOSITORY_DEV_AMD64
4848
script: bash -e travis-build-scripts/run.sh
4949

5050
# CD Build
5151

5252
- stage: global-tag
53-
if: branch = v9.2.2 AND type != pull_request OR tag =~ ^release-candidate*
53+
if: branch = v9.2.3 AND type != pull_request OR tag =~ ^release-candidate*
5454
name: "Generate Global Tag"
5555
os: linux
5656
script: bash -e travis-build-scripts/global-tag.sh
5757
- stage: build
58-
if: branch = v9.2.2 OR tag =~ ^release-candidate*
58+
if: branch = v9.2.3 OR tag =~ ^release-candidate*
5959
name: "Multi-Arch AMD64 build"
6060
os: linux
6161
env:
6262
- BUILD_ALL=true
63-
- MQ_ARCHIVE_REPOSITORY=$MQ_922_ARCHIVE_REPOSITORY_AMD64
64-
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_922_ARCHIVE_REPOSITORY_DEV_AMD64
63+
- MQ_ARCHIVE_REPOSITORY=$MQ_923_ARCHIVE_REPOSITORY_AMD64
64+
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_923_ARCHIVE_REPOSITORY_DEV_AMD64
6565
script: bash -e travis-build-scripts/run.sh
66-
# - if: branch = v9.2.2 OR tag =~ ^release-candidate*
66+
# - if: branch = v9.2.3 OR tag =~ ^release-candidate*
6767
# name: "Multi-Arch PPC64LE build"
6868
# os: linux-ppc64le
6969
# env:
7070
# - BUILD_ALL=true
7171
# - TEST_OPTS_DOCKER="-run TestGoldenPathWithMetrics"
72-
# # - MQ_ARCHIVE_REPOSITORY=$MQ_922_ARCHIVE_REPOSITORY_PPC64LE
73-
# - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_922_ARCHIVE_REPOSITORY_DEV_PPC64LE
72+
# # - MQ_ARCHIVE_REPOSITORY=$MQ_923_ARCHIVE_REPOSITORY_PPC64LE
73+
# - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_923_ARCHIVE_REPOSITORY_DEV_PPC64LE
7474
# script: bash -e travis-build-scripts/run.sh
7575
- stage: build
76-
if: branch = v9.2.2 OR tag =~ ^release-candidate*
76+
if: branch = v9.2.3 OR tag =~ ^release-candidate*
7777
name: "Multi-Arch S390X build"
7878
os: linux-s390
7979
env:
8080
- BUILD_ALL=true
8181
- TEST_OPTS_DOCKER="-run TestGoldenPathWithMetrics"
82-
- MQ_ARCHIVE_REPOSITORY=$MQ_922_ARCHIVE_REPOSITORY_S390X
83-
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_922_ARCHIVE_REPOSITORY_DEV_S390X
82+
- MQ_ARCHIVE_REPOSITORY=$MQ_923_ARCHIVE_REPOSITORY_S390X
83+
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_923_ARCHIVE_REPOSITORY_DEV_S390X
8484
script: bash -e travis-build-scripts/run.sh
8585
- stage: push-manifest
86-
if: branch = v9.2.2 AND type != pull_request OR tag =~ ^release-candidate*
86+
if: branch = v9.2.3 AND type != pull_request OR tag =~ ^release-candidate*
8787
name: "Push Manifest-list to registry"
8888
env:
8989
- PUSH_MANIFEST_ONLY=true
@@ -92,7 +92,7 @@ jobs:
9292
# LTS Build
9393

9494
- stage: global-tag
95-
if: branch = v9.2.2 AND type != pull_request OR tag =~ ^release-candidate*
95+
if: branch = v9.2.3 AND type != pull_request OR tag =~ ^release-candidate*
9696
name: "Generate Global Tag"
9797
os: linux
9898
env:
@@ -102,7 +102,7 @@ jobs:
102102
- RELEASE=$RELEASE_LTS
103103
script: bash -e travis-build-scripts/global-tag.sh
104104
- stage: build
105-
if: branch = v9.2.2 OR tag =~ ^release-candidate*
105+
if: branch = v9.2.3 OR tag =~ ^release-candidate*
106106
name: "Multi-Arch AMD64 build"
107107
os: linux
108108
env:
@@ -113,7 +113,7 @@ jobs:
113113
- RELEASE=$RELEASE_LTS
114114
script: bash -e travis-build-scripts/run.sh
115115
- stage: build
116-
if: branch = v9.2.2 OR tag =~ ^release-candidate*
116+
if: branch = v9.2.3 OR tag =~ ^release-candidate*
117117
name: "Multi-Arch S390X build"
118118
os: linux-s390
119119
env:
@@ -125,7 +125,7 @@ jobs:
125125
- RELEASE=$RELEASE_LTS
126126
script: bash -e travis-build-scripts/run.sh
127127
- stage: push-manifest
128-
if: branch = v9.2.2 AND type != pull_request OR tag =~ ^release-candidate*
128+
if: branch = v9.2.3 AND type != pull_request OR tag =~ ^release-candidate*
129129
name: "Push Manifest-list to registry"
130130
env:
131131
- LTS=true

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change log
22

3+
## 9.2.3.0 (2021-07-22)
4+
5+
* Updated to MQ version 9.2.3.0
6+
37
## 9.2.2.0 (2021-03-26)
48

59
* Updated to MQ version 9.2.2.0

Dockerfile-server

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
# limitations under the License.
1414

1515
ARG BASE_IMAGE=registry.redhat.io/ubi8/ubi-minimal
16-
ARG BASE_TAG=8.3-291
17-
ARG GO_WORKDIR=/go/src/github.com/ibm-messaging/mq-container
18-
ARG MQ_URL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/9.2.2.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz"
16+
ARG BASE_TAG=8.4-205
17+
ARG GO_WORKDIR=/opt/app-root/src/go/src/github.com/ibm-messaging/mq-container
18+
ARG MQ_URL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/9.2.3.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz"
1919
###############################################################################
2020
# Build stage to build Go code
2121
###############################################################################
22-
FROM docker.io/golang:1.14.15 as builder
22+
FROM registry.redhat.io/ubi8/go-toolset:1.15.13-4 as builder
2323
# The URL to download the MQ installer from in tar.gz format
2424
# This assumes an archive containing the MQ Non-Install packages
2525
ARG MQ_URL

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ test-advancedserver: test/docker/vendor
258258
cd test/docker && TEST_IMAGE=$(MQ_IMAGE_ADVANCEDSERVER):$(MQ_TAG) EXPECTED_LICENSE=Production go test -parallel $(NUM_CPU) -timeout $(TEST_TIMEOUT_DOCKER) $(TEST_OPTS_DOCKER)
259259

260260
.PHONY: build-devjmstest
261-
build-devjmstest:
261+
build-devjmstest: registry-login
262262
$(info $(SPACER)$(shell printf $(TITLE)"Build JMS tests for developer config"$(END)))
263263
cd test/messaging && docker build --tag $(DEV_JMS_IMAGE) .
264264

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ For issues relating specifically to the container image or Helm chart, please us
4444
The Dockerfiles and associated code and scripts are licensed under the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
4545
Licenses for the products installed within the images are as follows:
4646

47-
- [IBM MQ Advanced for Developers](http://www14.software.ibm.com/cgi-bin/weblap/lap.pl?la_formnum=Z125-3301-14&li_formnum=L-APIG-BMKG5H) (International License Agreement for Non-Warranted Programs). This license may be viewed from an image using the `LICENSE=view` environment variable as described above or by following the link above.
48-
- [IBM MQ Advanced](http://www14.software.ibm.com/cgi-bin/weblap/lap.pl?la_formnum=Z125-3301-14&li_formnum=L-APIG-BVJJB3) (International Program License Agreement). This license may be viewed from an image using the `LICENSE=view` environment variable as described above or by following the link above.
47+
- [IBM MQ Advanced for Developers](http://www14.software.ibm.com/cgi-bin/weblap/lap.pl?la_formnum=Z125-3301-14&li_formnum=L-APIG-BYHCL7) (International License Agreement for Non-Warranted Programs). This license may be viewed from an image using the `LICENSE=view` environment variable as described above or by following the link above.
48+
- [IBM MQ Advanced](http://www14.software.ibm.com/cgi-bin/weblap/lap.pl?la_formnum=Z125-3301-14&li_formnum=L-APIG-BZDDDY) (International Program License Agreement). This license may be viewed from an image using the `LICENSE=view` environment variable as described above or by following the link above.
4949

5050
Note: The IBM MQ Advanced for Developers license does not permit further distribution and the terms restrict usage to a developer machine.
5151

cmd/chkmqstarted/main.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,6 @@ func queueManagerStarted() (bool, error) {
4343
if !strings.Contains(string(out), "(RUNNING)") && !strings.Contains(string(out), "(RUNNING AS STANDBY)") && !strings.Contains(string(out), "(STARTING)") && !strings.Contains(string(out), "(REPLICA)") {
4444
return false, nil
4545
}
46-
if os.Getenv("MQ_NATIVE_HA") == "true" {
47-
// Specify the queue manager name, just in case someone's created a second queue manager
48-
// #nosec G204
49-
cmd = exec.Command("dspmq", "-n", "-o", "nativeha", "-m", name)
50-
// Run the command and wait for completion
51-
out, err = cmd.CombinedOutput()
52-
if err != nil {
53-
fmt.Println(err)
54-
return false, err
55-
}
56-
if !strings.Contains(string(out), "INSYNC(YES)") {
57-
return false, nil
58-
}
59-
}
6046
return true, nil
6147
}
6248

config.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
###########################################################################################################################################################
22

33
# MQ_VERSION is the fully qualified MQ version number to build
4-
MQ_VERSION ?= 9.2.2.0
4+
MQ_VERSION ?= 9.2.3.0
55

66
###########################################################################################################################################################

docs/building.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ From MQ 9.2.X, the MQ container adds support for MQ Long Term Support (LTS) **pr
2020
This procedure works for building the MQ Continuous Delivery release, on `amd64`, `ppc64le` and `s390x` architectures.
2121

2222
1. Create a `downloads` directory in the root of this repository
23-
2. Download MQ from [IBM Passport Advantage](https://www.ibm.com/software/passportadvantage/) or [IBM Fix Central](https://www.ibm.com/support/fixcentral), and place the downloaded file (for example, `IBM_MQ_9.2.2_LINUX_X86-64_NOINST.tar.gz`) in the `downloads` directory
23+
2. Download MQ from [IBM Passport Advantage](https://www.ibm.com/software/passportadvantage/) or [IBM Fix Central](https://www.ibm.com/support/fixcentral), and place the downloaded file (for example, `IBM_MQ_9.2.3_LINUX_X86-64_NOINST.tar.gz`) in the `downloads` directory
2424
3. Login to the Red Hat Registry: `docker login registry.redhat.io` using your Customer Portal credentials.
2525
4. Run `make build-advancedserver`
2626

docs/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ docker run \
1616
--env LICENSE=accept \
1717
--env MQ_QMGR_NAME=QM1 \
1818
--detach \
19-
ibm-mqadvanced-server:9.2.2.0-amd64
19+
ibm-mqadvanced-server:9.2.3.0-amd64
2020
```

docs/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ make advancedserver
2525
You can specify the image to use directly by using the `MQ_IMAGE_ADVANCEDSERVER` or `MQ_IMAGE_DEVSERVER` variables, for example:
2626

2727
```
28-
MQ_IMAGE_ADVANCEDSERVER=ibm-mqadvanced-server:9.2.2.0-amd64 make test-advancedserver
28+
MQ_IMAGE_ADVANCEDSERVER=ibm-mqadvanced-server:9.2.3.0-amd64 make test-advancedserver
2929
```
3030

3131
You can pass parameters to `go test` with an environment variable. For example, to run the "TestGoldenPath" test, run the following command:

0 commit comments

Comments
 (0)