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

Loading…
Cancel
Save