Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
666 commits
Select commit Hold shift + click to select a range
77af918
Merge branch 'master' into removed-captain-prefixes
githubsaturn Oct 13, 2025
6fe8698
adding report for unused fields so that we can better prioritize addi…
githubsaturn Oct 14, 2025
5d03bb3
Fixed tests
githubsaturn Oct 14, 2025
26e14f7
Fix typo
rosano Oct 21, 2025
7772577
Merge pull request #2350 from rosano/patch-1
githubsaturn Oct 21, 2025
78a9b0c
Updated Docker API version
githubsaturn Nov 11, 2025
2e121e8
Updated Docker API version
githubsaturn Nov 11, 2025
547fb31
Merge branch 'master' of github.com:caprover/caprover
githubsaturn Nov 11, 2025
3589547
Updated Docker API version
githubsaturn Nov 11, 2025
6e78650
Merge pull request #2352 from caprover/hotfix-api-docker
githubsaturn Nov 11, 2025
4801585
Merge pull request #2353 from caprover/release
githubsaturn Nov 11, 2025
1f54088
Fixed https://github.com/caprover/caprover/issues/2354
githubsaturn Nov 11, 2025
0b3fdd3
Implemented BuildKit https://github.com/caprover/caprover/issues/1582
githubsaturn Nov 28, 2025
1c501b8
#2259 Enable gzip compression for apps
dshook Nov 29, 2025
7a8aaf8
Make whitespace consistent
dshook Nov 29, 2025
53411da
PR feedback
dshook Nov 30, 2025
53e9467
Merge pull request #2360 from dshook/gzip-config
githubsaturn Dec 1, 2025
cfe02af
Updated https://github.com/caprover/caprover/pull/2360
githubsaturn Dec 1, 2025
61776ea
Updated changelog
githubsaturn Dec 1, 2025
93c7981
Add support for new ANONYMIZE_IP env in goAccess
rklos Dec 1, 2025
3ad3ef5
Merge pull request #2362 from rklos/anonymise-ips
githubsaturn Dec 3, 2025
edee7d8
Fixed issue raised in https://github.com/caprover/caprover/pull/2362\…
githubsaturn Dec 4, 2025
45d0977
Updated changelog
githubsaturn Dec 4, 2025
38a45df
Add PATCH /update/ endpoint for partial app definition updates
ivnnv Jan 30, 2026
60a1fd8
fix null case / format
ivnnv Jan 31, 2026
78d57c9
more maintainable implementation
ivnnv Jan 31, 2026
ca844fc
Merge pull request #2372 from ivnnv/api-patch-app-definition
githubsaturn Jan 31, 2026
bf1beb5
Append leader hostname to backup filename (#1257)
hamza-younas94 Apr 10, 2026
7657d82
Merge pull request #2389 from hamza-younas94/backup-filename-include-…
githubsaturn Apr 12, 2026
9fd0eb5
Updated changelog
githubsaturn Apr 12, 2026
c24ba64
Add Croatian (hr-HR) language support to the frontend
codedoga Apr 28, 2026
dd9ebc9
Fixed nginx critical vul
githubsaturn May 14, 2026
3d7817e
Updated version
githubsaturn May 14, 2026
8103268
Merge pull request #2399 from caprover/hotfix-nginx
githubsaturn May 14, 2026
3b22ac6
Merge pull request #2400 from caprover/release
githubsaturn May 14, 2026
ac30f0b
Added missing changelog
githubsaturn May 18, 2026
ba4e01a
Merge pull request #2393 from codedoga/patch-1
githubsaturn May 18, 2026
aca1df7
Set base nginx worker_processes to auto
bestony Jul 15, 2026
70dc901
Merge pull request #2411 from bestony/agent/pi-musk/71e65a6c
githubsaturn Jul 16, 2026
198eaa0
Prevent malformed config from being overwritten
githubsaturn Jul 17, 2026
d21d57a
Document config file corruption fix
githubsaturn Jul 17, 2026
cd16566
Allow larger webhook payloads
githubsaturn Jul 17, 2026
f9bf8eb
Merge pull request #2416 from caprover/agent/fix-large-webhook-payloads
githubsaturn Jul 17, 2026
bb19468
Merge branch 'master' into agent/prevent-malformed-config-wipe
githubsaturn Jul 17, 2026
5252351
Merge pull request #2413 from caprover/agent/prevent-malformed-config…
githubsaturn Jul 17, 2026
5b64e41
Safely clean up orphaned certificates
githubsaturn Jul 17, 2026
0023189
Collect active SSL domains
githubsaturn Jul 17, 2026
869aace
Test orphaned certificate lifecycle
githubsaturn Jul 17, 2026
2453ff8
Document orphaned certificate cleanup
githubsaturn Jul 17, 2026
36eed61
Observe orphaned certificates without deleting them
githubsaturn Jul 18, 2026
e4a9584
Run orphan observation after legacy renewal
githubsaturn Jul 18, 2026
3699872
Test orphan certificate observation
githubsaturn Jul 18, 2026
5f0711d
Describe orphan certificate observation
githubsaturn Jul 18, 2026
5192066
Update CHANGELOG.md
githubsaturn Jul 18, 2026
56343fc
Merge pull request #2415 from caprover/agent/cleanup-orphaned-certifi…
githubsaturn Jul 18, 2026
7c7d2b3
Harden service and volume naming migration
githubsaturn Jul 19, 2026
e80dc6d
Harden service and volume naming migration
githubsaturn Jul 19, 2026
c7bd1b9
Harden service and volume naming migration
githubsaturn Jul 19, 2026
8716607
Harden service and volume naming migration
githubsaturn Jul 19, 2026
e301b90
Add naming migration regression tests
githubsaturn Jul 19, 2026
a5fd687
Format naming migration changes
githubsaturn Jul 19, 2026
b94a34c
Format naming migration changes
githubsaturn Jul 19, 2026
ab46c51
Restore scoped formatting
githubsaturn Jul 19, 2026
f86744a
Restore scoped formatting
githubsaturn Jul 19, 2026
922ed3f
Restore scoped formatting
githubsaturn Jul 19, 2026
7e0115a
Allow deleting apps with legacy names
githubsaturn Jul 19, 2026
d4a9188
Test deletion of legacy app names
githubsaturn Jul 19, 2026
7c08553
Remove over-specific deletion test
githubsaturn Jul 19, 2026
e329ded
Merge pull request #2418 from caprover/agent/remove-delete-name-valid…
githubsaturn Jul 19, 2026
2b7786f
Add legacy DNS aliases for new app services
githubsaturn Jul 19, 2026
64be9a9
Reject orphaned legacy service collisions
githubsaturn Jul 19, 2026
846d1d4
Check legacy DNS alias before app registration
githubsaturn Jul 19, 2026
d1f06c1
Test DNS alias compatibility and collisions
githubsaturn Jul 19, 2026
9b2a27e
Validate app names before checking DNS aliases
githubsaturn Jul 19, 2026
6031b6b
Preserve aliases when rebuilding networks
githubsaturn Jul 19, 2026
f946ed8
Test alias preservation across network rebuilds
githubsaturn Jul 19, 2026
86d4f9e
Fix Netdata SMTP sender address
githubsaturn Jul 19, 2026
363d971
Merge pull request #2420 from caprover/agent/fix-netdata-smtp-from
githubsaturn Jul 19, 2026
e91333d
Remove orphaned service collision check
githubsaturn Jul 19, 2026
a813db1
Remove one-off legacy service preflight
githubsaturn Jul 19, 2026
40cb40d
Remove orphaned service collision test
githubsaturn Jul 19, 2026
df16729
Restore original rename validation flow
githubsaturn Jul 19, 2026
1b81eb3
Limit DNS alias handling to app services
githubsaturn Jul 19, 2026
d2b9814
Rebuild app network attachments from scratch
githubsaturn Jul 19, 2026
e0e1a5f
Remove network metadata preservation test
githubsaturn Jul 19, 2026
e668e04
Narrow network attachment type
githubsaturn Jul 19, 2026
05f56a9
Reject missing apps before bulk deletion
githubsaturn Jul 19, 2026
43cb3ee
Extract app deletion preflight validation
githubsaturn Jul 19, 2026
fe2819c
Test bulk deletion missing-app validation
githubsaturn Jul 19, 2026
67107ed
Format app deletion validation helper
githubsaturn Jul 19, 2026
5deaedc
Apply Prettier formatting
githubsaturn Jul 19, 2026
3a6f967
Harden app deletion preflight
githubsaturn Jul 19, 2026
18bff1f
Test inherited app-name rejection
githubsaturn Jul 19, 2026
ecc106b
Merge pull request #2328 from caprover/removed-captain-prefixes
githubsaturn Jul 19, 2026
fb90f2a
Merge pull request #2421 from caprover/agent/add-legacy-service-dns-a…
githubsaturn Jul 19, 2026
71c458b
Add CapRover label to managed services
githubsaturn Jul 19, 2026
d71db34
Label services during updates
githubsaturn Jul 19, 2026
46e5ca4
Merge pull request #2422 from caprover/agent/add-caprover-service-label
githubsaturn Jul 20, 2026
5a29edc
Initial plan
Copilot Jul 20, 2026
f4b662d
Fix arm64 Docker build failure: use multi-stage build with --platform…
Copilot Jul 20, 2026
65fb121
Merge pull request #2423 from caprover/copilot/fix-build-publish-dock…
githubsaturn Jul 20, 2026
1390323
Expose and protect legacy app name flag
githubsaturn Jul 20, 2026
03afe60
Expose and protect legacy app name flag
githubsaturn Jul 20, 2026
4a095fc
Expose and protect legacy app name flag
githubsaturn Jul 20, 2026
45c4912
Merge pull request #2424 from caprover/agent/expose-and-protect-legac…
githubsaturn Jul 20, 2026
de505a1
Add Japanese (ja-JP) language support to the frontend
sanbungi Jul 29, 2026
bc7685d
Merge pull request #2442 from sanbungi/master
githubsaturn Jul 29, 2026
3d17567
Add concise Claude guidance
githubsaturn Jul 30, 2026
1e70bba
Merge pull request #2443 from caprover/agent/add-claude-md
githubsaturn Jul 30, 2026
335ec29
docs: add persistent volume warning to changelog
githubsaturn Jul 31, 2026
1741983
Merge pull request #2444 from caprover/agent/add-volume-warning-chang…
githubsaturn Jul 31, 2026
5238edf
Updated file mode comment
githubsaturn Aug 2, 2026
2bf189f
Updated agents
githubsaturn Aug 2, 2026
56b2083
Standardize changelog release headings
githubsaturn Aug 4, 2026
b0c1c92
Merge pull request #2445 from caprover/agent/standardize-changelog-fo…
githubsaturn Aug 4, 2026
48f861b
Updated the frontend hash
githubsaturn Aug 5, 2026
c2a01b0
Updated version
githubsaturn Aug 5, 2026
aca08cd
Upgrade Node.js to 24
githubsaturn Aug 5, 2026
2d997a6
Updated version
githubsaturn Aug 5, 2026
b38a562
Merge pull request #2447 from caprover/master
githubsaturn Aug 5, 2026
562dc34
Merge pull request #2449 from caprover/release
githubsaturn Aug 5, 2026
734cfba
Update setup-node action to v5
githubsaturn Aug 5, 2026
292df7d
Drop unsupported ARMv7 image builds
githubsaturn Aug 5, 2026
d46c42d
Update changelog for Node.js 24
githubsaturn Aug 5, 2026
62d3382
Merge pull request #2448 from caprover/agent/upgrade-nodejs-24
githubsaturn Aug 6, 2026
998186b
Updated package with node 24
githubsaturn Aug 6, 2026
6666a19
Merge branch 'master' of github.com:caprover/caprover
githubsaturn Aug 6, 2026
4d8af21
Fix app upload route typing
githubsaturn Aug 6, 2026
3aa9132
Merge pull request #2452 from caprover/agent/fix-app-upload-route-typing
githubsaturn Aug 6, 2026
7711b02
Fix one-click service analytics iteration
githubsaturn Aug 8, 2026
3e3e925
Test keyed one-click service maps
githubsaturn Aug 8, 2026
e611795
Bump version to 1.15.1
githubsaturn Aug 8, 2026
6a65444
Add 1.15.1 changelog entry
githubsaturn Aug 8, 2026
2dd5985
Merge pull request #2453 from caprover/agent/fix-one-click-services-a…
githubsaturn Aug 8, 2026
e290302
Merge pull request #2454 from caprover/release
githubsaturn Aug 8, 2026
b8a7244
Fix legacy Captain NGINX template compatibility
githubsaturn Aug 15, 2026
77f5e56
Document legacy NGINX template compatibility
githubsaturn Aug 15, 2026
1268375
Merge pull request #2457 from caprover/agent/fix-legacy-captain-nginx…
githubsaturn Aug 15, 2026
e245a0c
Fix legacy Captain NGINX template compatibility
githubsaturn Aug 15, 2026
eb1ecd0
Bump version to 1.15.2
githubsaturn Aug 15, 2026
89a6f50
Update frontend for 1.15.2
githubsaturn Aug 15, 2026
2d6d286
Add 1.15.2 changelog entry
githubsaturn Aug 15, 2026
b04c853
Merge pull request #2458 from caprover/agent/release-1.15.2
githubsaturn Aug 15, 2026
9ee01d9
Merge pull request #2459 from caprover/release
githubsaturn Aug 15, 2026
9b8bf87
Release 1.15.3
githubsaturn Aug 16, 2026
57a7743
Use frontend with tar upload fix
githubsaturn Aug 20, 2026
dc9add0
Add dashboard tar upload fix to changelog
githubsaturn Aug 20, 2026
146168b
Add BuildKit failure path coverage
githubsaturn Aug 20, 2026
e9a618b
Merge pull request #2462 from caprover/agent/fix-buildkit-build-logs
githubsaturn Aug 20, 2026
c352c97
Merge pull request #2465 from caprover/release
githubsaturn Aug 20, 2026
9dfb85f
Release 1.15.4
githubsaturn Aug 30, 2026
c0db36f
Merge pull request #2467 from caprover/agent/release-1.15.4
githubsaturn Aug 30, 2026
32d3f3e
Merge pull request #2468 from caprover/release
githubsaturn Aug 30, 2026
c0ea056
Draft GitHub releases after image publishing
githubsaturn Aug 30, 2026
0e6bd3d
Address release workflow review feedback
githubsaturn Aug 30, 2026
24d4f25
Preserve release script escaping
githubsaturn Aug 30, 2026
a2d4e6d
Temporarily test draft release permissions
githubsaturn Aug 30, 2026
65dda7d
Remove temporary release workflow test
githubsaturn Aug 30, 2026
9ac7da7
Merge pull request #2469 from caprover/agent/draft-github-releases
githubsaturn Aug 30, 2026
a906497
Organize release tooling
githubsaturn Aug 31, 2026
c97de60
Harden draft release tag validation
githubsaturn Aug 31, 2026
9fbc7af
Merge pull request #2470 from caprover/agent/organize-release-tooling
githubsaturn Aug 31, 2026
db442b6
Consolidate release build scripts
githubsaturn Aug 31, 2026
09f51c8
Simplify consolidated release script
githubsaturn Aug 31, 2026
7f45f16
Make qemu installation non-interactive
githubsaturn Aug 31, 2026
becce5f
Merge pull request #2471 from caprover/agent/consolidate-release-buil…
githubsaturn Aug 31, 2026
5b81de0
Replace Node release validator with shell
githubsaturn Aug 31, 2026
babbe2b
Install jq for release validation
githubsaturn Aug 31, 2026
f01a90b
Merge pull request #2472 from caprover/agent/replace-release-validator
githubsaturn Aug 31, 2026
753e49b
Consolidate release configuration
githubsaturn Sep 6, 2026
d69e575
Merge pull request #2474 from caprover/agent/consolidate-release-config
githubsaturn Sep 6, 2026
686428f
Unify production releases through release branch
githubsaturn Sep 6, 2026
6cdfe81
Harden release workflow validation
githubsaturn Sep 6, 2026
79c47fb
Harden release recovery and naming
githubsaturn Sep 6, 2026
9d675de
Simplify and harden release automation
githubsaturn Sep 6, 2026
261a780
Harden release credential handling
githubsaturn Sep 6, 2026
eb6d4d5
Use version tags for official actions
githubsaturn Sep 6, 2026
44480ae
Merge pull request #2476 from caprover/agent/unify-production-release…
githubsaturn Sep 6, 2026
0311975
chore: add temporary lockfile update workflow
githubsaturn Sep 6, 2026
01d7dad
chore: modernize lint and TypeScript config
githubsaturn Sep 6, 2026
82b0cb2
chore: modernize lint and TypeScript config
githubsaturn Sep 6, 2026
2340779
chore: refresh TypeScript lint tooling
githubsaturn Sep 6, 2026
273a673
chore: update tooling lockfile
github-actions[bot] Sep 6, 2026
e2e14ea
chore: remove temporary lockfile workflow
githubsaturn Sep 6, 2026
c381f01
chore: apply updated Prettier formatting
githubsaturn Sep 6, 2026
5522c06
Merge pull request #2477 from caprover/chore/modernize-typescript-lin…
githubsaturn Sep 6, 2026
6510aa8
Updated package.json
githubsaturn Sep 7, 2026
e9bea1d
Replace deprecated request dependency
githubsaturn Sep 7, 2026
d8b64ab
Add coverage for version update checks
githubsaturn Sep 7, 2026
3e96051
Merge pull request #2478 from caprover/cleanup/replace-request
githubsaturn Sep 7, 2026
fdfb1ec
Upgrade Dockerode to version 5
githubsaturn Sep 7, 2026
93797bf
Merge pull request #2479 from caprover/deps/dockerode-5
githubsaturn Sep 7, 2026
8979791
Upgrade lint tooling to ESLint 10
githubsaturn Sep 7, 2026
178a934
Merge pull request #2480 from caprover/tooling/eslint-10
githubsaturn Sep 7, 2026
fa554ff
Upgrade public-ip to version 8
githubsaturn Sep 7, 2026
715be25
Merge pull request #2481 from caprover/deps/public-ip-8
githubsaturn Sep 7, 2026
877ce38
Upgrade EJS and replace Moment
githubsaturn Sep 7, 2026
468e925
Merge pull request #2482 from caprover/deps/ejs-6-remove-moment
githubsaturn Sep 7, 2026
3d97342
Fix SSH git clones with simple-git 3.36
githubsaturn Sep 14, 2026
76bdfa3
Add regression tests for SSH git clones
githubsaturn Sep 14, 2026
66d8f05
Preserve fs-extra APIs in GitHelper test
githubsaturn Sep 14, 2026
edfdf56
Preserve GitHelper clone return behavior
githubsaturn Sep 14, 2026
43ae30f
Test SSH clone return behavior
githubsaturn Sep 14, 2026
64d7a44
Require simple-git 3.36
githubsaturn Sep 14, 2026
d4bec4a
Update simple-git lockfile requirement
githubsaturn Sep 14, 2026
ffba3e5
Merge pull request #2485 from caprover/fix-simple-git-ssh-deploys
githubsaturn Sep 15, 2026
b46542c
Delete expiring orphaned certificates before renewal
githubsaturn Sep 16, 2026
80f07b8
Make orphan certificate deletion race-safe
githubsaturn Sep 17, 2026
9c35b9f
Delete orphaned certificates after expiration grace period
githubsaturn Sep 17, 2026
3ad2b12
Simplify orphan certificate cleanup inputs
githubsaturn Sep 17, 2026
43d4ef8
Test certificate cleanup renewal flow
githubsaturn Sep 17, 2026
47a270f
Keep cleanup assertion failures visible
githubsaturn Sep 17, 2026
698fd92
Merge pull request #2486 from caprover/agent/delete-orphaned-certific…
githubsaturn Sep 17, 2026
433e0d6
Tag edge images with commit SHA
githubsaturn Sep 18, 2026
ac51693
Merge pull request #2488 from caprover/agent/edge-commit-sha-tags
githubsaturn Sep 18, 2026
1957fe1
Add edge tag cleanup script
githubsaturn Sep 19, 2026
5050e72
Clean up old edge commit tags after publish
githubsaturn Sep 19, 2026
58982d1
Serialize edge publishing
githubsaturn Sep 19, 2026
f08e313
Harden edge tag cleanup
githubsaturn Sep 19, 2026
2662a70
Hard-code edge cleanup repository
githubsaturn Sep 19, 2026
43f9980
Merge pull request #2489 from caprover/agent/cleanup-edge-tags
githubsaturn Sep 19, 2026
16c7fed
Keep Captain connections alive during NGINX reloads
githubsaturn Sep 20, 2026
1c04a91
Remove redundant NGINX directive test
githubsaturn Sep 21, 2026
6b50009
Merge pull request #2491 from caprover/fix/nginx-reload-keepalive
githubsaturn Sep 21, 2026
be72b85
fix: preserve custom port metadata
githubsaturn Sep 21, 2026
9bab411
fix: preserve custom port publish mode on updates
githubsaturn Sep 21, 2026
a1682fa
test: cover custom port persistence
githubsaturn Sep 21, 2026
e724bb0
Merge pull request #2492 from caprover/fix/custom-port-persistence
githubsaturn Sep 21, 2026
f124c6a
fix: reject duplicate custom domains across apps
githubsaturn Sep 21, 2026
484a174
Merge pull request #2493 from caprover/fix/custom-domain-uniqueness
githubsaturn Sep 21, 2026
e6cb4e4
Extend Captain reload keepalive window
githubsaturn Sep 21, 2026
f6dd7dc
Merge pull request #2494 from caprover/fix/nginx-reload-keepalive-window
githubsaturn Sep 21, 2026
369fcf0
fix: return unauthorized for invalid app deploy tokens
githubsaturn Sep 22, 2026
cb12183
Merge pull request #2495 from caprover/fix/deploy-token-authorization
githubsaturn Sep 22, 2026
1307f10
fix: preserve backup archive data layout
githubsaturn Sep 22, 2026
d497a7d
fix: finish failed backup download responses
githubsaturn Sep 22, 2026
c9b25a9
fix: type download transfer errors
githubsaturn Sep 22, 2026
c88fe0e
refactor: make backup copy failures observable
githubsaturn Sep 22, 2026
576d069
test: cover backup copy layout and failures
githubsaturn Sep 22, 2026
340b200
style: format backup copy tests
githubsaturn Sep 22, 2026
22fb711
refactor: isolate download completion handling
githubsaturn Sep 22, 2026
d0814d6
test: cover one-time backup download failures
githubsaturn Sep 22, 2026
f5199d9
fix: normalize malformed backup layout during restore
githubsaturn Sep 22, 2026
20e4cea
docs: add backup restore fix to changelog
githubsaturn Sep 22, 2026
743ae05
fix: retain backup manager in extraction chain
githubsaturn Sep 22, 2026
f11f2b1
test: restore malformed nested backup layout
githubsaturn Sep 22, 2026
1df3689
Merge pull request #2496 from caprover/fix/backup-download-contract
githubsaturn Sep 22, 2026
275dedc
Merge master into fix/restore-malformed-backup-layout
githubsaturn Sep 22, 2026
e7c3faf
test: reject malformed backup without config
githubsaturn Sep 22, 2026
37fe03e
Merge pull request #2497 from caprover/fix/restore-malformed-backup-l…
githubsaturn Sep 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
/currentdirectory
/node_modules
/built
/dist-frontend
/captain-sample-apps

# JetBrains
Expand All @@ -17,4 +16,7 @@
npm-debug.log


.DS_Store
.DS_Store

.github
.vscode
15 changes: 5 additions & 10 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,22 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**IMPORTANT:** This is a bug report. If you are having problem with deploying a particular app use the deployment issue type.

> If you are having problems with deploying a particular app using a customized dockerfile - please change your questions to Dockerfile and post it where appropriate such as StackOverflow. This is a Docker question, not a CapRover specific issue.

--------------------------------------------------------------------------
---

What is the problem?



If applicable, content of `captain-definition` file:



Steps to reproduce the problem:

Output of the following command on your server:


Answers to the following questions where applicable:
- Your OS and version?
- RAM?
```
uname -a && lsb_release -a && free -h
```
17 changes: 6 additions & 11 deletions .github/ISSUE_TEMPLATE/deployment-issue.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
---
name: Deployment Issue
about: Problem with deploying your apps
title: "[Deployment Issue]"
title: '[Deployment Issue]'
labels: deployment-issue
assignees: ''

---

**IMPORTANT:** Please avoid posting issues that are not specific to CapRover. Issues and questions related to Docker will get closed.

> If you are trying to see how to deploy a particular app using a customized dockerfile - please change your questions to Dockerfile and post it where appropriate such as StackOverflow. This is a Docker question, not a CapRover specific issue.

--------------------------------------------------------------------------
---

What is the problem?



If applicable, content of `captain-definition` file:



Steps to reproduce the problem:

Output of the following command on your server:


Answers to the following questions if applicable:
- Your OS and version?
- RAM?
```
uname -a && lsb_release -a && free -h
```
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Please make sure you have read [contribution guidelines](https://github.com/capr

### Most important items

- Make sure to communicate your proposed changes ob our Slack channel beforehand.
- Make sure to communicate your proposed changes on our Slack channel beforehand.
- Large PRs (50+ lines of code) will get rejected due to increased difficulty for review - unless they have been communicated beforehand with project maintainers.
- **Refactoring work will get rejected** unless it's been communicated with project's maintainers **beforehand**. There is a thousand ways to write the same code. Every time a code is changed, there is a potential for a new bug. We don't want to refactor the code just for the sake of refactoring.

Expand Down
34 changes: 20 additions & 14 deletions .github/workflows/build_project.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
name: Run build

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
- release

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: sudo mkdir /captain && npm ci && npm run build && sudo npm run test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v5
with:
node-version: 24
- run: |
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
npm ci
npm run build
npm run test
30 changes: 16 additions & 14 deletions .github/workflows/format_project.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: Run formatter

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
- release

jobs:
check-code-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm ci && npm run formatter
check-code-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v5
with:
node-version: 24
- run: npm ci && npm run formatter
34 changes: 20 additions & 14 deletions .github/workflows/lint_project.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
name: Run lint

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
- release

jobs:
run-tslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm ci && npm run tslint
run-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v5
with:
node-version: 24
- run: |
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
npm ci
npm run lint
npm run test
54 changes: 44 additions & 10 deletions .github/workflows/publish_edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,64 @@ on:
branches:
- master

concurrency:
group: edge-publish
queue: max

permissions:
contents: read

jobs:
run-pre-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v5
with:
node-version: 14
node-version: 24
- run: |
sudo mkdir /captain
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
npm ci
npm run build
npm run tslint
npm run lint
npm run formatter
sudo npm run test
build-publish-docker-hub:
npm run test
prepare-frontend:
needs: run-pre-checks
runs-on: ubuntu-latest
steps:
- uses: azure/docker-login@v1
- uses: actions/checkout@v4
- name: Build edge frontend
shell: bash
run: ./release/build-and-push.sh edge frontend
- uses: actions/upload-artifact@v4
with:
name: edge-frontend
path: dist-frontend
if-no-files-found: error
retention-days: 1
build-publish-docker-hub:
needs: prepare-frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: edge-frontend
path: dist-frontend
- name: Prepare multi-platform builder
shell: bash
run: ./release/build-and-push.sh edge docker-setup
- uses: docker/login-action@v3
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- uses: actions/checkout@v1
- name: Build and Push Edge to DockerHub
shell: bash
run: ./dev-scripts/build_and_push_edge.sh
run: ./release/build-and-push.sh edge publish
- name: Clean up old edge commit tags
shell: bash
env:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: bash ./release/cleanup-edge-tags.sh
74 changes: 64 additions & 10 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,84 @@ on:
branches:
- release

concurrency:
group: production-release
queue: max

permissions:
contents: read

jobs:
run-pre-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v5
with:
node-version: 14
node-version: 24
- run: |
sudo mkdir /captain
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
npm ci
npm run build
npm run tslint
npm run lint
npm run formatter
sudo npm run test
build-publish-docker-hub:
npm run test
prepare-frontend:
needs: run-pre-checks
runs-on: ubuntu-latest
steps:
- uses: azure/docker-login@v1
- uses: actions/checkout@v4
- name: Build release frontend
shell: bash
run: ./release/build-and-push.sh release frontend
- uses: actions/upload-artifact@v4
with:
name: release-frontend
path: dist-frontend
if-no-files-found: error
retention-days: 1
build-publish-docker-hub:
needs: prepare-frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: release-frontend
path: dist-frontend
- name: Prepare multi-platform builder
shell: bash
run: ./release/build-and-push.sh release docker-setup
- uses: docker/login-action@v3
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- uses: actions/checkout@v1
- name: Build and Push Release to DockerHub
shell: bash
run: ./dev-scripts/build_and_push_release.sh
run: ./release/build-and-push.sh release publish
draft-github-release:
needs: build-publish-docker-hub
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create draft GitHub release
env:
GH_TOKEN: ${{ github.token }}
shell: bash
run: ./release/create-draft-release.sh
backmerge-release:
needs: draft-github-release
permissions:
actions: write
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Open release backmerge PR
env:
GH_TOKEN: ${{ github.token }}
shell: bash
run: ./release/create-backmerge-pr.sh
Loading