REPO-5271 Backport new structure to relaese/6.0.0 (#14)

- Simplify dependencies and standardise order
- README updated
- Green builds
- Changes to make Jars in enterprise war match
- Changes to make files in enterprise image match
- Added travis_wait 40 to the initial build as it can take 20 minutes to download artifacts
- Removed TAS tests from .travis.yml but not the code as TAS tests require Java 11 - Added in an empty test so the build runs on feature branches.
This commit is contained in:
Alan Davis
2020-09-27 10:58:57 +01:00
committed by GitHub
parent b6ae8128d9
commit 13bfefc1f1
102 changed files with 4865 additions and 8135 deletions

18
scripts/travis/init.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -ev
pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
# Maven Setup
mkdir -p "${HOME}/.m2" && cp -f .travis.settings.xml "${HOME}/.m2/settings.xml"
find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
# Docker Logins
echo "${QUAY_PASSWORD}" | docker login -u="${QUAY_USERNAME}" --password-stdin quay.io
# Enable experimental docker features (for the image squash option)
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
sudo service docker restart
# not helpful in this script
# export HOST_IP=$(hostname -I | cut -f1 -d' ')