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
|
5884576fc2
|
Merge pull request #4330 from dokku/uuidgen
Switch to using uuidgen for unique app names
|
2021-01-17 19:44:32 -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
|
cca507da6a
|
refactor: avoid pushd/popd to enable commands to pass from root-enabled directories
|
2021-01-17 19:40:33 -05:00 |
|
Jose Diaz-Gonzalez
|
d58fe853d6
|
fix: allow updating head
|
2021-01-17 19:34:07 -05:00 |
|
Jose Diaz-Gonzalez
|
03dc90b4fd
|
chore: re-add output redirection
|
2021-01-17 19:33:36 -05:00 |
|
Jose Diaz-Gonzalez
|
2a4918c7ce
|
fix: run check-ref-format in the correct directory
|
2021-01-17 19:23:40 -05:00 |
|
Jose Diaz-Gonzalez
|
7bb130edb7
|
refactor: use flag instead of environment variable
|
2021-01-17 19:13:30 -05:00 |
|
Jose Diaz-Gonzalez
|
3af1342a9b
|
fix: expand git-ref to the full commit sha
If using a branch, git commands that interact with worktrees may fail for newer versions of git.
|
2021-01-17 17:29:21 -05:00 |
|
Jose Diaz-Gonzalez
|
d16ff7fa12
|
fix: properly report last-updated
|
2021-01-17 17:19:14 -05:00 |
|
Jose Diaz-Gonzalez
|
d5dbd456ea
|
chore: quiet down git init
The command is louder when running on newer versions of git, and the output isn't useful to end users.
|
2021-01-17 17:07:10 -05:00 |
|
Jose Diaz-Gonzalez
|
3f25514e1a
|
refactor: combine both clone and sync commands
Using a single command will allow users to not have to worry about the workflow they use to setup or update a given app.
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
e3d0f693a7
|
tests: add tests for fetch
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
97b33a9138
|
feat: fix: use correct branch for ref updating
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
f73c927512
|
fix: do not allow fetch on fresh apps
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
97750f8b28
|
chore: minor updates to tests
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
827dbbc740
|
fix: delete the deploy branch if its a ref and not tag
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
89e92749a6
|
tests: handle non-existent app
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
e877a996be
|
tests: split out tests and use a slimer smoke-test-app to speed up builds
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
6bfbe0bb66
|
fix: create app for build test
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
d728237697
|
chore: split tests
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
279a706f78
|
feat: add tests for git:clone
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
dbd48356f5
|
refactor: properly handle commits and branches
- if it is a commit, we must clone and checkout. `clone --branch` only works for tags and branches
- set the branch as the deploy-branch if detected
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
6dc55624bd
|
chore: change message
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
5e645e1489
|
fix: use correct method to detect if a repo is empty
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
87a786fec5
|
fix: get arguments correctly
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
c9fc203596
|
fix: properly parse arguments
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
f87525d8cf
|
refactor: move temp directory to git data directory
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
df4dbe5d88
|
chore: reorder properties
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
31332a5061
|
fix: move fn-git-create-hook to internal-functions
Its unused elsewhere.
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
1a66102e30
|
feat: add tests for allow-host and public-key commands
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
8c0380beec
|
tests: add missing run statement
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
a7ef06028e
|
docs: add cavet to git:allow-host command
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
c80fcf7b8e
|
feat: add support for cloning/syncing from a remote repository
This makes it a bit easier for external projects to implement deploy webhooks by exposing the ability to sync from a git repository/sha.
|
2021-01-17 17:00:33 -05:00 |
|
Jose Diaz-Gonzalez
|
db5630eb32
|
Merge pull request #4325 from WaviestBalloon/master
Updated bootstrap.sh to not show when $DOKKU_TAG equals nothing
|
2021-01-17 16:50:22 -05:00 |
|
Jose Diaz-Gonzalez
|
1dc63eecbd
|
tests: switch to upstream bats-core
Bats core now has junit report formatting, so there is no need to continue using a fork.
|
2021-01-17 16:18:24 -05:00 |
|
Jose Diaz-Gonzalez
|
530066875d
|
tests: switch to using uuidgen for unique app names
/dev/urandom doesn't work on Github Actions. Prior to moving to github actions, lets ensure tests work on CircleCI as well.
|
2021-01-17 15:58:59 -05:00 |
|
Jose Diaz-Gonzalez
|
59aef9a408
|
chore: use -z for checking for empty value
|
2021-01-17 14:41:49 -05:00 |
|
Jose Diaz-Gonzalez
|
7b51bcd4ac
|
Merge pull request #4324 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-3.1.0
chore(deps): bump socket.io from 3.0.5 to 3.1.0 in /tests/apps/.websocket.disabled
|
2021-01-17 14:40:57 -05:00 |
|
Waviest
|
80b782e6ed
|
Update bootstrap.sh
|
2021-01-16 23:56:36 +00:00 |
|
Jose Diaz-Gonzalez
|
c179958afc
|
Merge pull request #4311 from nisseknudsen/pr/allow_named_volume_mounts_in_regex
Allow named volume mounts in regex
|
2021-01-15 17:53:59 -05:00 |
|
nisseknudsen
|
a3ab4d1b68
|
Mounting new named volume after unmounting host directory
|
2021-01-15 22:40:52 +01:00 |
|
dependabot-preview[bot]
|
575ae84e68
|
chore(deps): bump socket.io in /tests/apps/.websocket.disabled
Bumps [socket.io](https://github.com/socketio/socket.io) from 3.0.5 to 3.1.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/master/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/3.0.5...3.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2021-01-15 06:56:31 +00:00 |
|
Jose Diaz-Gonzalez
|
102c3b3007
|
Merge pull request #4323 from stianlik/patch-1
Fix typo in nginx.md
|
2021-01-14 15:20:30 -05:00 |
|
Stian Liknes
|
18f3b940c3
|
Fix typo in nginx.md
|
2021-01-14 20:15:54 +01:00 |
|
Jose Diaz-Gonzalez
|
baa15d7437
|
Merge pull request #4321 from dokku/report-git-version
Add git version to output
|
2021-01-14 12:28:20 -05:00 |
|
Jose Diaz-Gonzalez
|
9804d42e67
|
Merge pull request #4320 from dokku/4317-fix-cnb-workdir
Hardcode cnb workdir to /workspace
|
2021-01-14 09:57:18 -05:00 |
|
Jose Diaz-Gonzalez
|
0c182415a7
|
feat: add git version to output
|
2021-01-14 09:47:06 -05:00 |
|
Jose Diaz-Gonzalez
|
1599120c3e
|
fix: hardcode cnb workdir to /workspace
Closes #4317
|
2021-01-14 08:33:26 -05:00 |
|
Jose Diaz-Gonzalez
|
a53b5953ea
|
Merge pull request #4319 from dokku/update-dependencies
Update ruby dependencies in test app
|
2021-01-13 13:49:43 -05:00 |
|