From 1c4b4963ccaf2cb8d7aea04b77d9e64d5cdba2d5 Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Mon, 18 Sep 2023 16:02:09 -0700 Subject: [PATCH] Switch download file action to one that supports setting the target file Signed-off-by: Simeon Widdis --- .github/workflows/integration-tests-workflow.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-tests-workflow.yml b/.github/workflows/integration-tests-workflow.yml index 1e18030ce8..84b29966f6 100644 --- a/.github/workflows/integration-tests-workflow.yml +++ b/.github/workflows/integration-tests-workflow.yml @@ -37,14 +37,16 @@ jobs: java-version: '11' - name: Download observability artifact - uses: peternied/download-file@v2 + uses: suisei-cn/actions-download-file@v1.4.0 with: url: https://aws.oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.opensearch.plugin&a=opensearch-observability&v=${{ env.OPENSEARCH_PLUGIN_VERSION }}-SNAPSHOT&p=zip + target: plugins/observability.zip - name: Download sql artifact - uses: peternied/download-file@v2 + uses: suisei-cn/actions-download-file@v1.4.0 with: url: https://aws.oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.opensearch.plugin&a=opensearch-sql-plugin&v=${{ env.OPENSEARCH_PLUGIN_VERSION }}-SNAPSHOT&p=zip + target: plugins/sql.zip - name: Download OpenSearch uses: peternied/download-file@v2 @@ -59,12 +61,12 @@ jobs: - name: Install observability plugin run: | - /bin/bash -c "yes | ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/bin/opensearch-plugin install file:$(pwd)/redirect\\?r=snapshots\\\&g=org.opensearch.plugin\\\&a=opensearch-observability\\\&v=${{ env.OPENSEARCH_PLUGIN_VERSION }}-SNAPSHOT\\\&p=zip" + /bin/bash -c "yes | ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/bin/opensearch-plugin install file:$(pwd)/plugins/observability.zip" shell: bash - name: Install linux SQL plugin run: | - /bin/bash -c "yes | ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/bin/opensearch-plugin install file:$(pwd)/redirect\\?r=snapshots\\\&g=org.opensearch.plugin\\\&a=opensearch-sql-plugin\\\&v=${{ env.OPENSEARCH_PLUGIN_VERSION }}-SNAPSHOT\\\&p=zip" + /bin/bash -c "yes | ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/bin/opensearch-plugin install file:$(pwd)/plugins/sql.zip" shell: bash - name: Run OpenSearch