Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pushd "${HOME}/git" > /dev/null 2>&1
- oc registry add "$oc_url"
- expect <<-EOS
- log_user 0
- spawn -nottycopy oc publish "$git_repo_name"
- set send_human {.1 .3 1 .05 2}
- expect {
- "Enter username:" { send -h -- "$aws_access_key\r"; }
- "Enter password:" { send -h -- "$aws_secret_key\r"; }
- }
- EOS
- popd > /dev/null 2>&1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement