Commit Graph

33 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
dac566e75e refactor: move all shellcheck disable definitions to .shellcheckrc file
This makes standard use of shellcheck work without needing to provide extra configuration anywhere.

Also remove use of inline 'shellcheck disable' calls that are already defined in the .shellcheckrc and don't need to be set inline.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
4701227564 tests: add more debugging output to deploy tests 2023-01-28 15:37:02 -05:00
Jose Diaz-Gonzalez
6c709f2386 fix: drop which in favor of command -v 2021-10-28 18:22:20 -04:00
Kazuhiro NISHIYAMA
98c81513aa Accept first pushed branch as deploy-branch
And set to DOKKU_DEPLOY_BRANCH.

Idea from https://github.com/dokku/dokku/pull/4167#issuecomment-717607136
2020-12-08 23:15:11 +09:00
Jose Diaz-Gonzalez
67ae374e60 lint: remove whitespaces before redirect 2019-02-02 13:49:24 -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
Michael Hobbs
9ce7470b87 remove deprecated mktemp args and name vars more clearly 2016-03-29 19:46:46 -07:00
Michael Hobbs
aa2415eeb8 more style/function tweaks 2016-03-03 22:11:35 -08:00
Michael Hobbs
d1b87bd7b7 cleanup shellcheck SC2086 2016-02-23 07:50:06 -08:00
Jose Diaz-Gonzalez
f2e153744c [ci skip] minor formatting changes 2015-09-03 22:38:24 -04:00
Jakob Krigovsky
3218e2b076 Allow for test apps that should fail deployment 2015-07-11 13:58:52 +02:00
Michael Hobbs
77257c484f show logs on deploy success and failure. closes #1044 2015-03-20 12:32:49 -07:00
Michael Hobbs
9d81dda524 try circle again 2015-01-05 17:03:06 -08:00
Michael Hobbs
c5c0ae00ba show logs in deploy tests 2014-12-21 14:51:41 -08:00
Michael Hobbs
14a7cac686 update php and static tests 2014-12-21 14:51:41 -08:00
Michael Hobbs
d3e18d3362 fix failure output 2014-12-21 14:51:40 -08:00
Michael Hobbs
606bbda66c make tests work 2014-12-21 14:51:40 -08:00
Michael Hobbs
3706392e65 test with wercker 2014-12-21 14:51:40 -08:00
rhy-jot
900fe6fe8c Delete test application when finished with it 2014-03-08 17:33:04 -05:00
Paul Lietar
baefdabdfc Allow tests to have a setup phase. 2013-12-12 03:54:39 +00:00
Jeff Lindsay
df7507d1be normalizing shebang and bash options. also added long-term fix for bootstrap instructions 2013-10-29 17:13:02 -05:00
Paul Lietar
27d4bc8c3c Replace gitreceive by a git plugin.
This removes the need for two distinct users.
Git pushes and dokku commands are sent using the same user.
2013-10-28 21:15:17 +00:00
Alexander
5653eedac4 Fix vagrant test setup 2013-07-02 00:02:37 +02:00
Jeff Lindsay
7ecdba7387 poor man's retry 2013-06-30 02:27:36 -05:00
Jeff Lindsay
fc396490dd exiting with 7 means could not connect. adding sleep to give container a second to spin up 2013-06-30 01:47:10 -05:00
Jeff Lindsay
b15b55f4af outputting result from curl for deploy debugging 2013-06-23 18:35:30 -07:00
Jeff Lindsay
02fa55342b include app name in repo name 2013-06-23 18:04:33 -07:00
Jeff Lindsay
0f230c3732 actually copy hidden/dot files. needed for .godir in go app 2013-06-23 17:33:17 -07:00
Jeff Lindsay
4bd8331ee2 ugh, that line wasn't even necessary 2013-06-23 03:54:18 -07:00
Jeff Lindsay
c5ebc4a5dc ensuring git is configured 2013-06-23 03:45:45 -07:00
Jeff Lindsay
8a884f02f2 using proper template Xs 2013-06-23 03:37:00 -07:00
Jeff Lindsay
946973b060 first pass at fully functional test infrastructure to work with travis ci 2013-06-23 02:31:32 -07:00
Jeff Lindsay
3e2989d954 committing my progress, but no working tests yet. stuck on bug where I can't curl the URL I get from the deploy transcript 2013-06-10 21:26:31 -07:00