Commit Graph
100 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez 9c8f348d58 Merge pull request #102 from dokku/fix-missing-logs-dir
fix: create nginx logs directory for precompiled binary builds
2026-04-23 04:27:23 -04:00
Jose Diaz-Gonzalez 5b53da2756 fix: create nginx logs directory for precompiled binary builds
The precompiled binary and cache code paths only copy the nginx binary
without creating the logs/ directory that make install normally creates.
This causes nginx to fail at startup with a fatal error when trying to
open compiled-in default log paths at /app/nginx/logs/.
2026-04-23 04:17:18 -04:00
Jose Diaz-Gonzalez 8d1b1afa9f Merge pull request #101 from dokku/versioned-build
fix: version-aware nginx binary caching and prebuilt downloads
2026-04-23 03:39:51 -04:00
Jose Diaz-Gonzalez 93f1162632 fix: version-aware nginx binary caching and prebuilt downloads
Cached nginx binaries were reused regardless of NGINX_VERSION changes,
and prebuilt releases always fetched the latest asset regardless of the
configured version. Add a .nginx-version marker file to the cache and
version the release asset filename so mismatched versions trigger a
rebuild.
2026-04-23 03:36:20 -04:00
Jose Diaz-Gonzalez 73e762c693 Merge pull request #100 from dokku/deploy-head
feat: set buildpack ref on main branch deploys
2026-04-23 03:16:46 -04:00
Jose Diaz-Gonzalez e5f2625df2 feat: set buildpack ref on main branch deploys
The ci-pre-deploy script already sets the buildpack ref for review
apps via a .buildpacks file. For main/master branch deploys, use
dokku buildpacks:set to pin the buildpack to the current branch ref.
2026-04-23 03:16:18 -04:00
Jose Diaz-Gonzalez 0fcbc35eed Merge pull request #99 from dokku/add-ci-workflow
feat: add CI workflow to lint and compile nginx on PRs
2026-04-23 01:45:30 -04:00
Jose Diaz-Gonzalez cad1e54b14 refactor: merge release workflow into ci workflow
The build job now handles both CI verification and release asset uploads,
eliminating duplicated compilation logic between the two workflows.
2026-04-23 01:37:40 -04:00
Jose Diaz-Gonzalez df8cba3582 fix: use correct path for nginx binary in CI verify step 2026-04-23 01:33:27 -04:00
Jose Diaz-Gonzalez aaf995fd4e feat: add CI workflow to lint and compile nginx on PRs 2026-04-23 01:22:23 -04:00
Jose Diaz-Gonzalez ec95819e3d Merge pull request #98 from dokku/precompile-release-assets
feat: precompile nginx binary on release and download during builds
2026-04-23 01:18:54 -04:00
Jose Diaz-Gonzalez 11755954fe chore: run shfmt 2026-04-23 01:10:31 -04:00
Jose Diaz-Gonzalez d72ac92402 refactor: extract shared nginx build config to conf/nginx-configure-flags
Moves version variables and configure flags to a single sourced file,
eliminating duplication between bin/compile and the release workflow.
2026-04-23 01:08:52 -04:00
Jose Diaz-Gonzalez 27155d8eaf feat: precompile nginx binary on release and download during builds
On release creation, a GitHub Actions workflow compiles a statically-linked
nginx binary and uploads it as a release asset. During builds, the compile
script now attempts to download the precompiled binary before falling back
to source compilation, significantly speeding up cold-cache deploys.
2026-04-19 19:16:11 -04:00
Jose Diaz-Gonzalez d157f257ce Merge pull request #97 from dokku/josegonzalez-patch-1
chore: upgrade to nginx 1.29.8
2026-04-19 18:47:12 -04:00
Jose Diaz-Gonzalez a0f7d9e34f chore: upgrade to nginx 1.29.8 2026-04-19 18:44:00 -04:00
Jose Diaz-Gonzalez 86dfeec2ca Merge pull request #95 from dokku/josegonzalez-patch-1
chore: rename job to deploy
2026-03-07 11:11:39 -05:00
Jose Diaz-Gonzalez ca3942c86b Merge pull request #96 from dokku/josegonzalez-patch-2
chore: upgrade zlib from 1.3.1 to 1.3.2
2026-03-07 11:10:18 -05:00
Jose Diaz-Gonzalez 6370be31a4 chore: upgrade zlib from 1.3.1 to 1.3.2 2026-03-07 11:08:09 -05:00
Jose Diaz-Gonzalez bc25e56ef2 chore: rename job to deploy 2026-03-07 11:04:45 -05:00
Jose Diaz-Gonzalez f55c587fe7 chore: remove debugging 2026-03-07 11:01:29 -05:00
Jose Diaz-Gonzalez bf9a02f4e4 chore: drop debugging 2026-03-07 11:01:01 -05:00
Jose Diaz-Gonzalez e6606b78d0 Merge pull request #94 from dokku/josegonzalez-patch-1
fix: checkout the code when cleaning up review apps
2026-03-07 10:58:35 -05:00
Jose Diaz-Gonzalez b13b59c326 fix: checkout the code when cleaning up review apps 2026-03-07 10:57:29 -05:00
Jose Diaz-Gonzalez c8c38bb28f Merge pull request #93 from dokku/josegonzalez-patch-1
feat: enable trace mode on cleanups
2026-03-07 10:56:16 -05:00
Jose Diaz-Gonzalez 5763938ba0 feat: enable trace mode on cleanups 2026-03-07 10:55:26 -05:00
Jose Diaz-Gonzalez 488cf5fed2 Merge pull request #92 from dokku/josegonzalez-patch-1
chore: ugprade nginx from 1.29.3 to 1.29.5
2026-03-07 10:34:53 -05:00
Jose Diaz-Gonzalez e710a8facb chore: ugprade nginx from 1.29.3 to 1.29.5 2026-03-07 10:33:06 -05:00
Jose Diaz-Gonzalez c352c1447c Merge pull request #91 from dokku/162-test-hook
debug: check that the bin/ci-post-review-app-destroy hook gets triggered
2026-03-07 10:27:49 -05:00
Jose Diaz-Gonzalez 6639e59190 debug: check that the bin/ci-post-review-app-destroy hook gets triggered 2026-03-07 10:27:02 -05:00
Jose Diaz-Gonzalez 6c3e8af17f Merge pull request #90 from dokku/fix-sigil-download
fix: properly download sigil
2025-11-21 21:41:03 -05:00
Jose Diaz-Gonzalez 14214785d7 fix: properly download sigil 2025-11-21 21:40:04 -05:00
Jose Diaz-Gonzalez 25571d4189 Merge pull request #88 from dokku/upgrade-sigil
feat: upgrade sigil version from 0.10.1 to 0.11.5
2025-11-21 20:50:38 -05:00
Jose Diaz-Gonzalez 154edf423b feat: upgrade sigil version from 0.10.1 to 0.11.5 2025-11-21 20:48:07 -05:00
Jose Diaz-Gonzalez 087ffbbef2 Merge pull request #87 from dokku/upgrade-zlib
feat: upgrade zlib version from 1.3 to 1.3.1
2025-11-21 20:46:06 -05:00
Jose Diaz-Gonzalez e5c4e68f8c chore: remove debug mode 2025-11-21 20:44:19 -05:00
Jose Diaz-Gonzalez fa0e5758a5 debug: set trace to 1 to see what the action is doing on push 2025-11-21 20:20:58 -05:00
Jose Diaz-Gonzalez c90d35aa9b feat: upgrade zlib version from 1.3 to 1.3.1 2025-11-21 20:15:05 -05:00
Jose Diaz-Gonzalez 23011e35cd Merge pull request #86 from dokku/upgrade-pcre2
feat: upgrade pcre2 version from 10.42 to 10.47
2025-11-21 20:14:04 -05:00
Jose Diaz-Gonzalez 6facd99c18 feat: upgrade pcre2 version from 10.42 to 10.47 2025-11-21 20:08:26 -05:00
Jose Diaz-Gonzalez 29d384b8f5 Merge pull request #85 from dokku/upgrade-nginx
feat: upgrade nginx version from 1.26.2 to 1.29.3
2025-11-21 20:06:51 -05:00
Jose Diaz-Gonzalez 9294ea62ad feat: upgrade nginx version from 1.26.2 to 1.29.3 2025-11-21 19:55:32 -05:00
Jose Diaz-Gonzalez 5b78844e1e Merge pull request #84 from dokku/dependabot/github_actions/actions/checkout-6
chore(deps): bump actions/checkout from 5 to 6
2025-11-21 19:49:32 -05:00
Jose Diaz-Gonzalez 05b3a5c841 Merge pull request #83 from dokku/josegonzalez-patch-1
chore: update actions/checkout from v4 to v5
2025-09-03 00:32:46 -04:00
Jose Diaz-Gonzalez f415d7d80d chore: update actions/checkout from v4 to v5 2025-09-03 00:32:31 -04:00
Jose Diaz-Gonzalez cf60a30bc8 Merge pull request #82 from dokku/josegonzalez-patch-1
chore: update actions/checkout from v4 to v5
2025-09-03 00:32:20 -04:00
Jose Diaz-Gonzalez f77b6db3a0 chore: update actions/checkout from v4 to v5 2025-09-03 00:32:05 -04:00
Jose Diaz-Gonzalez f2bbc7f0a0 Merge pull request #81 from dokku/josegonzalez-patch-1
chore: rename workflow from build to deploy
2025-09-03 00:31:02 -04:00
Jose Diaz-Gonzalez c1c5ed2d9e chore: rename workflow from build to deploy 2025-09-03 00:30:16 -04:00
Jose Diaz-Gonzalez 806f8f5b0a Merge pull request #79 from hico-horiuchi/master
feat: support nginx custom parameters
2024-09-21 23:16:21 -04:00
Jose Diaz-Gonzalez 66fb51bbbc Merge pull request #76 from andipabst/nginx-version-and-https
Nginx version 1.26.2 and download nginx via https
2024-09-14 01:35:34 -04:00
Jose Diaz-Gonzalez b07e670e70 Merge pull request #78 from dokku/dependabot/github_actions/actions/checkout-4
chore(deps): bump actions/checkout from 2 to 4
2024-09-14 01:33:19 -04:00
Jose Diaz-Gonzalez f90db13abf Merge pull request #77 from dokku/josegonzalez-patch-1
feat: add dependabot support
2024-09-14 01:32:16 -04:00
Jose Diaz-Gonzalez 9e8c05da50 feat: add dependabot support 2024-09-14 01:31:32 -04:00
Jose Diaz-Gonzalez ec66a23266 Merge pull request #74 from pablobm/explain-mimetypes-file
Document: users can provide their own `mime.types`
2024-01-19 20:11:38 -05:00
Jose Diaz-Gonzalez 14c274186a Merge pull request #73 from dokku/deploy-on-ci
feat: always deploy latest on merge to master
2023-08-20 21:48:59 -04:00
Jose Diaz-Gonzalez 863aab6f36 feat: always deploy latest on merge to master 2023-08-20 21:42:53 -04:00
Jose Diaz-Gonzalez 2f08d686ff Merge pull request #72 from dokku/josegonzalez-patch-1
feat: upgrade nginx to 1.25.2
2023-08-20 21:34:17 -04:00
Jose Diaz-Gonzalez 936c024eac feat: upgrade nginx to 1.25.2 2023-08-20 21:14:00 -04:00
Jose Diaz-Gonzalez e833f6afad Merge pull request #71 from dokku/josegonzalez-patch-1
feat: upgrade zlib to 1.3
2023-08-20 21:12:52 -04:00
Jose Diaz-Gonzalez 3221fc1b85 feat: upgrade zlib to 1.3 2023-08-20 20:53:40 -04:00
Jose Diaz-Gonzalez 10d257b7ad Merge pull request #70 from dokku/josegonzalez-patch-1
feat: upgrade pcre2 to 10.42
2023-08-20 20:22:00 -04:00
Jose Diaz-Gonzalez b701653bda feat: upgrade pcre2 to 10.42 2023-08-20 20:17:09 -04:00
Jose Diaz-Gonzalez a6dd42bddb Merge pull request #69 from dokku/josegonzalez-patch-1
feat: upgrade sigil to 0.10.1
2023-08-20 20:16:12 -04:00
Jose Diaz-Gonzalez 130b184ec3 feat: upgrade sigil to 0.10.1 2023-08-20 20:09:55 -04:00
josegonzalez e26103764e Merge pull request #67 from Firfi/patch-1
Add wasm mime type
2023-05-13 12:43:49 -04:00
josegonzalez 61bfffb6c6 Merge pull request #66 from fc-anjos/docs/nginx_default_request
Fix NGINX_DEFAULT_REQUEST snippet
2023-01-18 15:17:37 -05:00
Jose Diaz-Gonzalez 8345d0a22a Merge pull request #65 from dokku/64-catch-bin-error
Ensure we check for the right sigil binary
2022-09-12 10:53:59 -04:00
Jose Diaz-Gonzalez 8560e5b5a9 fix: ensure we check for the right binary
Closes #64
2022-09-12 10:22:04 -04:00
Jose Diaz-Gonzalez aa191df661 Merge pull request #63 from dokku/upgrade-pcre
Upgrade pcre to pcre2
2022-09-10 21:09:31 -04:00
Jose Diaz-Gonzalez 7fe92f4821 chore: remove extra debug statement 2022-09-10 21:05:23 -04:00
Jose Diaz-Gonzalez 25fb7889a5 fix: build against the correct directory 2022-09-10 21:02:04 -04:00
Jose Diaz-Gonzalez 6381244e26 debug: where is the pcre2 output 2022-09-10 20:57:21 -04:00
Jose Diaz-Gonzalez 7874622b04 feat: upgrade pcre to pcre2 2022-09-10 20:54:48 -04:00
Jose Diaz-Gonzalez 0329f9e0ff Merge pull request #62 from dokku/upgrade-nginx
Upgrade nginx to 1.23.1
2022-09-10 20:50:42 -04:00
Jose Diaz-Gonzalez 043965bc7d feat: upgrade nginx to 1.23.1 2022-09-10 20:46:19 -04:00
Jose Diaz-Gonzalez 3a1e442373 Merge pull request #61 from dokku/upgrade-sigil
Upgrade sigil to 0.9.0
2022-09-10 20:44:47 -04:00
Jose Diaz-Gonzalez 6a99e870e4 fix: copy the new binary into the correct place 2022-09-10 20:42:01 -04:00
Jose Diaz-Gonzalez ad5e831e74 chore: debug 2022-09-10 20:36:01 -04:00
Jose Diaz-Gonzalez ed31137f94 feat: upgrade sigil to 0.9.0 2022-09-10 20:31:57 -04:00
Jose Diaz-Gonzalez a68149bce7 Merge pull request #60 from dokku/upgrade-zlib
Upgrade zlib to 1.2.12
2022-09-10 20:30:21 -04:00
Jose Diaz-Gonzalez 6a592755ff feat: upgrade zlib to 1.2.12 2022-09-10 20:27:47 -04:00
Jose Diaz-Gonzalez 2b95cd179b Merge pull request #59 from dokku/test-conf
Ensure test runs against vendored app-nginx.conf.sigil and mime.types
2022-09-10 20:23:40 -04:00
Jose Diaz-Gonzalez 9b7f098ced fix: add whitespace 2022-09-10 20:20:44 -04:00
Jose Diaz-Gonzalez 7154c020a1 fix: use GITHUB_HEAD_REF instead 2022-09-10 20:14:49 -04:00
Jose Diaz-Gonzalez a11d1ce303 refactor: use ref name instead of sha 2022-09-10 20:11:49 -04:00
Jose Diaz-Gonzalez 53b41ec631 fix: override commit being deployed 2022-09-10 19:58:50 -04:00
Jose Diaz-Gonzalez c8eef60b09 test: ensure test runs against vendored app-nginx.conf.sigil and mime.types 2022-09-10 18:56:55 -04:00
Jose Diaz-Gonzalez 09fe857895 Merge pull request #58 from dokku/correct-remote-host
fix: use correct remote host
2022-09-10 18:29:17 -04:00
Jose Diaz-Gonzalez 31dc4746e2 fix: use correct remote host 2022-09-10 18:25:08 -04:00
Jose Diaz-Gonzalez 59ea0b94e1 Merge pull request #57 from dokku/review-app-cleanup
Split out workflows so that review app cleanup is properly run
2022-09-10 18:23:10 -04:00
Jose Diaz-Gonzalez 301d00c751 fix: name workflows correctly 2022-09-10 18:20:42 -04:00
Jose Diaz-Gonzalez 28328e4d90 refactor: split out workflows so that review app cleanup is properly run
The old setup - copy-pasted from the internet somewhere - was incorrect based on how github actions works. *sigh*
2022-09-10 18:19:27 -04:00
Jose Diaz-Gonzalez dce20c0a8f Merge pull request #56 from dokku/auto-deploy
Test this buildpack by deploying to a dokku server
2022-09-10 18:12:48 -04:00
Jose Diaz-Gonzalez 0e7bef86f9 chore: ensure robots do not crawl these test domains 2022-09-10 18:09:55 -04:00
Jose Diaz-Gonzalez faf2a70272 fix: use correct domain name 2022-09-10 18:09:06 -04:00
Jose Diaz-Gonzalez f981b138ed fix: use a dokku.net subdomain to avoid hsts issues 2022-09-10 18:04:40 -04:00
Jose Diaz-Gonzalez 7794c2c36f chore: add some debugging information 2022-09-10 18:02:11 -04:00
Jose Diaz-Gonzalez 22619107ab chore: silence ci hook 2022-09-10 17:58:38 -04:00
Jose Diaz-Gonzalez 1a28ec8509 feat: purge cache on every review app deploy
This ensures we test the currently built nginx binary.
2022-09-10 17:53:46 -04:00