Skip to content

Commit

Permalink
Use common etcd action instead of local (#2196)
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvar-antonsson authored Mar 15, 2024
1 parent 9143edf commit 01e0d20
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 53 deletions.
34 changes: 0 additions & 34 deletions .github/actions/setup-etcd/action.yml

This file was deleted.

16 changes: 6 additions & 10 deletions .github/workflows/backend-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,10 @@ jobs:
curl -L https://tarantool.io/pre-release/2/installer.sh | bash
sudo apt-get -y install tarantool
# Setup etcd
- name: Install etcd
uses: ./.github/actions/setup-etcd
if: runner.os == 'Linux'
- name: Set up etcd
uses: tarantool/actions/setup-etcd@master
with:
etcd-version: '${{ matrix.etcd }}'
version: '${{ matrix.etcd }}'
install-prefix: etcd-${{ matrix.etcd }}

- run: echo "ETCD_PATH=etcd-${{ matrix.etcd }}/etcd" >> $GITHUB_ENV
Expand Down Expand Up @@ -214,12 +212,10 @@ jobs:
echo "${SDK_PATH}" >> ${GITHUB_PATH}
echo "TARANTOOL_SDK_PATH=${SDK_PATH}" >> ${GITHUB_ENV}
# Setup etcd
- name: Install etcd
uses: ./.github/actions/setup-etcd
if: runner.os == 'Linux'
- name: Set up etcd
uses: tarantool/actions/setup-etcd@master
with:
etcd-version: '${{ matrix.etcd }}'
version: '${{ matrix.etcd }}'
install-prefix: etcd-${{ matrix.etcd }}

- run: echo "ETCD_PATH=etcd-${{ matrix.etcd }}/etcd" >> $GITHUB_ENV
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ jobs:
tarantool-version: '${{ matrix.tarantool }}'
nightly-build: true

# Setup etcd
- name: Install etcd
uses: ./.github/actions/setup-etcd
if: runner.os == 'Linux'
- name: Set up etcd
uses: tarantool/actions/setup-etcd@master
with:
etcd-version: v2.3.8
version: v2.3.8
install-prefix: etcd-v2.3.8

# Setup luatest
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/reusable-backend-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ jobs:
# dependencies are already there.
run: sudo dpkg -i tarantool*.deb

# Setup etcd
- name: 'Install etcd'
uses: ./.github/actions/setup-etcd
- name: Set up etcd
uses: tarantool/actions/setup-etcd@master
with:
etcd-version: v2.3.8
version: v2.3.8
install-prefix: etcd-v2.3.8

# Setup luatest
Expand Down

0 comments on commit 01e0d20

Please sign in to comment.