Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 44s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
14 lines
383 B
Bash
Executable File
14 lines
383 B
Bash
Executable File
#!/usr/bin/expect
|
|
|
|
|
|
# echo $1 $2 $3
|
|
# echo "${osc_user} ${osc_path} ${osc_package}"
|
|
# echo "${INPUT_OSC_USER} ${INPUT_OSC_PATH} ${INPUT_OSC_PACKAGE}"
|
|
spawn osc checkout $INPUT_OSC_PATH $INPUT_OSC_PACKAGE
|
|
expect "Username [api.opensuse.org]:\n"
|
|
send "$env(INPUT_OSC_USER)\n"
|
|
expect "Password [@api.opensuse.org]:\n"
|
|
send "$env(osc_pass)\n"
|
|
spawn osc buildlog openSUSE_Factory x86_64
|
|
|