Skip to content

Commit e9f0297

Browse files
committed
CI: tutorial
1 parent afd68dd commit e9f0297

File tree

2 files changed

+35
-43
lines changed

2 files changed

+35
-43
lines changed

.circleci/config.yml

+35-11
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,26 @@ jobs:
230230
- ~/.sonar/cache
231231
- store_cache
232232

233+
tutorial:
234+
executor: 'j21'
235+
steps:
236+
- timeout
237+
- checkout
238+
- setup_remote_docker
239+
- start-db
240+
- load_cache
241+
- mvn-info
242+
- mvn-install
243+
- run:
244+
name: Run Maven
245+
command: mvn compile exec:java -Dexec.mainClass=FirstProject
246+
working_directory: tutorial/maven
247+
- run:
248+
name: Run Gradle
249+
command: gradle run
250+
working_directory: tutorial/gradle
251+
- store_cache
252+
233253
deploy:
234254
executor: 'j11'
235255
steps:
@@ -369,19 +389,23 @@ workflows:
369389
# - '-Pjackson-serde'
370390
# - '-Pjsonb-serde'
371391
# - '-Pplain'
392+
#
393+
# sonar:
394+
# when:
395+
# not: <<pipeline.parameters.docker-img>>
396+
# jobs:
397+
# - sonar:
398+
# name: sonar
399+
# matrix:
400+
# parameters:
401+
# docker-img:
402+
# - 'docker.io/arangodb/enterprise:3.11'
403+
# topology:
404+
# - 'cluster'
372405

373-
sonar:
374-
when:
375-
not: <<pipeline.parameters.docker-img>>
406+
tutorial:
376407
jobs:
377-
- sonar:
378-
name: sonar
379-
matrix:
380-
parameters:
381-
docker-img:
382-
- 'docker.io/arangodb/enterprise:3.11'
383-
topology:
384-
- 'cluster'
408+
- tutorial
385409

386410
deploy:
387411
jobs:

.github/workflows/tutorial.yml

-32
This file was deleted.

0 commit comments

Comments
 (0)