mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2026-03-12 00:35:56 +00:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 86dfeec2ca | |||
| ca3942c86b | |||
| 6370be31a4 | |||
| bc25e56ef2 | |||
| f55c587fe7 | |||
| bf9a02f4e4 | |||
| e6606b78d0 | |||
| b13b59c326 | |||
| c8c38bb28f | |||
| 5763938ba0 | |||
| 488cf5fed2 | |||
| e710a8facb | |||
| c352c1447c | |||
| 6639e59190 | |||
| 6c3e8af17f | |||
| 14214785d7 |
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
review_app:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cloning repo
|
||||
|
||||
3
.github/workflows/review-app-cleanup.yml
vendored
3
.github/workflows/review-app-cleanup.yml
vendored
@ -12,6 +12,9 @@ jobs:
|
||||
destroy_review_app:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cloning repo
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Destroy the review app
|
||||
uses: dokku/github-action@master
|
||||
with:
|
||||
|
||||
3
bin/ci-post-review-app-destroy
Executable file
3
bin/ci-post-review-app-destroy
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh -l
|
||||
|
||||
echo "Running ci-post-review-app-destroy"
|
||||
19
bin/compile
19
bin/compile
@ -4,16 +4,15 @@ set -eo pipefail
|
||||
[[ $TRACE ]] && set -x
|
||||
|
||||
# https://nginx.org/en/download.html
|
||||
NGINX_VERSION="1.29.3"
|
||||
NGINX_VERSION="1.29.5"
|
||||
NGINX_TARBALL="nginx-${NGINX_VERSION}.tar.gz"
|
||||
# https://github.com/PCRE2Project/pcre2/releases
|
||||
PCRE_VERSION="10.47"
|
||||
PCRE_TARBALL="pcre2-${PCRE_VERSION}.tar.gz"
|
||||
# https://github.com/gliderlabs/sigil/releases
|
||||
SIGIL_VERSION="0.11.5"
|
||||
SIGIL_TARBALL="gliderlabs-sigil_${SIGIL_VERSION}_linux_amd64.tgz"
|
||||
# https://github.com/madler/zlib/releases
|
||||
ZLIB_VERSION="1.3.1"
|
||||
ZLIB_VERSION="1.3.2"
|
||||
ZLIB_TARBALL="zlib-${ZLIB_VERSION}.tar.gz"
|
||||
|
||||
suppress() {
|
||||
@ -71,18 +70,18 @@ if [[ ! -d "${ZLIB_TARBALL%.tar.gz}" ]]; then
|
||||
tar xzf "${ZLIB_TARBALL}" && rm -rf "${ZLIB_TARBALL}"
|
||||
fi
|
||||
|
||||
if [[ ! -f "gliderlabs-sigil-amd64" ]]; then
|
||||
mkdir -p "$BUILD_DIR/sigil"
|
||||
if [[ ! -f "$BUILD_DIR/sigil/sigil-${SIGIL_VERSION}" ]]; then
|
||||
echo "-----> Download and unzip sigil ${SIGIL_VERSION} via http"
|
||||
curl -sSL "https://github.com/gliderlabs/sigil/releases/download/v${SIGIL_VERSION}/gliderlabs-sigil_${SIGIL_VERSION}_linux_amd64.tgz" -o "${SIGIL_TARBALL}"
|
||||
tar xzf "${SIGIL_TARBALL}" && rm -rf "${SIGIL_TARBALL}"
|
||||
curl -fsSL "https://github.com/gliderlabs/sigil/releases/download/v${SIGIL_VERSION}/sigil-linux-amd64" -o "$BUILD_DIR/sigil/sigil-${SIGIL_VERSION}"
|
||||
cp "$BUILD_DIR/sigil/sigil-${SIGIL_VERSION}" "$BUILD_DIR/sigil/sigil"
|
||||
chmod +x "$BUILD_DIR/sigil/sigil"
|
||||
fi
|
||||
|
||||
mkdir -p "$BUILD_DIR/sigil"
|
||||
if [[ ! -f "gliderlabs-sigil-amd64" ]]; then
|
||||
echo " ! Missing gliderlabs-sigil-amd64 binary"
|
||||
if [[ ! -f "$BUILD_DIR/sigil/sigil" ]]; then
|
||||
echo " ! Missing sigil binary"
|
||||
exit 1
|
||||
fi
|
||||
cp -r gliderlabs-sigil-amd64 "$BUILD_DIR/sigil/sigil"
|
||||
|
||||
cd "nginx-${NGINX_VERSION}"
|
||||
if [[ ! -f "${CACHE_DIR}/bin/nginx" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user