Skip to content

Commit

Permalink
Merge pull request #38 from evolvedbinary/ci-machine-experimental
Browse files Browse the repository at this point in the history
Add .circleci/config.yml
  • Loading branch information
duncdrum authored Apr 7, 2021
2 parents 6501b47 + c7faf0e commit 7b3f77e
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
version: 2.1

# TODO(DP): lets prune this see #30 #36 #35
# matrix:
# parameters:
# image_tag: ['latest', '5.0.0', '5.2.0', 'nightly', '1.0.0-ALPHA3']
# image_name: ['existdb/existdb', 'evolvedbinary/fusiondb-server']
# image_port: ['4059', '8080']
# repo: ['repo.evolvedbinary.com:9543', 'repo.evolvedbinary.com:9443', 'default']


# xenial uses Java 8 by default we need a VM executor for now
executors:
xenial:
machine:
image: ubuntu-1604:202007-01

# see https://circleci.com/developer/orbs/orb/circleci/maven orb config
# next up inline orbing it:
# see https://circleci.com/docs/2.0/reusing-config/#writing-inline-orbs
orbs:
maven: circleci/maven@1.1.1

workflows:
maven_test:
jobs:
- maven/test:
matrix:
parameters:
command:
- 'verify -B -q -Ddocker.test.port=$FS_API_PORT -Ddocker.test.image=existdb/existdb:latest'
- 'verify -B -q -Ddocker.test.port=$FS_API_PORT -Ddocker.test.image=existdb/existdb:5.2.0'
- 'verify -B -q -Ddocker.test.port=$FS_API_PORT -Ddocker.test.image=existdb/existdb:5.0.0'
# - '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'
# - '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'
executor: 'xenial'
context: FusionDB_images
test_results_path: target/failsafe-reports



0 comments on commit 7b3f77e

Please sign in to comment.