Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions ubuntu1404/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ if [ -d "/mnt/build/cloudstack" ]; then
else
echo "Removing /mnt/build/cloudstack ..."
rm -rf /mnt/build/cloudstack
echo -e "\n--------\n"
fi
fi
else
Expand All @@ -116,6 +117,42 @@ else
fi
fi

# Print out some environment information
echo -e "System information:"
cat /etc/*-release

echo -e "\nGit version:"
git --version

echo -e "\nJava version:"
java -version

echo -e "\nMaven version:"
mvn --version

echo -e "\nPython version:"
python --version

echo -e "\ndpkg version:"
dpkg --version

echo -e "\ndevscripts version:"
dpkg -s devscripts | grep "Version:" | awk '{print $2}'

echo -e "\ndebhelper version:"
dpkg -s debhelper | grep "Version:" | awk '{print $2}'

echo -e "\ngenisoimage version:"
genisoimage --version

echo -e "\nlsb-release version:"
dpkg -s lsb-release | grep "Version:" | awk '{print $2}'

echo -e "\nbuild-essential version:"
dpkg -s build-essential | grep "Version:" | awk '{print $2}'

echo -e "\n--------\n"

# Clone the remote provided git repo and ref
if [ $use_remote = true ]; then
echo "Cloning $git_remote ..."
Expand All @@ -141,6 +178,7 @@ fi
# convert LONG flags to SHORT flags for anything prior 4.12.x.x
echo "Detecting CloudStack version ..."
pom_version=$(cd /mnt/build/cloudstack; mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
echo "${pom_version}"
major_version=$(echo ${pom_version} | cut -d. -f1)
minor_version=$(echo ${pom_version} | cut -d. -f2)
echo -e "\n--------\n"
Expand Down
38 changes: 38 additions & 0 deletions ubuntu1604/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ if [ -d "/mnt/build/cloudstack" ]; then
else
echo "Removing /mnt/build/cloudstack ..."
rm -rf /mnt/build/cloudstack
echo -e "\n--------\n"
fi
fi
else
Expand All @@ -116,6 +117,42 @@ else
fi
fi

# Print out some environment information
echo -e "System information:"
cat /etc/*-release

echo -e "\nGit version:"
git --version

echo -e "\nJava version:"
java -version

echo -e "\nMaven version:"
mvn --version

echo -e "\nPython version:"
python --version

echo -e "\ndpkg version:"
dpkg --version

echo -e "\ndevscripts version:"
dpkg -s devscripts | grep "Version:" | awk '{print $2}'

echo -e "\ndebhelper version:"
dpkg -s debhelper | grep "Version:" | awk '{print $2}'

echo -e "\ngenisoimage version:"
genisoimage --version

echo -e "\nlsb-release version:"
dpkg -s lsb-release | grep "Version:" | awk '{print $2}'

echo -e "\nbuild-essential version:"
dpkg -s build-essential | grep "Version:" | awk '{print $2}'

echo -e "\n--------\n"

# Clone the remote provided git repo and ref
if [ $use_remote = true ]; then
echo "Cloning $git_remote ..."
Expand All @@ -141,6 +178,7 @@ fi
# convert LONG flags to SHORT flags for anything prior 4.12.x.x
echo "Detecting CloudStack version ..."
pom_version=$(cd /mnt/build/cloudstack; mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
echo "${pom_version}"
major_version=$(echo ${pom_version} | cut -d. -f1)
minor_version=$(echo ${pom_version} | cut -d. -f2)
echo -e "\n--------\n"
Expand Down