Browse Source

Update CircleCI images (#1903)

* Update CircleCI images

The older images are now deprecated, updating to new images.

* Corrected Default image tags
pull/1904/head
Kevin Davis 2 years ago committed by GitHub
parent
commit
ddc4dfd749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 34
      .circleci/config.yml

34
.circleci/config.yml

@ -21,18 +21,18 @@ executors: @@ -21,18 +21,18 @@ executors:
parameters:
version:
description: 'jdk version to use'
default: '8'
default: '8.0'
type: string
docker:
- image: circleci/openjdk:<<parameters.version>>
- image: cimg/openjdk:<<parameters.version>>
android:
parameters:
version:
description: 'jdk version to use'
default: '8'
default: '8.0'
type: string
docker:
- image: circleci/openjdk:<<parameters.version>>
- image: cimg/openjdk:<<parameters.version>>
# common commands
commands:
resolve-dependencies:
@ -101,7 +101,7 @@ jobs: @@ -101,7 +101,7 @@ jobs:
parameters:
jdk:
description: 'jdk version to use'
default: '8'
default: '8.0'
type: string
executor:
name: java
@ -140,7 +140,7 @@ jobs: @@ -140,7 +140,7 @@ jobs:
parameters:
jdk:
description: 'jdk version to use'
default: '8'
default: '8.0'
type: string
executor:
name: java
@ -160,7 +160,7 @@ jobs: @@ -160,7 +160,7 @@ jobs:
parameters:
jdk:
description: 'jdk version to use'
default: '11'
default: '11.0'
type: string
executor:
name: java
@ -181,17 +181,17 @@ workflows: @@ -181,17 +181,17 @@ workflows:
build:
jobs:
- test:
jdk: '8'
jdk: '8.0'
name: 'jdk 8'
filters:
<<: *all-branches
- test:
jdk: '11'
jdk: '11.0'
name: 'jdk 11'
filters:
<<: *all-branches
- test:
jdk: '17-buster'
jdk: '17.0'
name: 'jdk 17'
filters:
<<: *all-branches
@ -202,22 +202,22 @@ workflows: @@ -202,22 +202,22 @@ workflows:
snapshot:
jobs:
- test:
jdk: '8'
jdk: '8.0'
name: 'jdk 8'
filters:
<<: *master-only
- test:
jdk: '11'
jdk: '11.0'
name: 'jdk 11'
filters:
<<: *master-only
- test:
jdk: '17-buster'
jdk: '17.0'
name: 'jdk 17'
filters:
<<: *master-only
- deploy:
jdk: '8'
jdk: '8.0'
name: 'deploy snapshot'
requires:
- 'jdk 8'
@ -227,7 +227,7 @@ workflows: @@ -227,7 +227,7 @@ workflows:
filters:
<<: *master-only
- deploy-jdk11:
jdk: '11'
jdk: '11.0'
name: 'deploy jdk11 snapshot modules'
requires:
- 'jdk 11'
@ -239,13 +239,13 @@ workflows: @@ -239,13 +239,13 @@ workflows:
release:
jobs:
- deploy:
jdk: '8'
jdk: '8.0'
name: 'release to maven central'
context: Sonatype
filters:
<<: *tags-only
- deploy-jdk11:
jdk: '11'
jdk: '11.0'
name: 'release jdk11 artifacts to maven central'
requires:
- 'release to maven central'

Loading…
Cancel
Save