208 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
675c285dff fix: respect GO* environment variables when building to ensure CGO is disabled
Without this, building Dokku on a newer operating system will result in binaries that do not work on older systems. The environment variables were only being set when building in docker, which has not been used in the release workflow for a while.
2024-09-23 02:54:48 -04:00
Jose Diaz-Gonzalez
43b27c90e4 Merge pull request #7157 from F4-Group/fix-jq-dependency
Fix building in vagrant when jq is not available
2024-09-21 18:48:26 -04:00
Charly Koza
3f70b1238c build: fix building when jq is not available.
docker-image-labeler default DOCKER_IMAGE_LABELER_URL uses jq,
so jq needs to be available first.

This happens for example when using `vagrant up dokku-window`.

Fixes #7155
2024-09-18 15:39:53 +02:00
Jose Diaz-Gonzalez
8f5dbe61d9 feat: upgrade herokuish builder to gliderlabs/herokuish:latest-24 2024-08-26 04:20:52 -04:00
Jose Diaz-Gonzalez
aa71a6e860 tests: update all dependencies in the dokku ecosystem
This pulls all the latest automatic releases for us, ensuring our CI runs against what folks will end up installing.
2024-05-19 00:05:14 -04:00
Jose Diaz-Gonzalez
e98cbe93cf feat: add a make target to copy the dokku binary over
This is helpful when in local development. While rare, sometimes the dokku binary needs to have some changes applied.
2024-03-14 08:05:50 -04:00
Jose Diaz-Gonzalez
934a6b5cd5 feat: manage Dokku system dependencies in a single file
This will allow us to more quickly update a dependency by adding support so that downstream repos can auto-push updates to the main repo when there is a release.
2023-10-14 03:49:25 -04:00
Jose Diaz-Gonzalez
9299a1a961 chore: upgrade sigil dependency 2023-08-27 17:30:16 -04:00
Jose Diaz-Gonzalez
b67d79e09a feat: upgrade herokuish to 0.7.1 2023-08-27 15:58:12 -04:00
Jose Diaz-Gonzalez
7b0d92082a chore: upgrade sshcommand dependency 2023-08-27 15:45:35 -04:00
Jose Diaz-Gonzalez
1376d78cd6 chore: upgrade procfile-util dependency 2023-08-27 15:44:12 -04:00
Jose Diaz-Gonzalez
13ea79bb1f chore: upgrade netrc dependency 2023-08-27 15:42:04 -04:00
Jose Diaz-Gonzalez
20466838b5 chore: upgrade lambda-builder dependency 2023-08-27 15:01:17 -04:00
Jose Diaz-Gonzalez
c2db3ddaba fix: add missing relabel command to docker-image-labeler for CNB builder
Closes #6138
2023-08-26 14:33:51 -04:00
Jose Diaz-Gonzalez
24d94576a9 feat: make heroku-22/jammy the default stack for cnb/herokuish builds 2023-08-09 10:11:33 -04:00
Jose Diaz-Gonzalez
26e9cc9b8c feat: add support for non-web healthchecks via app.json
This change converts existing CHECKS files into a healthchecks key that is understood by 'docker-container-healthchecker'. This tool supports a number of different types of container healthchecks - command, http, uptime - and can perform healthchecks against non-web processes.

The use of the old CHECKS file is now deprecated, and will be removed in the next minor version. Users can use the 'docker-container-healthchecker' to convert existing CHECKS files to the new format automatically.

Closes #2760
2023-08-06 17:23:13 -04:00
Jose Diaz-Gonzalez
f54d1bc4a9 feat: update default herokuish version to 0.6.0 2023-06-10 22:57:23 -04:00
Jose Diaz-Gonzalez
9b5c07edd7 chore: update herokuish to get new buildpack version 2022-11-01 22:01:14 -04:00
Jose Diaz-Gonzalez
a39a47b3ae feat: respect TARGETARCH when installing development dependencies 2022-10-12 21:53:11 -04:00
Jose Diaz-Gonzalez
f7905b4943 docs: add code for building docs in ci 2022-09-05 14:46:55 -04:00
Jose Diaz-Gonzalez
6caf4e6039 fix: use newer lambda-builder 2022-08-09 02:34:04 -04:00
Jose Diaz-Gonzalez
5ee0619888 fix: install the lambda-builder package in ci and development 2022-08-08 15:15:28 -04:00
Jose Diaz-Gonzalez
fb73c9e1d9 Merge pull request #5285 from dokku/update-dev-dependencies
Update all development dependencies
2022-08-08 15:07:57 -04:00
Jose Diaz-Gonzalez
70fc35c317 chore: drop unsupported operating systems
We will no longer support CentOS, Fedora, and Opensuse as installation targets. These are not actively maintained by anyone with commit rights and occasionally cause issues for users as they are not tested during the release process.

