DATAJDBC-320 - Removed container-license-acceptance.txt.

This file accepted the license condition of Microsoft for there Docker image when running tests.
Very likely without the person using this knowing that she is accepting a license.
The file now has to be explicitly provided.

The Travis CI build adds the container-license-acceptance.txt for the build only.
This commit is contained in:
Jens Schauder
2019-01-21 11:39:11 +01:00
parent bddb613c57
commit 7204eaf0b3
4 changed files with 12 additions and 1 deletions

3
.gitignore vendored
View File

@@ -8,3 +8,6 @@ target/
.sonar4clipse
*.sonar4clipseExternals
*.graphml
#prevent license accapting file to get accidentially commited to git
container-license-acceptance.txt

View File

@@ -27,5 +27,6 @@ services:
install: true
script:
- "echo 'microsoft/mssql-server-linux:2017-CU6' > spring-data-jdbc/src/test/resources/container-license-acceptance.txt"
- "mvn -version"
- "mvn clean dependency:list test -Pall-dbs${NO_JACOCO:+',no-jacoco'} -Dsort -U"

View File

@@ -62,6 +62,14 @@ Currently the following _databasetypes_ are available:
* mysql
* postgres
* mariadb
* mssql
Testing with Microsoft SQL Server requires you to accept the EULA of the Microsoft SQL Server Docker image, so the build may download and run it for you.
In order to accept the EULA please add a file named `container-license-acceptance.txt` to the classpath, i.e. `src/test/resources` with the content:
```
microsoft/mssql-server-linux:2017-CU6
```
=== Run tests with all databases

View File

@@ -1 +0,0 @@
microsoft/mssql-server-linux:2017-CU6