Commit Graph

789 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
6cb97e75c9 fix: update the master commit for the smoke-test-app repo 2024-11-13 04:06:58 -05:00
Jose Diaz-Gonzalez
fd2cfe8080 fix: correctly pull the deployment id from an app's helm values when executing dokku run under the k3s scheduler
- Fix the internal identifier of deployment_id -> deployment_id
- Add tests for both enter and run.
2024-11-04 14:44:25 -05:00
Jose Diaz-Gonzalez
27ce6b622c Merge pull request #7209 from dokku/6919-failed-deployment-tasks
Exit non-zero if any deployment tasks fails
2024-09-29 01:09:47 -04:00
Jose Diaz-Gonzalez
24b5447ba7 Merge pull request #7211 from dokku/6827-set-git-rev-on-sync
Always set the git rev env var when building an app via git:sync
2024-09-29 00:38:09 -04:00
Jose Diaz-Gonzalez
9490034412 tests: update tests for cnb builder 2024-09-29 00:04:58 -04:00
Jose Diaz-Gonzalez
1abb180d1c fix: correct lint issue 2024-09-28 23:56:28 -04:00
Jose Diaz-Gonzalez
b8b112cb7b fix: exit non-zero if any deployment tasks fails 2024-09-28 23:56:28 -04:00
Jose Diaz-Gonzalez
4ec6fa3eb0 fix: always set the git rev env var when building an app via git:sync
Closes #6827
2024-09-28 23:47:48 -04:00
Jose Diaz-Gonzalez
03102cd681 tests: ensure pack binary is installed correctly when running tests in a devcontainer 2024-09-28 22:30:09 -04:00
Jose Diaz-Gonzalez
71b28721f7 fix: correct issues with python3 no longer being available by default 2024-09-22 01:02:14 -04:00
Jose Diaz-Gonzalez
880f32f4e2 feat: upgrade cnb builder to heroku/builder:24 2024-09-22 00:23:58 -04:00
Jose Diaz-Gonzalez
0633f491ba fix: set CID variable 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
cacd6a9a14 debug: show the entire inspect output 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
9110e2c365 chore: use python3 instead of python 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
ce1c7543d2 fix: correct issues in tests referencing now missing python binary 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
e2b561b2d5 fix: correct case of pip in builder-pack test output
The upstream buildpack recently changed this so we need to update in order to conform to the new standard.
2024-08-11 02:20:18 -04:00
Coffee2CodeNL
be4c54b878 Add documentation and unit tests for custom Traefik entrypoints
These changes include updates to documentation, command functions, and related unit tests.
2024-04-08 15:25:44 +02:00
Jose Diaz-Gonzalez
0b2ee9c905 Merge pull request #6801 from dokku/6764-invalid-proxy
Guard against invalid proxy values due to move of port mapping to ports plugin
2024-04-05 00:25:40 -04:00
Jose Diaz-Gonzalez
9678c1c0b8 tests: update test for new deployment task output 2024-04-04 23:21:22 -04:00
Jose Diaz-Gonzalez
1909fa7fdf fix: guard against invalid proxy values due to move of port mapping to ports plugin
Users somewhat infrequently set a port mapping as the proxy type, causing issues in exposing apps publicly. Ideally we list out the available proxy types, but that would be a potential bc-break for non-core plugins, so this is the way to go for now.

Closes #6764
2024-04-04 23:01:59 -04:00
Jose Diaz-Gonzalez
2516c79264 fix: add --global flag to ps:set
Closes #6755
2024-03-28 21:16:04 -04:00
Andrew Kvalheim
f64cf3bdfa fix: dereference annotated tags
refs/heads/master cannot be updated to an annotated tag per se; the rev
given must first be resolved to a commit. ^{commit} recursively
dereferences the rev until a commit is found.

Resolves #6737 and test failure:

    # bats --filter annotated-tag tests/unit/git_3.bats
    git_3.bats
     ✗ (git) git:sync existing [--no-build annotated-tag]
       fatal: update_ref failed for ref 'refs/heads/master': cannot update ref 'refs/heads/master': trying to write non-commit object 6399bed673f513332f3d5d99e777e0262f42404c to branch 'refs/heads/master'
