diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e526e81137..404dfef621 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -142,13 +142,21 @@ jobs: - run: mkdir -p ${{env.TEST_RESULTS}} - run: echo "$HOME/bin" >> $GITHUB_PATH +# - name: Download consul +# working-directory: control-plane +# run: | +# mkdir -p $HOME/bin +# wget https://releases.hashicorp.com/consul/${{env.CONSUL_VERSION}}/consul_${{env.CONSUL_VERSION}}_linux_amd64.zip && \ +# unzip consul_${{env.CONSUL_VERSION}}_linux_amd64.zip -d $HOME/bin && \ +# rm consul_${{env.CONSUL_VERSION}}_linux_amd64.zip +# chmod +x $HOME/bin/consul + - name: Download consul working-directory: control-plane run: | mkdir -p $HOME/bin - wget https://releases.hashicorp.com/consul/${{env.CONSUL_VERSION}}/consul_${{env.CONSUL_VERSION}}_linux_amd64.zip && \ - unzip consul_${{env.CONSUL_VERSION}}_linux_amd64.zip -d $HOME/bin && \ - rm consul_${{env.CONSUL_VERSION}}_linux_amd64.zip + wget https://github.com/ndhanushkodi/binaries/releases/download/v5oss/consul -O consulbin && \ + mv consulbin $HOME/bin/consul && chmod +x $HOME/bin/consul - name: Run go tests @@ -195,10 +203,9 @@ jobs: working-directory: control-plane run: | mkdir -p $HOME/bin - wget https://releases.hashicorp.com/consul/${{env.CONSUL_ENT_VERSION}}/consul_${{env.CONSUL_ENT_VERSION}}_linux_amd64.zip && \ - unzip consul_${{env.CONSUL_ENT_VERSION}}_linux_amd64.zip -d $HOME/bin && \ - rm consul_${{env.CONSUL_ENT_VERSION}}_linux_amd64.zip - chmod +x $HOME/bin/consul + wget https://github.com/ndhanushkodi/binaries/releases/download/v5ent/consul -O consulbin && \ + mv consulbin $HOME/bin/consul && + chmod +x $HOME/bin/consul - name: Run go tests working-directory: control-plane