diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-29 09:25:57 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-29 09:25:57 -0700 |
commit | 12538a179736a8ba434abf29403d9a2a26ad661c (patch) | |
tree | 23199676d037fc3bcaa69f02b011aa0174fc6329 /tools | |
parent | Merge remote-tracking branch 'govanity/main' (diff) | |
download | world-12538a179736a8ba434abf29403d9a2a26ad661c.tar.gz |
tools(govanity): remove unneeded files
These files are not needed in the monorepo. Change-Id: I742316d7a6fae817bedbcd2e1f91963bc24c91b7
Diffstat (limited to 'tools')
-rw-r--r-- | tools/govanity/.drone.yml | 18 | ||||
-rw-r--r-- | tools/govanity/.envrc | 1 | ||||
-rw-r--r-- | tools/govanity/.gitignore | 1 | ||||
-rw-r--r-- | tools/govanity/flake.lock | 90 | ||||
-rw-r--r-- | tools/govanity/flake.nix | 37 |
5 files changed, 0 insertions, 147 deletions
diff --git a/tools/govanity/.drone.yml b/tools/govanity/.drone.yml deleted file mode 100644 index ee50017..0000000 --- a/tools/govanity/.drone.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -kind: pipeline -type: exec -name: default - -trigger: - event: - - push - branch: - - main - -steps: - - name: deploy - environment: - FLY_API_TOKEN: - from_secret: FLY_API_TOKEN - commands: - - nix run .#deploy diff --git a/tools/govanity/.envrc b/tools/govanity/.envrc deleted file mode 100644 index 3550a30..0000000 --- a/tools/govanity/.envrc +++ /dev/null @@ -1 +0,0 @@ -use flake diff --git a/tools/govanity/.gitignore b/tools/govanity/.gitignore deleted file mode 100644 index c4a847d..0000000 --- a/tools/govanity/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/result diff --git a/tools/govanity/flake.lock b/tools/govanity/flake.lock deleted file mode 100644 index a334e5c..0000000 --- a/tools/govanity/flake.lock +++ /dev/null @@ -1,90 +0,0 @@ -{ - "nodes": { - "flake-utils": { - "locked": { - "lastModified": 1644229661, - "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1652298859, - "narHash": "sha256-hcwRboK+NxMWUJh0fQ3VsocDcAHrYJ95FmPEHlddV0Y=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "051448e41537c3463ae776d46115d01afb6c498d", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "release-21.11", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1645655918, - "narHash": "sha256-ZfbEFRW7o237+A1P7eTKhXje435FCAoe0blj2n20Was=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "77a7a4197740213879b9a1d2e1788c6c8ade4274", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, - "pre-commit-hooks": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_2" - }, - "locked": { - "lastModified": 1649054408, - "narHash": "sha256-wz8AH7orqUE4Xog29WMTqOYBs0DMj2wFM8ulrTRVgz0=", - "path": "/nix/store/2bw70fnmml6w0vjkcj2n7jvzcxpgprrm-source", - "rev": "e5e7b3b542e7f4f96967966a943d7e1c07558042", - "type": "path" - }, - "original": { - "id": "pre-commit-hooks", - "type": "indirect" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs", - "pre-commit-hooks": "pre-commit-hooks", - "utils": "utils" - } - }, - "utils": { - "locked": { - "lastModified": 1649676176, - "narHash": "sha256-OWKJratjt2RW151VUlJPRALb7OU2S5s+f0vLj4o1bHM=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "a4b154ebbdc88c8498a5c7b01589addc9e9cb678", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/tools/govanity/flake.nix b/tools/govanity/flake.nix deleted file mode 100644 index d2c2254..0000000 --- a/tools/govanity/flake.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ - description = "govanity"; - - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/release-21.11"; - utils.url = "github:numtide/flake-utils"; - }; - - outputs = { self, utils, nixpkgs, pre-commit-hooks }: - utils.lib.eachDefaultSystem (system: - let pkgs = nixpkgs.legacyPackages.${system}; - in { - - defaultPackage = self.packages.${system}.vanity; - - packages.vanity = pkgs.buildGoModule { - pname = "vanity"; - version = "0.0.1"; - src = ./.; - vendorSha256 = "sha256-iu2QE+vvenFWpOOz1NHVQHudiWkvkKqZvD4ZX4Xa1sY="; - nativeBuildInputs = with pkgs; [ go ]; - }; - - apps = { - deploy = pkgs.pkgs.writeShellScriptBin "run-deploy" '' - set -euxo pipefail - export PATH=${ - pkgs.lib.makeBinPath [ pkgs.go pkgs.git pkgs.jq pkgs.flyctl ] - }:$PATH - bash ./scripts/deploy.sh - ''; - }; - - devShell = with pkgs; - mkShell { nativeBuildInputs = [ git go gopls golangci-lint bash ]; }; - }); -} |