2024-03-18 17:30:19 -07:00
Jose Diaz-Gonzalez
6e3631afeb fix: correct warning placement and update tests to account for parallel's behavior 2024-03-14 14:59:49 -04:00
Jose Diaz-Gonzalez
36ade1ecd0 tests: add test for port publishing warning 2024-03-14 14:07:15 -04:00
Jose Diaz-Gonzalez
efc35ab104 fix: correctly check if a repository has code or not in git plugin 2024-03-14 10:09:14 -04:00
Jose Diaz-Gonzalez
5d24b10144 chore: run shfmt 2024-03-14 06:10:52 -04:00
Jose Diaz-Gonzalez
58772984cd tests: check that the ref has been updated to the correct value 2024-03-14 05:28:37 -04:00
Jose Diaz-Gonzalez
4de97a1094 feat: add ability to only build synced repo if there are changes
Closes #6242
2024-03-14 04:42:28 -04:00
Jose Diaz-Gonzalez
005eb2e11b fix: detect the error twice
How the output is streamed changed a bit so we need to change the bats test

This will go back to zero if we ever re-implement how the container up starts for the docker-local scheduler.
2024-03-14 03:13:06 -04:00
Jose Diaz-Gonzalez
1cc8b3723d fix: drop extra phase argument 2024-03-14 00:26:18 -04:00
Jose Diaz-Gonzalez
c26a49bb4e tests: add tests for config and docker options
These two are also still stored in the app repo directory and not copied over as properties, so would be susceptible to not having the code copied over.
2024-03-14 00:26:18 -04:00
Jose Diaz-Gonzalez
6d07fea704 fix: correct expansion issue 2024-03-13 22:21:05 -04:00
Jose Diaz-Gonzalez
e43927a69e tests: add a test for argument handling 2024-03-13 22:21:05 -04:00
Jose Diaz-Gonzalez
ca55f58446 refactor: move plugin test helper functions to test_helper.bash 2024-03-13 22:21:05 -04:00
Jose Diaz-Gonzalez
c53d21c834 Merge pull request #6706 from dokku/6690-git-unlock
Remove git:unlock command
2024-03-13 09:09:22 -04:00
Jose Diaz-Gonzalez
795d4941ee chore: rename test files 2024-03-13 07:47:54 -04:00
Jose Diaz-Gonzalez
9cb54950fc fix: correct issue where removing by index failed due to incorrect input validation
Closes #6657
2024-03-13 06:53:05 -04:00
Jose Diaz-Gonzalez
50958fc448 refactor: remove git:unlock command
This is no longer necessary with improvements elsewhere in Dokku.
2024-03-13 06:24:30 -04:00
Jose Diaz-Gonzalez
87a008c86b Merge pull request #6632 from dokku/remove-disable-chown
Simplify file ownership in the container by setting the process ownership during the build process
2024-03-13 01:44:39 -04:00
Jose Diaz-Gonzalez
c8afdb553d Merge pull request #6700 from dokku/traefik-remove-priority
Remove traefik priority functionality
2024-03-12 23:29:49 -04:00
Jose Diaz-Gonzalez
68d05b230d refactor: simplify file ownership in the container by setting the process ownership during the build process
Rather than require a heavy chown operation across various paths, just chown the files already in the built image during the release process. This ensures we can skip not-only the chown process during the container start that herokuish injects, but also the one that Dokku runs which modifies mounted container paths as well during the pre-deploy.

Note that users will need to ensure any mounted volumes don't have permissions reset by other processes or containers won't be able to access them.
2024-03-12 22:27:39 -04:00
Jose Diaz-Gonzalez
d2b167d6ad Merge pull request #6681 from dokku/k3s-ingress-per-domain
Migrate to single ingress per app/domain combination
2024-03-12 22:22:45 -04:00
Jose Diaz-Gonzalez
ee08b8c0fd chore: remove traefik priority functionality
Setting a priority appears to cause minor outages in certain cases, so we should just avoid setting it on behalf of users and allow them to set this directly.
2024-03-12 22:21:16 -04:00
Jose Diaz-Gonzalez
455c59a4b7 Merge pull request #6588 from ipp-net/feature/add-latest-tag
add extra tags to every image dokku push when push-extra-tags are set
2024-03-12 20:52:18 -04:00
Jose Diaz-Gonzalez
c840fc5f9e feat: wait until helm charts are installed before marking a deploy as failed or completed
This ensures applications are actually up vs giving a false sense of security to users about the state of their applications.
2024-03-12 08:39:22 -04:00
Jose Diaz-Gonzalez
a90c441095 tests: run tests with a specified server ip 2024-03-12 06:30:21 -04:00
Jose Diaz-Gonzalez
25469845e1 fix: correct testcase for metabase deploy 2024-03-12 05:06:36 -04:00
Jose Diaz-Gonzalez
59958181e4 tests: add initial test for exposed dockerfile port 2024-03-11 23:32:19 -04:00
Krzysztof Taraszka
c4c961bef1 add bats test for push-extra-tags 2024-03-10 16:46:59 +01:00
Jose Diaz-Gonzalez
2a21524a4a tests: split out k3s tests to speed up ci 2024-03-06 19:02:53 -05:00