Jose Diaz-Gonzalez
5cd86d23e6
tests: add tests for scaling without restarting untouched process types
2025-06-30 01:48:09 -04:00
Jose Diaz-Gonzalez
398a78b2f6
refactor: move cron-write to scheduler-cron-write
2025-06-10 21:45:08 -04:00
Jose Diaz-Gonzalez
3ae19a8364
Merge pull request #7585 from dokku/7226-ps-rebuild-image-respect
...
Add test to prove Dokku respects the Procfile when deploying from an image
2025-05-24 22:07:29 -04:00
Jose Diaz-Gonzalez
b4c3c6fb71
Revert "fix: update CID count in ps tests"
2025-04-17 23:50:36 -04:00
Jose Diaz-Gonzalez
0b817f0313
fix: update CID count in ps tests
...
Docker updated the output of inspect so now it's there 6 times, not 7.
2025-04-15 22:35:35 -04:00
Álvaro Justen (@turicas)
96bb17d70c
Fix paketo chown option
2025-03-10 12:50:46 -03:00
Jose Diaz-Gonzalez
77cfa63196
tests: add test to prove Dokku respects the Procfile when deploying from an image
...
Any subsequent ps:rebuild should always respect the image for fetching files. This test proves this works.
Closes #7375
2025-03-09 09:38:25 -04:00
Jose Diaz-Gonzalez
65dd4bc1e0
feat: set shm-size volume/volumeMounts on kubernetes deployments
2025-03-06 22:59:35 -05:00
Jose Diaz-Gonzalez
c29023c32f
fix: update CID count in ps tests
...
Docker updated the output of inspect so now it's there 6 times, not 7.
2025-02-27 22:35:41 -06:00
Jose Diaz-Gonzalez
d6a5c5ef11
fix: update test for newer git version
...
The newer git version seems to remove the branches directory for some odd reason. I've attempted debugging this but that git version isn't available for Ubuntu 24.04 - Github Actions seems to install it regardless.
Rather than waste cycles, just remove it from CI.
2025-02-27 22:38:18 -05:00
Jose Diaz-Gonzalez
217e3c3d7e
fix: add missing newline
2025-02-02 01:45:05 -05:00
Jose Diaz-Gonzalez
e1af6ad1f9
fix: ensure all report subcommands exit 0 when there is no app
...
Closes #7454
2025-02-02 01:37:20 -05:00
Jose Diaz-Gonzalez
bc6f75fedd
tests: update test output
2025-01-04 21:48:55 -05:00
Jose Diaz-Gonzalez
c59656f610
tests: update test output
2025-01-04 11:38:01 -05:00
Jose Diaz-Gonzalez
869f9a0346
feat: allow specifying a custom app label alias when shipping logs via vector
...
Closes #7354
2025-01-03 23:38:20 -05:00
Jose Diaz-Gonzalez
bfb95e632c
tests: revert change to scheduler-k3s bats tests
2024-12-03 00:55:50 -05:00
Jose Diaz-Gonzalez
f685b5cedc
chore: update go modules
2024-12-03 00:54:04 -05:00
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