Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kamal 2 compatibility #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.gem
.DS_Store
Gemfile.lock
134 changes: 0 additions & 134 deletions Gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion kamal-skiff.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.files = Dir["lib/**/*", "MIT-LICENSE", "README.md"]
spec.executables = %w[ skiff ]

spec.add_dependency "kamal", ">= 1.0"
spec.add_dependency "kamal", ">= 2.0"
spec.add_dependency "thor", "~> 1.2"

spec.add_development_dependency "debug"
Expand Down
10 changes: 7 additions & 3 deletions lib/skiff/templates/config/deploy.yml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ env:
secret:
- GIT_URL

proxy:
healthcheck:
path: /up.html

# Credentials for your image host.
registry:
# Specify the registry server, if you're not using Docker Hub
Expand All @@ -24,9 +28,9 @@ registry:
password:
- SKIFF_REGISTRY_PASSWORD

# Check /up against 80
healthcheck:
port: 80
# Configure builder setup.
builder:
arch: amd64

# Use a different ssh user than root
# ssh:
Expand Down