Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using LTS means the filename in MQ_ARCHIVE variable gets overwritten #482

Open
bhasterix opened this issue Dec 1, 2021 · 0 comments
Open

Comments

@bhasterix
Copy link

The MQ_ARCHIVE variable gets overwritten with some constructed value if LTS is true as I run make-build-advancedserver.

At this point: https://github.com/ibm-messaging/mq-container/blob/master/Makefile#L34
my variable is set correctly as what I pass in ("IBM_MQ_9.2.0.4_LIN_X86-64_NOINST.tar.gz") as downloaded from Extreme Leverage.
Within this block, and on this line: https://github.com/ibm-messaging/mq-container/blob/master/Makefile#L124, the variable is overwritten and calculated as "9.2.0.4-IBM-MQ-Advanced-Non-Install-LinuxX86-64.tar.gz". The build then subsequently fails as it can't download that file in the install-mq.sh (https://github.com/ibm-messaging/mq-container/blob/master/install-mq.sh#L31).

I've had to manually rename the file to suit the script, this should be documented or fixed so that it respects the filename passed as an environment variable.

Steps to reproduce:
update config.env
REGISTRY_USER=
REGISTRY_PASS=<REGISTRY_PASS>
MQ_ARCHIVE=IBM_MQ_9.2.0.4_LIN_X86-64_NOINST.tar.gz
MQ_VERSION=9.2.0.4
LTS=true

Then execute in the workspace:
make build-advancedserver

(I've confirmed the config will override any environment variables passed on the "make..." line.)

JEFFLUFC pushed a commit that referenced this issue Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant