Skip to content

Commit

Permalink
The slimmest of beginnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Overbeck committed Nov 30, 2023
1 parent 57d8335 commit 21acd42
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ parameters:
java-tag:
type: string
default: "17.0.3"
run_nightly_against_develop:
type: boolean
default: true

orbs:
build-tools: circleci/[email protected]
executors:
Expand Down Expand Up @@ -33,6 +37,8 @@ common_filters: &common_filters
workflows:
version: 2
everything:
# TODO: Temporary, RESTORE!
when: false
jobs:
- build:
<<: *common_filters
Expand Down Expand Up @@ -76,8 +82,23 @@ workflows:
context:
- sonarcloud

nightly_against_develop:
when: << pipeline.parameters.run_nightly_against_develop >>
jobs:
- find-develop-snapshot


jobs:
find-develop-snapshot:
docker: # run the steps with Docker
- image: cimg/openjdk:<< pipeline.parameters.java-tag >>
steps:
- run:
name: findDevelopSnapshot
command: |
LATEST_DEVELOP_VERSION='$(curl "https://artifacts.oicr.on.ca/artifactory/api/search/latestVersion?g=io.dockstore&a=dockstore&repos=collab-snapshot&v=*") >> $BASH_ENV
echo $LATEST_DEVELOP_VERSION
unit-tests:
executor: unit_tests_executor
environment:
Expand Down

0 comments on commit 21acd42

Please sign in to comment.