From 0519e95be5222d55bd501354e4f06754c7ad9bc7 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 26 May 2023 12:04:38 +0530 Subject: [PATCH] fix: add flyctl and sync config --- flake.nix | 2 +- fly.toml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 4a8ae24..eb5e670 100644 --- a/flake.nix +++ b/flake.nix @@ -114,7 +114,7 @@ devShells.default = pkgs.mkShell { inputsFrom = builtins.attrValues self.checks; - nativeBuildInputs = with pkgs; [cargo-nextest cargo-release nil rustNightly]; + nativeBuildInputs = with pkgs; [cargo-nextest cargo-release flyctl nil rustNightly]; CARGO_REGISTRIES_CRATES_IO_PROTOCOL = "sparse"; }; diff --git a/fly.toml b/fly.toml index b107d86..7d15e79 100644 --- a/fly.toml +++ b/fly.toml @@ -1,7 +1,12 @@ +# fly.toml app configuration file generated for linkleaner on 2023-05-26T12:03:42+05:30 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + app = "linkleaner" +primary_region = "ams" kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] +kill_timeout = "5s" [build] image = "registry.fly.io/linkleaner:latest"