Skip to content

Commit

Permalink
fix(perf) pin openresty version in perf test and install openresty-re…
Browse files Browse the repository at this point in the history
…sty (#7411)
  • Loading branch information
fffonion authored Jun 2, 2021
1 parent 305d839 commit 17bfffe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@ jobs:

- name: Install OpenResty
run: |
openresty_version=$(cat .requirements | grep RESTY_VERSION= | cut -d= -f2)
sudo apt-get -y install --no-install-recommends wget gnupg ca-certificates
wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
echo "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main" | \
sudo tee /etc/apt/sources.list.d/openresty.list
sudo apt-get update
sudo apt install openresty
sudo apt-get install "openresty=${openresty_version}*" "openresty-resty=${openresty_version}*" -y
sudo apt-mark hold openresty
- name: Install Dependencies
run: |
Expand Down

0 comments on commit 17bfffe

Please sign in to comment.