Skip to content
Merged
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
10 changes: 0 additions & 10 deletions .github/dependabot.yml

This file was deleted.

6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
# check=error=true

# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
# docker build --tag fleetfocus-api --build-arg RUBY_VERSION="$(cat .ruby-version)" .
# docker build --tag fleetfocus-api .
# docker run --interactive --tty --publish 80:80 --env MASTER_KEY="$(cat config/fleetfocus-api.key)" fleetfocus-api

# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
ARG RUBY_VERSION=OVERRIDE_ME
FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
FROM ruby:3.4.8-slim AS base

# App lives here
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

source 'https://rubygems.org'
ruby file: '.ruby-version'
ruby '3.4.8'

gem 'activesupport', require: 'active_support/all'
gem 'exception_notification'
Expand Down
6 changes: 0 additions & 6 deletions config/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<%
def project_root
KAMAL.configured?[:config_file].join('../..')
end

def user_for(host)
Net::SSH::Config.for(host).fetch(:user, ENV.fetch('USER', nil))
end
Expand All @@ -20,8 +16,6 @@ registry:
server: localhost:5555
builder:
arch: amd64
args:
RUBY_VERSION: <%= project_root.join('.ruby-version').read.strip %>
Comment thread
werebus marked this conversation as resolved.
env:
clear:
TZ: 'America/New_York'
Expand Down
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>umts/renovate-config:base"
]
}