Sha256: f4badd74b69ae9c09de8b92cc5e8de51572f530d296669c583d941e23ee3771b
Contents?: true
Size: 702 Bytes
Versions: 83
Compression:
Stored size: 702 Bytes
Contents
class KuberKit::Core::Artifacts::Git < KuberKit::Core::Artifacts::AbstractArtifact attr_reader :remote_url, :remote_name, :email, :password, :branch, :ssh_key DEFAULT_SSH_KEY = "id_rsa" DEFAULT_REMOTE_NAME = "origin" DEFAULT_BRANCH = "master" def setup(remote_url:, remote_name: DEFAULT_REMOTE_NAME, branch: DEFAULT_BRANCH, clone_path: nil, ssh_key: DEFAULT_SSH_KEY) @remote_name = remote_name @remote_url = remote_url @branch = branch @clone_path = clone_path @ssh_key = ssh_key self end def cloned_path # TODO: We should refactor to not call container here configs = KuberKit::Container['configs'] "#{configs.artifact_clone_dir}/#{name}" end end
Version data entries
83 entries across 83 versions & 1 rubygems