File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,13 @@ if [ -z "$(pip freeze | grep pulp-cli)" ]; then
99fi
1010
1111# Set up CLI config file
12- if [ ! -f ~ /.config/pulp/settings.toml ]; then
13- echo " Configuring pulp-cli"
14- mkdir -p ~ /.config/pulp
15- cat > ~ /.config/pulp/cli.toml << EOF
12+ echo " Configuring pulp-cli"
13+ mkdir -p ~ /.config/pulp
14+ cat > ~ /.config/pulp/cli.toml << EOF
1615[cli]
1716base_url = "$BASE_ADDR "
1817verify_ssl = false
1918format = "json"
2019username = "admin"
2120password = "password"
2221EOF
23- fi
Original file line number Diff line number Diff line change @@ -42,20 +42,16 @@ echo $BASE_ADDR
4242# https://github.com/pulp/pulp-operator/actions/runs/4238998943/jobs/7366637198#step:15:37
4343pip install pulp-cli
4444
45- if [ ! -f ~ /.config/pulp/settings.toml ]; then
46- echo " Configuring pulp-cli"
47- mkdir -p ~ /.config/pulp
48- cat > ~ /.config/pulp/cli.toml << EOF
45+ echo " Configuring pulp-cli"
46+ mkdir -p ~ /.config/pulp
47+ cat > ~ /.config/pulp/cli.toml << EOF
4948[cli]
5049base_url = "$BASE_ADDR "
5150verify_ssl = false
5251format = "json"
5352username = "admin"
5453password = "password"
5554EOF
56- fi
57-
58- cat ~ /.config/pulp/cli.toml | tee ~ /.config/pulp/settings.toml
5955
6056pulp status | jq
6157
You can’t perform that action at this time.
0 commit comments