Skip to content

Commit

Permalink
Cache git creds in init.sh
Browse files Browse the repository at this point in the history
(cherry picked from commit cdb15e8)
  • Loading branch information
onurctirtir committed Jan 29, 2021
1 parent 5461be1 commit 3ee0ea7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions azure/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -x
# in redhat we need to enable default port for postgres
# We don't exit on this command because if we are on centos, the firewall
# might not be active, but this also enables switching to redhat easily.
firewall-cmd --add-port=5432/tcp || true
firewall-cmd --add-port=5432/tcp || true

# fail in a pipeline if any of the commands fails
set -o pipefail
Expand Down Expand Up @@ -169,6 +169,5 @@ find_private_ips() {

find_private_ips "$@"


# cache git credentials so that we can clone a private repository with caching enabled
./cache_git_creds.sh

0 comments on commit 3ee0ea7

Please sign in to comment.