Skip to content

Commit d7c7b52

Browse files
authored
Merge pull request #485 from mirskifa/v9.2.4
V9.2.4
2 parents 7fbb8ff + 60ad8f0 commit d7c7b52

18 files changed

+109
-85
lines changed

.travis.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ sudo: required
1818
language: go
1919

2020
go:
21-
- "1.13.15"
21+
- "1.16.7"
2222

2323
services:
2424
- docker
2525

2626
env:
2727
global:
28-
- MAIN_BRANCH=v9.2.3
29-
- MQ_LTS_VERSION=9.2.0.1
28+
- MAIN_BRANCH=v9.2.4
29+
- MQ_LTS_VERSION=9.2.0.2
3030
- TAGCACHE_FILE=tagcache
3131
- RELEASE=r1
32-
- RELEASE_LTS=r1
32+
- RELEASE_LTS=r2
3333

3434
go_import_path: "github.com/ibm-messaging/mq-container"
3535

@@ -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.3 AND tag IS blank
43+
if: branch != v9.2.4 AND tag IS blank
4444
name: "Basic AMD64 build"
4545
os: linux
4646
env:
47-
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_923_ARCHIVE_REPOSITORY_DEV_AMD64
47+
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_924_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.3 AND type != pull_request OR tag =~ ^release-candidate*
53+
if: branch = v9.2.4 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.3 OR tag =~ ^release-candidate*
58+
if: branch = v9.2.4 OR tag =~ ^release-candidate*
5959
name: "Multi-Arch AMD64 build"
6060
os: linux
6161
env:
6262
- BUILD_ALL=true
63-
- MQ_ARCHIVE_REPOSITORY=$MQ_923_ARCHIVE_REPOSITORY_AMD64
64-
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_923_ARCHIVE_REPOSITORY_DEV_AMD64
63+
- MQ_ARCHIVE_REPOSITORY=$MQ_924_ARCHIVE_REPOSITORY_AMD64
64+
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_924_ARCHIVE_REPOSITORY_DEV_AMD64
6565
script: bash -e travis-build-scripts/run.sh
66-
# - if: branch = v9.2.3 OR tag =~ ^release-candidate*
66+
# - if: branch = v9.2.4 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_923_ARCHIVE_REPOSITORY_PPC64LE
73-
# - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_923_ARCHIVE_REPOSITORY_DEV_PPC64LE
72+
# # - MQ_ARCHIVE_REPOSITORY=$MQ_924_ARCHIVE_REPOSITORY_PPC64LE
73+
# - MQ_ARCHIVE_REPOSITORY_DEV=$MQ_924_ARCHIVE_REPOSITORY_DEV_PPC64LE
7474
# script: bash -e travis-build-scripts/run.sh
7575
- stage: build
76-
if: branch = v9.2.3 OR tag =~ ^release-candidate*
76+
if: branch = v9.2.4 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_923_ARCHIVE_REPOSITORY_S390X
83-
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_923_ARCHIVE_REPOSITORY_DEV_S390X
82+
- MQ_ARCHIVE_REPOSITORY=$MQ_924_ARCHIVE_REPOSITORY_S390X
83+
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_924_ARCHIVE_REPOSITORY_DEV_S390X
8484
script: bash -e travis-build-scripts/run.sh
8585
- stage: push-manifest
86-
if: branch = v9.2.3 AND type != pull_request OR tag =~ ^release-candidate*
86+
if: branch = v9.2.4 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.3 AND type != pull_request OR tag =~ ^release-candidate*
95+
if: branch = v9.2.4 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.3 OR tag =~ ^release-candidate*
105+
if: branch = v9.2.4 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.3 OR tag =~ ^release-candidate*
116+
if: branch = v9.2.4 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.3 AND type != pull_request OR tag =~ ^release-candidate*
128+
if: branch = v9.2.4 AND type != pull_request OR tag =~ ^release-candidate*
129129
name: "Push Manifest-list to registry"
130130
env:
131131
- LTS=true

.whitesource

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"settingsInheritedFrom": "whitesource-config/whitesource-config@master",
3+
"scanSettings": {
4+
"baseBranches": ["private-master", "v9.2.0.x-eus"]
5+
}
6+
}

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.4.0 (2021-09-06)
4+
5+
* Updated to MQ version 9.2.4.0
6+
37
## 9.2.3.0 (2021-07-22)
48

59
* Updated to MQ version 9.2.3.0

Dockerfile-server

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

1515
ARG BASE_IMAGE=registry.redhat.io/ubi8/ubi-minimal
16-
ARG BASE_TAG=8.4-205
16+
ARG BASE_TAG=8.5-204
17+
ARG BUILDER_IMAGE=registry.redhat.io/ubi8/go-toolset
18+
ARG BUILDER_TAG=1.16.7-5
1719
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"
20+
ARG MQ_URL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/9.2.4.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz"
1921
###############################################################################
2022
# Build stage to build Go code
2123
###############################################################################
22-
FROM registry.redhat.io/ubi8/go-toolset:1.15.13-4 as builder
24+
FROM $BUILDER_IMAGE:$BUILDER_TAG as builder
2325
# The URL to download the MQ installer from in tar.gz format
2426
# This assumes an archive containing the MQ Non-Install packages
2527
ARG MQ_URL
@@ -35,6 +37,7 @@ RUN mkdir /opt/mqm \
3537
&& INSTALL_SDK=1 install-mq.sh \
3638
&& chown -R 1001:root /opt/mqm/*
3739
WORKDIR $GO_WORKDIR/
40+
COPY go.mod go.sum ./
3841
COPY cmd/ ./cmd
3942
COPY internal/ ./internal
4043
COPY pkg/ ./pkg

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# IBM MQ container
22

3+
34
[![Build Status](https://travis-ci.org/ibm-messaging/mq-container.svg?branch=master)](https://travis-ci.org/ibm-messaging/mq-container)
45

56
**Note**: The `master` branch may be in an *unstable or even broken state* during development.

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.3.0
4+
MQ_VERSION ?= 9.2.4.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.3_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.4_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.3.0-amd64
19+
ibm-mqadvanced-server:9.2.4.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.3.0-amd64 make test-advancedserver
28+
MQ_IMAGE_ADVANCEDSERVER=ibm-mqadvanced-server:9.2.4.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:

install-build-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ set -ex
2222
sudo curl -Lo /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.5.1/dep-linux-$ARCH
2323
sudo chmod +x /usr/local/bin/dep
2424

25-
go get -u golang.org/x/lint/golint
25+
go install golang.org/x/lint/golint@latest
2626
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $GOPATH/bin 2.0.0 || echo "Gosec not installed. Platform may not be supported."

0 commit comments

Comments
 (0)