Rather than have subpar support for an untested operating system, we're removing support for them completely. Users of these operating systems should take a look migration to the docker-based installation method, which will always be tested and supported by the project.

Additionally, drop support for Debian 9 as it is now EOL.
2022-08-07 18:36:30 -04:00
Jose Diaz-Gonzalez
e4db82aebf chore: update all development dependencies 2022-08-07 14:16:16 -04:00
Jose Diaz-Gonzalez
d4eaa1dc15 fix: move files into correct place when installing via make 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
9e10fbf808 fix: reference correct urls for amd64 tarballs 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
af8327e76b chore: update build/test dependency versions 2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
ae14b02cbd fix: pull manpage from amd64 stage 2021-10-27 12:07:35 -04:00
Jose Diaz-Gonzalez
d12c9d7362 fix: add missing parallel binary to Vagrant environment 2021-10-09 15:59:31 -04:00
Jose Diaz-Gonzalez
a1c768b9b3 refactor: drop web installer in favor of setup via cli
This makes the installation a bit more secure by ensuring a user does not accidentally expose a way for unauthorized users to add new ssh keys to the system.

Additionally, this removes the extra HOSTNAME file to make the initial install process easier (that file was not modifiable by any dokku commands.

Closes #2247
2021-08-07 16:36:41 -04:00
Jose Diaz-Gonzalez
d5b14769dd feat: make heroku-20/focal the default stack for herokuish builds
Closes #4621
2021-08-05 23:43:07 -04:00
Jose Diaz-Gonzalez
7a710005a1 feat: implement git:auth command
Refs #4364
2021-02-28 04:47:37 -05:00
Jose Diaz-Gonzalez
4448e60a8b tests: run tests faster by not cloning the buildpack each time
This is now included in herokuish.
2021-02-08 11:17:14 -05:00
Jose Diaz-Gonzalez
988cdbd6bb fix: update to docker-image-labeler that handles in-use images
Also ensure we keep track of previous docker image tags.

Refs #4371
2021-02-07 18:26:39 -05:00
Jose Diaz-Gonzalez
9306011f70 fix: do not retag images unnecessarily
This change minimizes the work needed to be done when tagging images. It edits the image manifest directly only when necessary, allowing restarts of an app to avoid having an extra layer.

This also additionally allows to deploy images with ONBUILD directives without running the ONBUILD directives.

Lastly, users building docker images that run Dokku will need to use a new sudoer wrapper for the `docker-image-labeler` binary to work correctly. A reference version has been placed in the `docker` skeleton directory.

Closes #3931
Refs #4226
2021-01-24 02:09:53 -05:00
Jose Diaz-Gonzalez
e4ec973a6e Merge pull request #4329 from dokku/apt-no-install-recommends
Standardize apt-get usage
2021-01-18 12:12:11 -05:00
Jose Diaz-Gonzalez
ed84f21c08 refactor: standardize apt-get usage
- Always put flags in same location
- Always use apt-get
- Add --no-install-recommends where possible
2021-01-17 20:19:56 -05:00
Jose Diaz-Gonzalez
922b6e3722 chore: update plugn
This is necessary as bats-core exports functions and exported functions are not handled properly until plugn 0.6.1.
2021-01-17 19:43:24 -05:00
Jose Diaz-Gonzalez
7f02155ce1 tests: upgrade version of plugn used in tests 2020-12-25 03:08:08 -05:00
Jose Diaz-Gonzalez
13dd8aa224 feat: add ability to remove an ssh key by fingerprint
- add tests for ssh-keys:remove
- upgrade sshcommand
2020-12-20 04:15:53 -05:00
Jose Diaz-Gonzalez
5887d4ddfa Update plugn from 0.5.0 to 0.5.1 2020-12-05 02:32:15 -05:00
Jose Diaz-Gonzalez
70de587f6c feat: upgrade procfile-util to avoid errors in parsing 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
361ee01ab0 feat: Upgrade herokuish to fix nodejs tests 2020-11-08 18:40:31 -05:00
Jose Diaz-Gonzalez
96b4ffbf5b chore: drop herokuish release code
This is now done upstream in the herokuish project.
2020-08-29 15:54:49 -04:00
Jose Diaz-Gonzalez
03daa33d83 feat: upgrade plugn 2020-05-12 22:01:55 -04:00
Jose Diaz-Gonzalez
ba6cca4093 feat: upgrade sigil 2020-05-12 11:13:01 -04:00
Jose Diaz-Gonzalez
a1581bc963 Merge pull request #3986 from dokku/upgrade-sshcommand
Upgrade sshcommand to 0.11.0
2020-05-12 11:12:07 -04:00
Jose Diaz-Gonzalez
46eb092006 feat: upgrade sshcommand 2020-05-12 00:58:40 -04:00
Jose Diaz-Gonzalez
87dc7e39e6 feat: upgrade go-procfile-util 2020-05-12 00:56:44 -04:00