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:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -8,3 +8,6 @@ target/
|
||||
.sonar4clipse
|
||||
*.sonar4clipseExternals
|
||||
*.graphml
|
||||
|
||||
#prevent license accapting file to get accidentially commited to git
|
||||
container-license-acceptance.txt
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
microsoft/mssql-server-linux:2017-CU6
|
||||
Reference in New Issue
Block a user