Added Mysql CT
This commit is contained in:
@@ -36,4 +36,7 @@ BuildImage () {
|
||||
#Build Jenkins Image
|
||||
BuildImage Debian jenkins
|
||||
#Build JenkinsNode (imgbuilder) Image
|
||||
BuildImage Debian imgbuilder
|
||||
BuildImage Debian imgbuilder
|
||||
|
||||
#Get resources
|
||||
bash Scripts/GetExternalResources.sh
|
||||
14
Scripts/GetExternalResources.sh
Normal file
14
Scripts/GetExternalResources.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
#Goto ProjectRoot
|
||||
cd "$( cd "$( dirname "$0" )" &> /dev/null && pwd )/.."
|
||||
|
||||
GetResource () {
|
||||
local Variant=$1
|
||||
local FileName=$2
|
||||
local GetAddr=$3
|
||||
echo "Getting $FileName for $Variant"
|
||||
curl -L b--retry 7 --retry-delay 5 "$GetAddr" -o "CT-Files/$Variant/$FileName"
|
||||
}
|
||||
|
||||
#PhpMyadmin for mysql variant
|
||||
GetResource mysql phpmyadmin.tar.gz https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-english.tar.gz
|
||||
Reference in New Issue
Block a user