Jose Diaz-Gonzalez
4e4f3c839a
chore: drop installation of nginx ppa
...
We've been using OS nginx for quite a while now as it's been updated significantly, so there is no need to use the official ppa anymore.
2022-11-25 14:47:52 -05: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
e0090d9bf6
fix: use generic architecture version of sshcommand
2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
4fede344fc
refactor: build docker image for all architectures
2022-01-28 17:55:46 -05:00
Jose Diaz-Gonzalez
b3c732e487
debug: show the packages being installed
2021-10-27 12:39: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
7a710005a1
feat: implement git:auth command
...
Refs #4364
2021-02-28 04:47:37 -05:00
Jose Diaz-Gonzalez
06bdee37ff
chore: drop unused sigil packaging code
...
This is now packaged and released in progrium/sigil.
2021-02-21 03:12:57 -05:00
Jose Diaz-Gonzalez
02a8409114
tests: fix shfmt issues
2021-02-13 02:05:44 -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
a7465f9d81
tests: use github actions instead of circleci for test running
2021-01-20 14:00:07 -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
9193b68854
hack: enable debug
2020-11-21 20:57:33 -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
1a0c123823
tests: store the deb and rpm artifacts
2020-06-28 01:21:40 -04:00
Jose Diaz-Gonzalez
ef46db5d6b
chore: switch to node:4-alpine
...
This is a smaller image that should speed up tests...
2020-06-20 13:04:04 -04:00
Jose Diaz-Gonzalez
edf5d29213
tests: set correct user on github actions
2020-06-19 22:01:13 -04:00
Jose Diaz-Gonzalez
9451216606
refactor: build the package separately from running ci
2020-06-19 22:01:12 -04:00
Jose Diaz-Gonzalez
329e97c8ee
feat: drop support for unsupported Debian and Ubuntu releases
...
While the latest packages may continue to work on other releases, we will no longer officially support these releases, nor will we distribute packages.
2020-02-28 05:57:55 -05:00
Jose Diaz-Gonzalez
b4e95fe0d5
feat: add support for python3
...
- Use jq where possible
- Drop unused function (no usage across entire codebase nor in any github repository
Closes #3689
2019-09-19 23:33:43 -04:00
Jose Diaz-Gonzalez
c66e08041a
refactor: refer to upstream sshcommand package
...
sshcommand now packages itself.
2019-08-10 19:55:21 -04:00
Jose Diaz-Gonzalez
697afaa2cc
fix: add missing dos2unix dependency
2019-08-05 12:44:34 -04:00
Jose Diaz-Gonzalez
6836e56b24
refactor: add global docker build and run args
...
This reduces duplication and allows users to rely on global arguments to generate most labels needed.
The 'commit' command cannot have global arguments because the whitespace within the label change breaks string-based interpolation, and shell arrays cannot be exported.
2019-07-20 05:52:20 -04:00
Jose Diaz-Gonzalez
11241e5003
fix: add missing cgroupfs-mount
2019-07-18 01:15:44 -04:00
Michael Hobbs
b8c2259775
test docker image
2019-07-18 00:28:48 -04:00
Michael Hobbs
1437b77c6c
run tests against native dokku
2019-07-18 00:28:48 -04:00
Michael Hobbs
67bdd47015
wait for CI dokku container to startup
2019-07-18 00:27:09 -04:00
Michael Hobbs
d8ada6a6e9
install dokku from built deb package and use docker image for integrations tests
2019-07-18 00:26:31 -04:00
Jose Diaz-Gonzalez
eada23d3f6
feat: build on systemd
2019-07-17 20:48:57 -04:00
Jose Diaz-Gonzalez
7cb0d11b95
chore: drop plugn package building
...
The dokku/plugn project now builds and releases it's own packages on release creation.
Also upgrade to latest plugn version, 0.3.2
2019-03-16 03:16:28 -04:00
Jose Diaz-Gonzalez
0798841f83
chore: standardize on a single naming scheme for releases
...
- "build" Dockerfiles should start with build-
- "release" scripts should have the name of the thing they are building appended
2019-01-21 21:40:10 -05:00
Jose Diaz-Gonzalez
86795ddacc
tests: run mvdan/shfmt on test runs
...
While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™.
The command used to reprocess everything is:
```shell
shfmt -l -bn -ci -i 2 -w .
```
2019-01-07 01:25:55 -05:00
Jose Diaz-Gonzalez
c344efdd8d
tests: run tests from built artifact
...
Rather than testing against an install from source, ensure that all tests run from what _would_ be installed on a user's server. This ensures that the build process is sound, regardless of what code changes are implemented.
2018-12-29 18:32:52 -05:00
Jose Diaz-Gonzalez
a54f672b5c
tests: do not generate dhparam for tests
...
Tests will run much quicker if we don't need to regenerate this file. Note that this file _should not_ be used within installs.
2018-12-29 04:22:28 -05:00
Michael Hobbs
4db991c891
use circleci 2.0
2017-08-29 13:12:03 -07:00
Michael Hobbs
8950571acb
add tests for pre/post deploy tasks
2017-04-03 12:34:41 -07:00
Michael Hobbs
81f444c807
pull node:4 image ahead of time as we use it in many tests
2016-07-17 15:56:37 -07:00
Michael Hobbs
3bffba945a
show timing for each bats file and overall test run
2016-03-04 20:59:17 -08:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
9842d7498b
nginx-vhosts rewrite
2016-02-18 18:38:54 -08:00
Michael Hobbs
33c6e56030
support bash 4.2 so we don't have to modify all plugin test envs
2016-01-17 18:29:49 -08:00
Michael Hobbs
be9ab06116
install bash 4.3.x on circleci
2016-01-12 18:58:43 -08:00
Michael Hobbs
74fd7e22d0
skip cleanup in ci to speed up tests
2016-01-07 09:53:04 -08:00
Michael Hobbs
28633003d5
fix docker version and add back some deploy tests that test dokku functionality
2016-01-06 20:53:08 -08:00
Michael Hobbs
39bba0b36e
use docker 1.9.0 on circleci
2016-01-05 12:05:44 -08:00
Michael Hobbs
76ad65b715
don't run app deploy tests and spread out unit tests to 4 containers. closes #1787
2015-12-21 10:18:16 -08:00
Jose Diaz-Gonzalez
80dc4cc3b6
Update all links to dokku repo
...
[ci skip]
2015-12-06 04:55:11 -05:00
Jose Diaz-Gonzalez
ee853a5b35
Avoid redirects and use raw.githubusercontent.com for github links
...
[ci skip]
2015-10-01 17:26:06 -04:00
Jose Diaz-Gonzalez
27a2478a33
Follow bashstyle where possible
2015-09-16 16:06:31 -07:00
Michael Hobbs
27b79222c1
catch test setup errors
2015-07-08 09:42:10 -07:00