Sn0rt opened a new pull request, #10603: URL: https://github.com/apache/apisix/pull/10603
### Description <!-- Please include a summary of the change and which issue is fixed. --> <!-- Please also include relevant motivation and context. --> apisix-docker need this file for CI https://github.com/Sn0rt/apisix-docker/actions/runs/7110733198/job/19357652025?pr=1 ```shell #25 22.55 + export 'PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/openresty/luajit/bin:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin' #25 22.55 + export 'CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse' #25 22.55 + export 'RUSTFLAGS=-C target-feature=-crt-static' #25 22.55 + luarocks install https://github.com/apache/apisix/raw/master/rockspec/apisix-master-0.rockspec '--tree=/usr/local/apisix/deps' 'PCRE_DIR=/usr/local/openresty/pcre' #25 22.84 #25 22.84 Error: Error fetching file: Failed downloading https://github.com/apache/apisix/raw/master/rockspec/apisix-master-0.rockspec - failed downloading https://github.com/apache/apisix/raw/master/rockspec/apisix-master-0.rockspec #25 ERROR: process "/bin/sh -c set -x && (test \"${ENABLE_PROXY}\" != \"true\" || /bin/sed -i 's,[http://dl-cdn.alpinelinux.org,https://mirrors.aliyun.com,g](http://dl-cdn.alpinelinux.org,https//mirrors.aliyun.com,g)' /etc/apk/repositories) && apk add --no-cache --virtual .builddeps automake autoconf libtool pkgconfig cmake git openldap-dev sudo && mkdir ~/.luarocks && luarocks config variables.OPENSSL_LIBDIR /usr/local/openresty/openssl/lib && luarocks config variables.OPENSSL_INCDIR /usr/local/openresty/openssl/include && git config --global url.https://github.com/.insteadOf git://github.com/ && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sudo sh -s -- -y && source \"$HOME/.cargo/env\" && export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse && export RUSTFLAGS=\"-C target-feature=-crt-static\" && luarocks install [https://github.com/apache/apisix/raw/master/rockspec/apisix-${APISIX_VERSION }-0.rockspec](https://github.com/apache/apisix/raw/master/rockspec/apisix-$%7BAPISIX_VERSION%7D-0.rockspec) --tree=/usr/local/apisix/deps PCRE_DIR=/usr/local/openresty/pcre && cp -v /usr/local/apisix/deps/lib/luarocks/rocks-5.1/apisix/${APISIX_VERSION}-0/bin/apisix /usr/bin/ && (if [ \"$APISIX_VERSION\" = \"master\" ] || [ \"$APISIX_VERSION\" \\> \"2.2\" ]; then echo 'use shell ';else bin='#! /usr/local/openresty/luajit/bin/luajit\\npackage.path = \"/usr/local/apisix/?.lua;\" .. package.path'; sed -i \"1s@.*@$bin@\" /usr/bin/apisix ; fi;) && mv /usr/local/apisix/deps/share/lua/5.1/apisix /usr/local/apisix && apk del .builddeps build-base make unzip" did not complete successfully: exit code: 1 ``` I create sym link apisix-master-0.rockspec to apisix-3.7.0-0.rockspec ```shell ~/w/a/rockspec guohao/roll-back-delete-master-rockspec> ll total 4.0K -rw-r--r-- 1 guohao 3.3K Dec 4 17:16 apisix-3.7.0-0.rockspec lrwxr-xr-x 1 guohao 23 Dec 6 13:57 apisix-master-0.rockspec -> apisix-3.7.0-0.rockspec ``` ### Checklist - [ ] I have explained the need for this PR and the problem it solves - [ ] I have explained the changes or the new features added to this PR - [ ] I have added tests corresponding to this change - [ ] I have updated the documentation to reflect this change - [ ] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first) <!-- Note 1. Mark the PR as draft until it's ready to be reviewed. 2. Always add/update tests for any changes unless you have a good reason. 3. Always update the documentation to reflect the changes made in the PR. 4. Make a new commit to resolve conversations instead of `push -f`. 5. To resolve merge conflicts, merge master instead of rebasing. 6. Use "request review" to notify the reviewer after making changes. 7. Only a reviewer can mark a conversation as resolved. --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
