uffizzi-cli 0.7.3 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/config/uffizzi.rb +1 -1
- data/lib/uffizzi/auth_helper.rb +5 -0
- data/lib/uffizzi/cli/config.rb +1 -1
- data/lib/uffizzi/cli/connect.rb +54 -31
- data/lib/uffizzi/cli/disconnect.rb +1 -1
- data/lib/uffizzi/cli/login.rb +76 -2
- data/lib/uffizzi/cli/logout.rb +1 -1
- data/lib/uffizzi/cli/preview.rb +43 -16
- data/lib/uffizzi/cli/project.rb +82 -2
- data/lib/uffizzi/cli.rb +3 -1
- data/lib/uffizzi/clients/api/api_client.rb +15 -1
- data/lib/uffizzi/config_file.rb +14 -20
- data/lib/uffizzi/helpers/project_helper.rb +22 -0
- data/lib/uffizzi/promt.rb +21 -0
- data/lib/uffizzi/services/preview_service.rb +13 -25
- data/lib/uffizzi/services/project_service.rb +40 -0
- data/lib/uffizzi/version.rb +1 -1
- data/lib/uffizzi.rb +5 -0
- data/man/uffizzi +2 -2
- data/man/uffizzi-config +2 -2
- data/man/uffizzi-config.ronn +1 -1
- data/man/uffizzi-connect +2 -2
- data/man/uffizzi-connect-acr +2 -2
- data/man/uffizzi-connect-acr.ronn +1 -1
- data/man/uffizzi-connect-docker-hub +2 -2
- data/man/uffizzi-connect-docker-hub.ronn +1 -1
- data/man/uffizzi-connect-ecr +2 -2
- data/man/uffizzi-connect-ecr.ronn +1 -1
- data/man/uffizzi-connect-gcr +2 -2
- data/man/uffizzi-connect-gcr.ronn +1 -1
- data/man/uffizzi-connect-ghcr +2 -2
- data/man/uffizzi-connect-ghcr.ronn +1 -1
- data/man/uffizzi-connect.ronn +1 -1
- data/man/uffizzi-disconnect +2 -2
- data/man/uffizzi-disconnect.ronn +1 -1
- data/man/uffizzi-login +2 -2
- data/man/uffizzi-login.ronn +1 -1
- data/man/uffizzi-logout +2 -2
- data/man/uffizzi-logout.ronn +1 -1
- data/man/uffizzi-preview +2 -2
- data/man/uffizzi-preview-create +2 -2
- data/man/uffizzi-preview-create.ronn +1 -1
- data/man/uffizzi-preview-delete +2 -2
- data/man/uffizzi-preview-delete.ronn +1 -1
- data/man/uffizzi-preview-describe +2 -2
- data/man/uffizzi-preview-describe.ronn +1 -1
- data/man/uffizzi-preview-events +2 -2
- data/man/uffizzi-preview-events.ronn +1 -1
- data/man/uffizzi-preview-list +2 -2
- data/man/uffizzi-preview-list.ronn +1 -1
- data/man/uffizzi-preview-service-list +2 -2
- data/man/uffizzi-preview-service-list.ronn +1 -1
- data/man/uffizzi-preview-service-logs +2 -2
- data/man/uffizzi-preview-service-logs.ronn +1 -1
- data/man/uffizzi-preview-update +20 -12
- data/man/uffizzi-preview-update.ronn +6 -6
- data/man/uffizzi-preview.ronn +1 -1
- data/man/uffizzi-preview_service_logs +2 -2
- data/man/uffizzi-preview_service_logs.ronn +1 -1
- data/man/uffizzi-project +2 -2
- data/man/uffizzi-project-compose +2 -2
- data/man/uffizzi-project-compose-describe +2 -2
- data/man/uffizzi-project-compose-describe.ronn +1 -1
- data/man/uffizzi-project-compose-set +2 -2
- data/man/uffizzi-project-compose-set.ronn +1 -1
- data/man/uffizzi-project-compose-unset +2 -2
- data/man/uffizzi-project-compose-unset.ronn +1 -1
- data/man/uffizzi-project-compose.ronn +1 -1
- data/man/uffizzi-project-create +50 -0
- data/man/uffizzi-project-create.ronn +41 -0
- data/man/uffizzi-project-delete +32 -0
- data/man/uffizzi-project-delete.ronn +24 -0
- data/man/uffizzi-project-describe +43 -0
- data/man/uffizzi-project-describe.ronn +34 -0
- data/man/uffizzi-project-secret +2 -2
- data/man/uffizzi-project-secret-create +2 -2
- data/man/uffizzi-project-secret-create.ronn +1 -1
- data/man/uffizzi-project-secret-delete +2 -2
- data/man/uffizzi-project-secret-delete.ronn +1 -1
- data/man/uffizzi-project-secret-list +2 -2
- data/man/uffizzi-project-secret-list.ronn +1 -1
- data/man/uffizzi-project-secret.ronn +1 -1
- data/man/uffizzi-project-set-default +2 -2
- data/man/uffizzi-project-set-default.ronn +1 -1
- data/man/uffizzi-project.ronn +1 -1
- data/man/uffizzi.html +1 -1
- data/man/uffizzi.ronn +1 -1
- metadata +25 -22
- data/man/uffizzi-config.html +0 -144
- data/man/uffizzi-login.html +0 -113
- data/man/uffizzi-logout.html +0 -102
- data/man/uffizzi-preview-create.html +0 -128
- data/man/uffizzi-preview-delete.html +0 -115
- data/man/uffizzi-preview-describe.html +0 -116
- data/man/uffizzi-preview-events.html +0 -110
- data/man/uffizzi-preview-list.html +0 -110
- data/man/uffizzi-preview.html +0 -120
- data/man/uffizzi-preview_service_logs.html +0 -142
- data/man/uffizzi-project-compose-describe.html +0 -118
- data/man/uffizzi-project-compose-set.html +0 -149
- data/man/uffizzi-project-compose-unset.html +0 -116
- data/man/uffizzi-project-compose.html +0 -123
- data/man/uffizzi-project-secret-create.html +0 -110
- data/man/uffizzi-project-secret-delete.html +0 -110
- data/man/uffizzi-project-secret-list.html +0 -110
- data/man/uffizzi-project-secret.html +0 -119
- data/man/uffizzi-project-set-default.html +0 -111
- data/man/uffizzi-project.html +0 -128
data/lib/uffizzi/config_file.rb
CHANGED
|
@@ -5,20 +5,19 @@ require 'fileutils'
|
|
|
5
5
|
|
|
6
6
|
module Uffizzi
|
|
7
7
|
class ConfigFile
|
|
8
|
-
CONFIG_PATH = "#{Dir.home}/.config/uffizzi/config_default
|
|
8
|
+
CONFIG_PATH = "#{Dir.home}/.config/uffizzi/config_default"
|
|
9
9
|
|
|
10
10
|
class << self
|
|
11
|
-
def
|
|
12
|
-
|
|
13
|
-
data.each_pair { |key, value| write_option(key, value) }
|
|
11
|
+
def config_path
|
|
12
|
+
CONFIG_PATH
|
|
14
13
|
end
|
|
15
14
|
|
|
16
15
|
def delete
|
|
17
|
-
File.
|
|
16
|
+
File.truncate(config_path, 0) if exists?
|
|
18
17
|
end
|
|
19
18
|
|
|
20
19
|
def exists?
|
|
21
|
-
File.exist?(
|
|
20
|
+
File.exist?(config_path)
|
|
22
21
|
end
|
|
23
22
|
|
|
24
23
|
def read_option(option)
|
|
@@ -69,8 +68,6 @@ module Uffizzi
|
|
|
69
68
|
data
|
|
70
69
|
end
|
|
71
70
|
|
|
72
|
-
private
|
|
73
|
-
|
|
74
71
|
def option_exists?(option)
|
|
75
72
|
data = read
|
|
76
73
|
return false unless data.is_a?(Hash)
|
|
@@ -78,15 +75,20 @@ module Uffizzi
|
|
|
78
75
|
data.key?(option)
|
|
79
76
|
end
|
|
80
77
|
|
|
78
|
+
private
|
|
79
|
+
|
|
81
80
|
def read
|
|
82
|
-
data = File.read(
|
|
81
|
+
data = File.read(config_path)
|
|
83
82
|
options = data.split("\n")
|
|
84
83
|
options.reduce({}) do |acc, option|
|
|
85
84
|
key, value = option.split('=', 2)
|
|
86
85
|
acc.merge({ key.strip.to_sym => value.strip })
|
|
87
86
|
end
|
|
88
87
|
rescue Errno::ENOENT => e
|
|
89
|
-
|
|
88
|
+
file_path = e.message.split(' ').last
|
|
89
|
+
message = "Configuration file not found: #{file_path}\n" \
|
|
90
|
+
'To configure the uffizzi CLI interactively, run $ uffizzi config'
|
|
91
|
+
raise Uffizzi::Error.new(message)
|
|
90
92
|
end
|
|
91
93
|
|
|
92
94
|
def write(data)
|
|
@@ -103,20 +105,12 @@ module Uffizzi
|
|
|
103
105
|
end
|
|
104
106
|
end
|
|
105
107
|
|
|
106
|
-
def prepare_config_data(account_id, cookie, server)
|
|
107
|
-
{
|
|
108
|
-
account_id: account_id,
|
|
109
|
-
server: server,
|
|
110
|
-
cookie: cookie,
|
|
111
|
-
}
|
|
112
|
-
end
|
|
113
|
-
|
|
114
108
|
def create_file
|
|
115
|
-
dir = File.dirname(
|
|
109
|
+
dir = File.dirname(config_path)
|
|
116
110
|
|
|
117
111
|
FileUtils.mkdir_p(dir) unless File.directory?(dir)
|
|
118
112
|
|
|
119
|
-
File.new(
|
|
113
|
+
File.new(config_path, 'w')
|
|
120
114
|
end
|
|
121
115
|
end
|
|
122
116
|
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Uffizzi
|
|
4
|
+
module ProjectHelper
|
|
5
|
+
SLUG_ENDING_LENGTH = 6
|
|
6
|
+
class << self
|
|
7
|
+
def generate_slug(name)
|
|
8
|
+
formatted_name = name.downcase.gsub(/ /, '-').gsub(/[^\w-]+/, '')
|
|
9
|
+
slug_ending = generate_random_string(SLUG_ENDING_LENGTH)
|
|
10
|
+
|
|
11
|
+
"#{formatted_name}-#{slug_ending}"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
private
|
|
15
|
+
|
|
16
|
+
def generate_random_string(length)
|
|
17
|
+
hexatridecimal_base = 36
|
|
18
|
+
rand(hexatridecimal_base**length).to_s(hexatridecimal_base)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'tty-prompt'
|
|
4
|
+
|
|
5
|
+
module Uffizzi
|
|
6
|
+
module UI
|
|
7
|
+
class Prompt
|
|
8
|
+
def initialize
|
|
9
|
+
@prompt = TTY::Prompt.new
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def select(question, choices)
|
|
13
|
+
@prompt.select(question, choices)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def ask(message, **args)
|
|
17
|
+
@prompt.ask(message, **args)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -5,6 +5,7 @@ require 'uffizzi/clients/api/api_client'
|
|
|
5
5
|
class PreviewService
|
|
6
6
|
class << self
|
|
7
7
|
include ApiClient
|
|
8
|
+
|
|
8
9
|
def read_deployment_id(deployment_name)
|
|
9
10
|
return nil unless deployment_name.start_with?('deployment-')
|
|
10
11
|
return nil unless deployment_name.split('-').size == 2
|
|
@@ -15,23 +16,23 @@ class PreviewService
|
|
|
15
16
|
deployment_id
|
|
16
17
|
end
|
|
17
18
|
|
|
18
|
-
def
|
|
19
|
+
def run_containers_deploy(project_slug, deployment)
|
|
19
20
|
deployment_id = deployment[:id]
|
|
20
21
|
params = { id: deployment_id }
|
|
21
22
|
|
|
22
23
|
response = deploy_containers(Uffizzi::ConfigFile.read_option(:server), project_slug, deployment_id, params)
|
|
23
24
|
|
|
24
|
-
if Uffizzi::ResponseHelper.no_content?(response)
|
|
25
|
-
Uffizzi.ui.say(success_message)
|
|
26
|
-
create_deployment(deployment, project_slug)
|
|
27
|
-
else
|
|
25
|
+
if !Uffizzi::ResponseHelper.no_content?(response)
|
|
28
26
|
Uffizzi::ResponseHelper.handle_failed_response(response)
|
|
29
27
|
end
|
|
28
|
+
|
|
29
|
+
activity_items = wait_containers_creation(deployment, project_slug)
|
|
30
|
+
wait_containers_deploy(deployment, project_slug, activity_items)
|
|
30
31
|
end
|
|
31
32
|
|
|
32
33
|
private
|
|
33
34
|
|
|
34
|
-
def
|
|
35
|
+
def wait_containers_creation(deployment, project_slug)
|
|
35
36
|
spinner = TTY::Spinner.new('[:spinner] Creating containers...', format: :dots)
|
|
36
37
|
spinner.auto_spin
|
|
37
38
|
|
|
@@ -49,10 +50,10 @@ class PreviewService
|
|
|
49
50
|
|
|
50
51
|
Uffizzi.ui.say('Done')
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
activity_items
|
|
53
54
|
end
|
|
54
55
|
|
|
55
|
-
def
|
|
56
|
+
def wait_containers_deploy(deployment, project_slug, activity_items)
|
|
56
57
|
spinner = TTY::Spinner::Multi.new('[:spinner] Deploying preview...', format: :dots, style: {
|
|
57
58
|
middle: ' ',
|
|
58
59
|
bottom: ' ',
|
|
@@ -64,20 +65,13 @@ class PreviewService
|
|
|
64
65
|
response = get_activity_items(Uffizzi::ConfigFile.read_option(:server), project_slug, deployment[:id])
|
|
65
66
|
handle_activity_items_response(response, spinner)
|
|
66
67
|
activity_items = response[:body][:activity_items]
|
|
67
|
-
|
|
68
|
+
update_containers_spinners!(activity_items, containers_spinners)
|
|
68
69
|
break if activity_items.all? { |activity_item| activity_item[:state] == 'deployed' || activity_item[:state] == 'failed' }
|
|
69
70
|
|
|
70
71
|
sleep(5)
|
|
71
72
|
end
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
Uffizzi.ui.say('Done')
|
|
75
|
-
preview_url = "https://#{deployment[:preview_url]}"
|
|
76
|
-
Uffizzi.ui.say(preview_url) if spinner.success?
|
|
77
|
-
else
|
|
78
|
-
output_data = build_output_data(deployment)
|
|
79
|
-
Uffizzi.ui.output(output_data)
|
|
80
|
-
end
|
|
74
|
+
spinner.success?
|
|
81
75
|
end
|
|
82
76
|
|
|
83
77
|
def create_containers_spinners(activity_items, spinner)
|
|
@@ -91,10 +85,11 @@ class PreviewService
|
|
|
91
85
|
end
|
|
92
86
|
end
|
|
93
87
|
|
|
94
|
-
def
|
|
88
|
+
def update_containers_spinners!(activity_items, containers_spinners)
|
|
95
89
|
finished_activity_items = activity_items.filter do |activity_item|
|
|
96
90
|
activity_item[:state] == 'deployed' || activity_item[:state] == 'failed'
|
|
97
91
|
end
|
|
92
|
+
|
|
98
93
|
finished_activity_items.each do |activity_item|
|
|
99
94
|
container_spinner = containers_spinners.detect { |spinner| spinner[:name] == activity_item[:name] }
|
|
100
95
|
spinner = container_spinner[:spinner]
|
|
@@ -113,12 +108,5 @@ class PreviewService
|
|
|
113
108
|
Uffizzi::ResponseHelper.handle_failed_response(response)
|
|
114
109
|
end
|
|
115
110
|
end
|
|
116
|
-
|
|
117
|
-
def build_output_data(output_data)
|
|
118
|
-
{
|
|
119
|
-
id: "deployment-#{output_data[:id]}",
|
|
120
|
-
url: "https://#{output_data[:preview_url]}",
|
|
121
|
-
}
|
|
122
|
-
end
|
|
123
111
|
end
|
|
124
112
|
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
class ProjectService
|
|
4
|
+
class << self
|
|
5
|
+
def describe_project(project, output_format)
|
|
6
|
+
json_format?(output_format) ? output_in_json(project) : output_in_pretty_format(project)
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def select_active_deployments(project)
|
|
10
|
+
project[:deployments].select { |deployment| deployment[:state] == 'active' }
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
private
|
|
14
|
+
|
|
15
|
+
def json_format?(output_format)
|
|
16
|
+
output_format == 'json'
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def output_in_json(data)
|
|
20
|
+
Uffizzi.ui.say(data.to_json)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def output_in_pretty_format(project)
|
|
24
|
+
Uffizzi.ui.say("Project name: #{project[:name]}")
|
|
25
|
+
Uffizzi.ui.say("Project slug: #{project[:slug]}")
|
|
26
|
+
Uffizzi.ui.say("Description: #{project[:description]}".strip)
|
|
27
|
+
Uffizzi.ui.say("Created: #{project[:created_at]}")
|
|
28
|
+
default_compose = project[:default_compose].nil? ? nil : project[:default_compose][:source]
|
|
29
|
+
Uffizzi.ui.say("Default compose: #{default_compose}".strip)
|
|
30
|
+
Uffizzi.ui.say('Previews:')
|
|
31
|
+
project[:deployments].each do |deployment|
|
|
32
|
+
Uffizzi.ui.say(" - deployment-#{deployment[:id]} (https://#{deployment[:preview_url]})")
|
|
33
|
+
end
|
|
34
|
+
Uffizzi.ui.say('Secrets:')
|
|
35
|
+
project[:secrets].each do |secret|
|
|
36
|
+
Uffizzi.ui.say(" - #{secret}")
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
data/lib/uffizzi/version.rb
CHANGED
data/lib/uffizzi.rb
CHANGED
|
@@ -6,6 +6,7 @@ require 'tty-spinner'
|
|
|
6
6
|
require 'thor'
|
|
7
7
|
require 'uffizzi/error'
|
|
8
8
|
require 'uffizzi/shell'
|
|
9
|
+
require 'uffizzi/promt'
|
|
9
10
|
require 'uffizzi/version'
|
|
10
11
|
require 'uffizzi/clients/api/api_client'
|
|
11
12
|
require 'uffizzi/clients/api/api_routes'
|
|
@@ -18,6 +19,10 @@ module Uffizzi
|
|
|
18
19
|
@ui ||= Uffizzi::UI::Shell.new
|
|
19
20
|
end
|
|
20
21
|
|
|
22
|
+
def prompt
|
|
23
|
+
@prompt ||= Uffizzi::UI::Prompt.new
|
|
24
|
+
end
|
|
25
|
+
|
|
21
26
|
def root
|
|
22
27
|
@root ||= Pathname.new(File.expand_path('..', __dir__))
|
|
23
28
|
end
|
data/man/uffizzi
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI" "" "
|
|
3
|
+
.TH "UFFIZZI" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\fR \- manage Uffizzi resources
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -13,7 +13,7 @@ The uffizzi CLI manages authentication, configuration, and
|
|
|
13
13
|
interaction with Uffizzi APIs\.
|
|
14
14
|
|
|
15
15
|
For more information on the uffizzi CLI, see:
|
|
16
|
-
https://
|
|
16
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
17
17
|
.fi
|
|
18
18
|
.SH "GROUP"
|
|
19
19
|
.nf
|
data/man/uffizzi-config
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "CONFIG" "" "
|
|
3
|
+
.TH "CONFIG" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBconfig\fR \- configure the Uffizzi command\-line interface (CLI)
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -14,7 +14,7 @@ If COMMAND is not specified, uffizzi config launches an interactive set up
|
|
|
14
14
|
guide\.
|
|
15
15
|
|
|
16
16
|
For more information on configuration options, see:
|
|
17
|
-
https://
|
|
17
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
.fi
|
|
19
19
|
.SH "UFFIZZI WIDE FLAGS"
|
|
20
20
|
.nf
|
data/man/uffizzi-config.ronn
CHANGED
|
@@ -10,7 +10,7 @@ uffizzi config - configure the Uffizzi command-line interface (CLI)
|
|
|
10
10
|
guide.
|
|
11
11
|
|
|
12
12
|
For more information on configuration options, see:
|
|
13
|
-
https://
|
|
13
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
14
14
|
|
|
15
15
|
## UFFIZZI WIDE FLAGS
|
|
16
16
|
These flags are available to all commands: --project. Run $ uffizzi
|
data/man/uffizzi-connect
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-CONNECT" "" "
|
|
3
|
+
.TH "UFFIZZI\-CONNECT" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-connect\fR \- grant a Uffizzi user account access to external services
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -12,7 +12,7 @@ uffizzi connect COMMAND
|
|
|
12
12
|
Grants a Uffizzi user account access to external services
|
|
13
13
|
|
|
14
14
|
For more information on connecting to external services, see:
|
|
15
|
-
https://
|
|
15
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
.fi
|
|
17
17
|
.SH "COMMANDS"
|
|
18
18
|
.nf
|
data/man/uffizzi-connect-acr
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-CONNECT\-ACR" "" "
|
|
3
|
+
.TH "UFFIZZI\-CONNECT\-ACR" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-connect\-acr\fR \- grant a Uffizzi user account access to a private Azure Container Registry (ACR)
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
|
|
|
18
18
|
\- The given credentials are invalid\.
|
|
19
19
|
|
|
20
20
|
For more information on connecting to external services, see:
|
|
21
|
-
https://
|
|
21
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
22
22
|
|
|
23
23
|
For detailed instructions on configuring webhooks to send push
|
|
24
24
|
notifications to Uffizzi, see
|
|
@@ -14,7 +14,7 @@ uffizzi-connect-acr - grant a Uffizzi user account access to a private Azure Con
|
|
|
14
14
|
- The given credentials are invalid.
|
|
15
15
|
|
|
16
16
|
For more information on connecting to external services, see:
|
|
17
|
-
https://
|
|
17
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
|
|
19
19
|
For detailed instructions on configuring webhooks to send push
|
|
20
20
|
notifications to Uffizzi, see
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-CONNECT\-DOCKER\-HUB" "" "
|
|
3
|
+
.TH "UFFIZZI\-CONNECT\-DOCKER\-HUB" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-connect\-docker\-hub\fR \- grant a Uffizzi user account access to a private Docker Hub registry\.
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
|
|
|
18
18
|
\- The given credentials are invalid\.
|
|
19
19
|
|
|
20
20
|
For more information on connecting to external services, see:
|
|
21
|
-
https://
|
|
21
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
22
22
|
|
|
23
23
|
For detailed instructions on configuring webhooks to send push
|
|
24
24
|
notifications to Uffizzi, see
|
|
@@ -14,7 +14,7 @@ uffizzi-connect-docker-hub - grant a Uffizzi user account access to a private Do
|
|
|
14
14
|
- The given credentials are invalid.
|
|
15
15
|
|
|
16
16
|
For more information on connecting to external services, see:
|
|
17
|
-
https://
|
|
17
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
|
|
19
19
|
For detailed instructions on configuring webhooks to send push
|
|
20
20
|
notifications to Uffizzi, see
|
data/man/uffizzi-connect-ecr
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-CONNECT\-ECR" "" "
|
|
3
|
+
.TH "UFFIZZI\-CONNECT\-ECR" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-connect\-ecr\fR \- grant a Uffizzi user account access to a private Amazon Elastic Container Registry (ECR)
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
|
|
|
18
18
|
\- The given credentials are invalid\.
|
|
19
19
|
|
|
20
20
|
For more information on connecting to external services, see:
|
|
21
|
-
https://
|
|
21
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
22
22
|
|
|
23
23
|
For detailed instructions on configuring webhooks to send push
|
|
24
24
|
notifications to Uffizzi, see
|
|
@@ -14,7 +14,7 @@ uffizzi-connect-ecr - grant a Uffizzi user account access to a private Amazon El
|
|
|
14
14
|
- The given credentials are invalid.
|
|
15
15
|
|
|
16
16
|
For more information on connecting to external services, see:
|
|
17
|
-
https://
|
|
17
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
|
|
19
19
|
For detailed instructions on configuring webhooks to send push
|
|
20
20
|
notifications to Uffizzi, see
|
data/man/uffizzi-connect-gcr
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-CONNECT\-GCR" "" "
|
|
3
|
+
.TH "UFFIZZI\-CONNECT\-GCR" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-connect\-gcr\fR \- grant a Uffizzi user account access to a private Google Container Registry (GCR)
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
|
|
|
18
18
|
\- The given credentials are invalid\.
|
|
19
19
|
|
|
20
20
|
For more information on connecting to external services, see:
|
|
21
|
-
https://
|
|
21
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
22
22
|
|
|
23
23
|
For detailed instructions on configuring webhooks to send push
|
|
24
24
|
notifications to Uffizzi, see
|
|
@@ -14,7 +14,7 @@ uffizzi-connect-gcr - grant a Uffizzi user account access to a private Google Co
|
|
|
14
14
|
- The given credentials are invalid.
|
|
15
15
|
|
|
16
16
|
For more information on connecting to external services, see:
|
|
17
|
-
https://
|
|
17
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
|
|
19
19
|
For detailed instructions on configuring webhooks to send push
|
|
20
20
|
notifications to Uffizzi, see
|
data/man/uffizzi-connect-ghcr
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-CONNECT\-ECR" "" "
|
|
3
|
+
.TH "UFFIZZI\-CONNECT\-ECR" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-connect\-ecr\fR \- grant a Uffizzi user account access to a private GitHub Container Registry (GHCR)
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
|
|
|
18
18
|
\- The given credentials are invalid\.
|
|
19
19
|
|
|
20
20
|
For more information on connecting to external services, see:
|
|
21
|
-
https://
|
|
21
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
22
22
|
|
|
23
23
|
For detailed instructions on configuring webhooks to send push
|
|
24
24
|
notifications to Uffizzi, see
|
|
@@ -14,7 +14,7 @@ uffizzi-connect-ecr - grant a Uffizzi user account access to a private GitHub Co
|
|
|
14
14
|
- The given credentials are invalid.
|
|
15
15
|
|
|
16
16
|
For more information on connecting to external services, see:
|
|
17
|
-
https://
|
|
17
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
|
|
19
19
|
For detailed instructions on configuring webhooks to send push
|
|
20
20
|
notifications to Uffizzi, see
|
data/man/uffizzi-connect.ronn
CHANGED
|
@@ -8,7 +8,7 @@ uffizzi-connect - grant a Uffizzi user account access to external services
|
|
|
8
8
|
Grants a Uffizzi user account access to external services
|
|
9
9
|
|
|
10
10
|
For more information on connecting to external services, see:
|
|
11
|
-
https://
|
|
11
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
12
12
|
|
|
13
13
|
## COMMANDS
|
|
14
14
|
COMMAND is one of the following:
|
data/man/uffizzi-disconnect
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-DISCONNECT" "" "
|
|
3
|
+
.TH "UFFIZZI\-DISCONNECT" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-disconnect\fR \- revoke a Uffizzi user account access to external services
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -12,7 +12,7 @@ uffizzi disconnect COMMAND
|
|
|
12
12
|
Revokes a Uffizzi user account access to external services
|
|
13
13
|
|
|
14
14
|
For more information on connecting to external services, see:
|
|
15
|
-
https://
|
|
15
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
.fi
|
|
17
17
|
.SH "COMMANDS"
|
|
18
18
|
.nf
|
data/man/uffizzi-disconnect.ronn
CHANGED
|
@@ -8,7 +8,7 @@ uffizzi-disconnect - revoke a Uffizzi user account access to external services
|
|
|
8
8
|
Revokes a Uffizzi user account access to external services
|
|
9
9
|
|
|
10
10
|
For more information on connecting to external services, see:
|
|
11
|
-
https://
|
|
11
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
12
12
|
|
|
13
13
|
## COMMANDS
|
|
14
14
|
COMMAND is one of the following:
|
data/man/uffizzi-login
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-LOGIN" "" "
|
|
3
|
+
.TH "UFFIZZI\-LOGIN" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-login\fR \- login to Uffizzi to view and manage your previews\.
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -12,7 +12,7 @@ uffizzi login [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
|
|
|
12
12
|
The uffizzi login command lets you authenticate with Uffizzi\.
|
|
13
13
|
|
|
14
14
|
For more information on authentication and credential types, see:
|
|
15
|
-
https://
|
|
15
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
.fi
|
|
17
17
|
.SH "UFFIZZI WIDE FLAGS"
|
|
18
18
|
.nf
|
data/man/uffizzi-login.ronn
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
The uffizzi login command lets you authenticate with Uffizzi.
|
|
9
9
|
|
|
10
10
|
For more information on authentication and credential types, see:
|
|
11
|
-
https://
|
|
11
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
12
12
|
|
|
13
13
|
## UFFIZZI WIDE FLAGS
|
|
14
14
|
These flags are available to all commands: --project. Run $ uffizzi
|
data/man/uffizzi-logout
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-LOGOUT" "" "
|
|
3
|
+
.TH "UFFIZZI\-LOGOUT" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-logout\fR \- log out of a Uffizzi user account
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
The uffizzi logout command logs out of a Uffizzi user account\.
|
|
11
11
|
|
|
12
12
|
For more information on logout, see:
|
|
13
|
-
https://
|
|
13
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
14
14
|
.fi
|
|
15
15
|
.SH "UFFIZZI WIDE FLAGS"
|
|
16
16
|
.nf
|
data/man/uffizzi-logout.ronn
CHANGED
|
@@ -9,7 +9,7 @@ uffizzi-logout - log out of a Uffizzi user account
|
|
|
9
9
|
The uffizzi logout command logs out of a Uffizzi user account.
|
|
10
10
|
|
|
11
11
|
For more information on logout, see:
|
|
12
|
-
https://
|
|
12
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
13
13
|
|
|
14
14
|
## UFFIZZI WIDE FLAGS
|
|
15
15
|
These flags are available to all commands: --project. Run $ uffizzi
|
data/man/uffizzi-preview
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-PREVIEW" "" "
|
|
3
|
+
.TH "UFFIZZI\-PREVIEW" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-preview\fR \- manage previews
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -12,7 +12,7 @@ uffizzi preview COMMAND [UFFIZZI_WIDE_FLAG \|\.\|\.\|\.]
|
|
|
12
12
|
Manage Uffizzi previews
|
|
13
13
|
|
|
14
14
|
For more information on Uffizzi previews, see:
|
|
15
|
-
https://
|
|
15
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
16
16
|
.fi
|
|
17
17
|
.SH "UFFIZZI WIDE FLAGS"
|
|
18
18
|
.nf
|
data/man/uffizzi-preview-create
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-PREVIEW\-CREATE" "" "
|
|
3
|
+
.TH "UFFIZZI\-PREVIEW\-CREATE" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-preview\-create\fR \- create a preview
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -18,7 +18,7 @@ This command can fail for the following reasons:
|
|
|
18
18
|
\- The alternate compose file is invalid\.
|
|
19
19
|
|
|
20
20
|
For more information on Uffizzi previews, see:
|
|
21
|
-
https://
|
|
21
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
22
22
|
.fi
|
|
23
23
|
.SH "POSITIONAL ARGUMENTS"
|
|
24
24
|
.nf
|
|
@@ -14,7 +14,7 @@ uffizzi-preview-create - create a preview
|
|
|
14
14
|
- The alternate compose file is invalid.
|
|
15
15
|
|
|
16
16
|
For more information on Uffizzi previews, see:
|
|
17
|
-
https://
|
|
17
|
+
https://github.com/UffizziCloud/uffizzi_cli
|
|
18
18
|
|
|
19
19
|
## POSITIONAL ARGUMENTS
|
|
20
20
|
[COMPOSE_FILE]
|
data/man/uffizzi-preview-delete
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.9.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
|
|
3
|
-
.TH "UFFIZZI\-PREVIEW\-DELETE" "" "
|
|
3
|
+
.TH "UFFIZZI\-PREVIEW\-DELETE" "" "May 2022" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBuffizzi\-preview\-delete\fR \- delete a preview
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -16,7 +16,7 @@ This command can fail for the following reasons:
|
|
|
16
16
|
\- The preview specified belongs to a different project\.
|
|
17
17
|
|
|
18
18
|
For more information on Uffizzi previews, see:
|
|
19
|
-
https://
|
|
19
|
+
https://github\.com/UffizziCloud/uffizzi_cli
|
|
20
20
|
.fi
|
|
21
21
|
.SH "POSITIONAL ARGUMENTS"
|
|
22
22
|
.nf
|