Skip to content

Commit 1295f0e

Browse files
authored
Merge pull request #42 from evolvedbinary/feat-ci
Feat ci
2 parents 37a6af8 + 6c24ee2 commit 1295f0e

File tree

4 files changed

+89
-67
lines changed

4 files changed

+89
-67
lines changed

.circleci/config.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
version: 2.1
22

3-
# TODO(DP): lets prune this see #30 #36 #35
4-
# matrix:
5-
# parameters:
6-
# image_tag: ['latest', '5.0.0', '5.2.0', 'nightly', '1.0.0-ALPHA3']
7-
# image_name: ['existdb/existdb', 'evolvedbinary/fusiondb-server']
8-
# image_port: ['4059', '8080']
9-
# repo: ['repo.evolvedbinary.com:9543', 'repo.evolvedbinary.com:9443', 'default']
10-
11-
123
# xenial uses Java 8 by default we need a VM executor for now
134
executors:
145
xenial:
@@ -28,11 +19,11 @@ workflows:
2819
matrix:
2920
parameters:
3021
command:
31-
- 'verify -B -q -Ddocker.test.port=$FS_API_PORT -Ddocker.test.image=existdb/existdb:latest'
32-
- 'verify -B -q -Ddocker.test.port=$FS_API_PORT -Ddocker.test.image=existdb/existdb:5.2.0'
33-
- 'verify -B -q -Ddocker.test.port=$FS_API_PORT -Ddocker.test.image=existdb/existdb:5.0.0'
34-
# - 'verify -B -q -Ddocker.username=$FDB_NIGHTLY_DOCKER_USER -Ddocker.password=$FDB_NIGHTLY_DOCKER_PASS -Ddocker.test.port=4059 -Ddocker.test.image=$repo.evolvedbinary.com:9543/evolvedbinary/fusiondb-server:nightly'
35-
# - 'verify -B -q -Ddocker.username=$FDB_DOCKER_USER -Ddocker.password=$FDB_DOCKER_PASS -Ddocker.test.port=4059 -Ddocker.test.image=$repo.evolvedbinary.com:9443/evolvedbinary/fusiondb-server:1.0.0-ALPHA3'
22+
- 'verify -B -q -Dapi.port=8080 -Ddocker.db.image=existdb/existdb:latest'
23+
- 'verify -B -q -Dapi.port=8080 -Ddocker.db.image=existdb/existdb:5.2.0'
24+
- 'verify -B -q -Dapi.port=8080 -Ddocker.db.image=existdb/existdb:5.0.0'
25+
- 'verify -B -q -Ddocker.username=$FDB_NIGHTLY_DOCKER_USER -Ddocker.password=$FDB_NIGHTLY_DOCKER_PASS'
26+
- 'verify -B -q -Ddocker.username=$FDB_DOCKER_USER -Ddocker.password=$FDB_DOCKER_PASS -Ddocker.db.image=repo.evolvedbinary.com:9443/evolvedbinary/fusiondb-server:latest'
3627
executor: 'xenial'
3728
context: FusionDB_images
3829
test_results_path: target/failsafe-reports

.gitignore

Lines changed: 81 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,85 @@
1+
##############################
2+
## Java
3+
##############################
4+
.mtj.tmp/
5+
*.class
6+
*.jar
7+
*.war
8+
*.ear
9+
*.nar
10+
hs_err_pid*
11+
12+
##############################
13+
## Maven
14+
##############################
115
target/
16+
pom.xml.tag
17+
pom.xml.releaseBackup
18+
pom.xml.versionsBackup
19+
pom.xml.next
20+
pom.xml.bak
21+
release.properties
22+
dependency-reduced-pom.xml
23+
buildNumber.properties
24+
.mvn/timing.properties
25+
.mvn/wrapper/maven-wrapper.jar
226

3-
*.iml
27+
##############################
28+
## Gradle
29+
##############################
30+
bin/
31+
build/
32+
.gradle
33+
.gradletasknamecache
34+
gradle-app.setting
35+
!gradle-wrapper.jar
36+
37+
##############################
38+
## IntelliJ
39+
##############################
40+
out/
441
.idea/
42+
.idea_modules/
43+
*.iml
44+
*.ipr
45+
*.iws
46+
47+
##############################
48+
## Eclipse
49+
##############################
50+
.settings/
51+
bin/
52+
tmp/
53+
.metadata
54+
.classpath
55+
.project
56+
*.tmp
57+
*.bak
58+
*.swp
59+
*~.nib
60+
local.properties
61+
.loadpath
62+
.factorypath
63+
64+
##############################
65+
## NetBeans
66+
##############################
67+
nbproject/private/
68+
build/
69+
nbbuild/
70+
dist/
71+
nbdist/
72+
nbactions.xml
73+
nb-configuration.xml
74+
75+
##############################
76+
## Visual Studio Code
77+
##############################
78+
.vscode/
79+
.code-workspace
80+
.vscode/
581

6-
.DS_Store/
82+
##############################
83+
## OS X
84+
##############################
85+
.DS_Store

.travis.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Fusion Studio API
2-
[![Build Status](https://travis-ci.com/evolvedbinary/fusion-studio-api.svg?branch=master)](https://travis-ci.com/evolvedbinary/fusion-studio-api)
2+
[![CircleCI Status](https://circleci.com/gh/evolvedbinary/fusion-studio-api.svg?style=svg)](https://circleci.com/gh/evolvedbinary/fusion-studio-api)
33
[![License](https://img.shields.io/badge/license-AGPL%203-blue.svg)](https://opensource.org/licenses/AGPL-3.0)
44

55
Server Side API for [Fusion Studio](https://github.com/evolvedbinary/fusion-studio) written in RESTXQ and XQuery.
@@ -41,9 +41,8 @@ Various settings of the build can be overridden using the following System Prope
4141
| Host for Fusion Studio API | `api.host` | `API_HOST` |
4242
| Port for Fusion Studio API | `api.port` | `API_PORT` |
4343

44-
**NOTE:** If you wish to use the FusionDB Nightly Build Docker Container, you must configure your username and password for the
45-
repository in either your Maven Settings file (`~/.m2/settings.xml`), or provide the values via System Properties (see above).
46-
For the Maven Settings file, the following should be added to the `<servers>` section:
44+
**NOTE:** FusionDB nightly images and release images are hosted by separated repos. To test against both you need 2 sets of credentials to log into two private registries. You can configure your username and password for the repository in either your Maven Settings file (`~/.m2/settings.xml`), or provide the values via System Properties (see above).
45+
For the Maven Settings file, the following should be added to the `<servers>` section for `:nightly` images:
4746
```xml
4847
<server>
4948
<id>repo.evolvedbinary.com:9543</id>

0 commit comments

Comments
 (0)