Skip to content

Commit

Permalink
add consul binaries to use before next consul release
Browse files Browse the repository at this point in the history
  • Loading branch information
ndhanushkodi committed Aug 1, 2022
1 parent d02d4ff commit c1dcf43
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c1dcf43

Please sign in to comment.