From 3d795ab98608fe7dffc2e45a28a9d10d21fb56f2 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Sun, 2 Oct 2022 16:24:10 +0200 Subject: [PATCH] Add Java 19 daily build to CI pipeline --- ci/pipeline.yml | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 1e6a78c1a2..c635d360db 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -133,6 +133,14 @@ resources: access_token: ((github-ci-status-token)) branch: ((branch)) context: jdk18-build +- name: repo-status-jdk19-build + type: github-status-resource + icon: eye-check-outline + source: + repository: ((github-repo-name)) + access_token: ((github-ci-status-token)) + branch: ((branch)) + context: jdk19-build - name: slack-alert type: slack-notification icon: slack @@ -257,6 +265,34 @@ jobs: <<: *slack-fail-params - put: repo-status-jdk18-build params: { state: "success", commit: "git-repo" } +- name: jdk19-build + serial: true + public: true + plan: + - get: ci-image + - get: git-repo + - get: every-morning + trigger: true + - put: repo-status-jdk19-build + params: { state: "pending", commit: "git-repo" } + - do: + - task: check-project + image: ci-image + file: git-repo/ci/tasks/check-project.yml + privileged: true + timeout: ((task-timeout)) + params: + TEST_TOOLCHAIN: 19 + <<: *build-project-task-params + on_failure: + do: + - put: repo-status-jdk19-build + params: { state: "failure", commit: "git-repo" } + - put: slack-alert + params: + <<: *slack-fail-params + - put: repo-status-jdk19-build + params: { state: "success", commit: "git-repo" } - name: build-pull-requests serial: true public: true @@ -435,7 +471,7 @@ jobs: groups: - name: "builds" - jobs: ["build", "jdk18-build"] + jobs: ["build", "jdk18-build", "jdk19-build"] - name: "releases" jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "create-github-release"] - name: "ci-images"