Skip to content

Commit beb9295

Browse files
dselvara1GitHub Enterprise
authored andcommitted
Merge pull request #1071 from mq-cloudpak/sdp-base-mq-trigger-v944
SPS changes for base mq trigger
2 parents d9ee8c3 + 52c5cd4 commit beb9295

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

Makefile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,7 @@ downloads/$(MQ_ARCHIVE_DEV):
169169
mkdir -p downloads
170170
ifneq "$(BUILD_RSYNC_SERVER)" "$(EMPTY)"
171171
# Use key which is not stored in the repository to fetch the files from the fileserver
172-
curl --fail --location $(BUILD_RSYNC_ENCRYPTED_KEY_URL) --output ./host.key.gpg
173-
@echo $(BUILD_RSYNC_ENCRYPTION_PASSWORD)|gpg --batch --passphrase-fd 0 ./host.key.gpg
174-
chmod 600 ./host.key
175-
rsync -rv -e "ssh -o BatchMode=yes -q -o StrictHostKeyChecking=no -i ./host.key" --include="*/" --include="*.tar.gz" --exclude="*" $(BUILD_RSYNC_USER)@$(BUILD_RSYNC_SERVER):"$(BUILD_RSYNC_PATH)" downloads/$(MQ_ARCHIVE_DEV)
176-
-@rm host.key.gpg host.key
172+
rsync -rv -e "ssh -o BatchMode=yes -q -o StrictHostKeyChecking=no" --include="*/" --include="*.tar.gz" --exclude="*" $(BUILD_RSYNC_USER)@$(BUILD_RSYNC_SERVER):"$(BUILD_RSYNC_PATH)" downloads/$(MQ_ARCHIVE_DEV)
177173
else
178174
ifneq "$(MQ_ARCHIVE_REPOSITORY_DEV)" "$(EMPTY)"
179175
curl --fail --user $(MQ_ARCHIVE_REPOSITORY_USER):$(MQ_ARCHIVE_REPOSITORY_CREDENTIAL) --request GET "$(MQ_ARCHIVE_REPOSITORY_DEV)" --output downloads/$(MQ_ARCHIVE_DEV)
@@ -187,12 +183,7 @@ downloads/$(MQ_ARCHIVE):
187183
mkdir -p downloads
188184
ifneq "$(BUILD_RSYNC_SERVER)" "$(EMPTY)"
189185
# Use key which is not stored in the repository to fetch the files from the fileserver
190-
-@rm host.key.gpg host.key
191-
curl --fail --location $(BUILD_RSYNC_ENCRYPTED_KEY_URL) --output ./host.key.gpg
192-
@echo $(BUILD_RSYNC_ENCRYPTION_PASSWORD)|gpg --batch --passphrase-fd 0 ./host.key.gpg
193-
chmod 600 ./host.key
194-
rsync -rv -e "ssh -o BatchMode=yes -q -o StrictHostKeyChecking=no -i ./host.key" --include="*/" --include="*.tar.gz" --exclude="*" $(BUILD_RSYNC_USER)@$(BUILD_RSYNC_SERVER):"$(BUILD_RSYNC_PATH)" downloads/$(MQ_ARCHIVE)
195-
-@rm host.key.gpg host.key
186+
rsync -rv -e "ssh -o BatchMode=yes -q -o StrictHostKeyChecking=no" --include="*/" --include="*.tar.gz" --exclude="*" $(BUILD_RSYNC_USER)@$(BUILD_RSYNC_SERVER):"$(BUILD_RSYNC_PATH)" downloads/$(MQ_ARCHIVE)
196187
else
197188
ifneq "$(MQ_ARCHIVE_REPOSITORY)" "$(EMPTY)"
198189
curl --fail --user $(MQ_ARCHIVE_REPOSITORY_USER):$(MQ_ARCHIVE_REPOSITORY_CREDENTIAL) --request GET "$(MQ_ARCHIVE_REPOSITORY)" --output downloads/$(MQ_ARCHIVE)

0 commit comments

Comments
 (0)