Skip to content

Commit

Permalink
Switch the domains used for network checks to include packagist, repl…
Browse files Browse the repository at this point in the history
…ace mariadb mirror, and remove nodesource
  • Loading branch information
tomjn authored Sep 19, 2024
1 parent 0ce4b25 commit f8022c8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions provision/provision-helpers.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# @description This file is for common helper functions that
# get called in other provisioners

Expand All @@ -19,7 +19,6 @@ export BLUE="\033[0;38;5;4m" # 33m"
export PURPLE="\033[0;38;5;5m" # 129m"
export CRESET="\033[0m"


VVV_CONFIG=/vagrant/vvv-custom.yml
if [[ -f /vagrant/config.yml ]]; then
VVV_CONFIG=/vagrant/config.yml
Expand Down Expand Up @@ -101,8 +100,8 @@ function network_check() {
"https://github.com" # needed for dashboard, extensions, etc
"https://raw.githubusercontent.com" # some scripts and provisioners rely on this
"https://getcomposer.org" # composer is used for lots of sites and provisioners
"https://deb.nodesource.com" # Node JS installation
"https://mirror.rackspace.com" # MariaDB mirror
"https://packagist.org" # Composer Packages
"https://mariadb.gb.ssimn.org" # MariaDB mirror
)
declare -a failed_hosts=()
for url in "${hosts_to_test[@]}"; do
Expand Down

0 comments on commit f8022c8

Please sign in to comment.