From cb9b5447eb8cb8ae6535ebf90e5a5e9e724721bd Mon Sep 17 00:00:00 2001 From: Patrick Bajao Date: Fri, 23 Aug 2019 14:15:33 +0800 Subject: Remove gitlab-keys script --- bin/gitlab-keys | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 bin/gitlab-keys (limited to 'bin/gitlab-keys') diff --git a/bin/gitlab-keys b/bin/gitlab-keys deleted file mode 100755 index 9eb1950..0000000 --- a/bin/gitlab-keys +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env ruby - -require_relative '../lib/gitlab_init' - -# -# GitLab Keys shell. Add/remove keys from ~/.ssh/authorized_keys -# -# Ex. -# /bin/gitlab-keys add-key key-782 "ssh-rsa AAAAx321..." -# -# printf "key-782\tssh-rsa AAAAx321...\n" | /bin/gitlab-keys batch-add-keys -# -# /bin/gitlab-keys rm-key key-23 "ssh-rsa AAAAx321..." -# -# /bin/gitlab-keys list-keys -# -# /bin/gitlab-keys clear -# - -require File.join(ROOT_PATH, 'lib', 'gitlab_keys') - -# Return non-zero if command execution was not successful -if GitlabKeys.new.exec - exit 0 -else - exit 1 -end -- cgit v1.2.1