As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Unverified Commit fcb9682f authored by Ash McKenzie's avatar Ash McKenzie Committed by GitLab
Browse files

Merge branch 'ashmckenzie/relocate-bin-install' into 'main'

Move bin/install to support/make_necessary_dirs

See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/799



Merged-by: default avatarAsh McKenzie <amckenzie@gitlab.com>
Reviewed-by: default avatarPatrick Bajao <ebajao@gitlab.com>
parents cd6941c6 1e3a157e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7,11 +7,7 @@
.gitlab_shell_secret
.idea
/*.log*
/bin/check
/bin/gitlab-shell
/bin/gitlab-shell-authorized-keys-check
/bin/gitlab-shell-authorized-principals-check
/bin/gitlab-sshd
/bin/*
/gl-code-quality-report.json
/go_build
/support/bin/golangci-*
Loading
Loading
Loading
Loading
@@ -96,16 +96,18 @@ ${GOLANGCI_LINT_FILE}:
setup: make_necessary_dirs bin/gitlab-shell
make_necessary_dirs: _script_install
_script_install:
bin/install
make_necessary_dirs:
support/make_necessary_dirs
compile: bin/gitlab-shell bin/gitlab-sshd
bin/gitlab-shell: $(GO_SOURCES)
bin:
mkdir -p bin
bin/gitlab-shell: bin $(GO_SOURCES)
go build $(GOBUILD_FLAGS) -o $(CURDIR)/bin ./cmd/...
bin/gitlab-sshd: $(GO_SOURCES)
bin/gitlab-sshd: bin $(GO_SOURCES)
go build $(GOBUILD_FLAGS) -o $(CURDIR)/bin/gitlab-sshd ./cmd/gitlab-sshd
check:
Loading
Loading
#!/usr/bin/env ruby
# Load ROOT_PATH and access the minimum necessary config file
require_relative '../support/gitlab_config'
require_relative 'gitlab_config'
config = GitlabConfig.new
key_dir = File.dirname("#{config.auth_file}")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment