From f0588c1bfa49c6040aeae17186ea63858353c358 Mon Sep 17 00:00:00 2001 From: Ivan Fernandez Calvo Date: Wed, 23 Sep 2020 11:12:09 +0200 Subject: [PATCH 1/2] feat: prepare release pipelines --- .ci/jobs/beats-release-minor-major.yml | 20 ++++++++++++++++++++ .ci/jobs/beats-release-patch.yml | 20 ++++++++++++++++++++ .ci/jobs/folders.yml | 5 +++++ 3 files changed, 45 insertions(+) create mode 100644 .ci/jobs/beats-release-minor-major.yml create mode 100644 .ci/jobs/beats-release-patch.yml diff --git a/.ci/jobs/beats-release-minor-major.yml b/.ci/jobs/beats-release-minor-major.yml new file mode 100644 index 00000000000..3ca7cb20f00 --- /dev/null +++ b/.ci/jobs/beats-release-minor-major.yml @@ -0,0 +1,20 @@ +--- +- job: + name: Beats/Release/netas-release-minor-major + display-name: 'Prepare Major/minor Release' + description: 'Automate the steps to prepare a new Release branch' + view: Beats + project-type: pipeline + pipeline-scm: + script-path: release_scripts/pipeline-release-minor-major.groovy + scm: + - git: + url: git@github.com:elastic/ingest-dev.git + refspec: +refs/heads/*:refs/remotes/origin/* +refs/pull/*/head:refs/remotes/origin/pr/* + wipe-workspace: 'True' + name: origin + shallow-clone: true + credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba + reference-repo: /var/lib/jenkins/.git-references/ingest-dev.git + branches: + - master diff --git a/.ci/jobs/beats-release-patch.yml b/.ci/jobs/beats-release-patch.yml new file mode 100644 index 00000000000..156a9376969 --- /dev/null +++ b/.ci/jobs/beats-release-patch.yml @@ -0,0 +1,20 @@ +--- +- job: + name: Beats/Release/netas-release-patch + display-name: 'Prepare Patch Release' + description: 'Automate the steps to prepare a new Patch' + view: Beats + project-type: pipeline + pipeline-scm: + script-path: release_scripts/pipeline-release-patch.groovy + scm: + - git: + url: git@github.com:elastic/ingest-dev.git + refspec: +refs/heads/*:refs/remotes/origin/* +refs/pull/*/head:refs/remotes/origin/pr/* + wipe-workspace: 'True' + name: origin + shallow-clone: true + credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba + reference-repo: /var/lib/jenkins/.git-references/ingest-dev.git + branches: + - master diff --git a/.ci/jobs/folders.yml b/.ci/jobs/folders.yml index 60b6e3eff92..4b6cc5c4944 100644 --- a/.ci/jobs/folders.yml +++ b/.ci/jobs/folders.yml @@ -4,3 +4,8 @@ name: Beats description: Beats project-type: folder + +- job: + name: Beats/Release + description: Jobs for release preparation + project-type: folder From b2823853ac22b6d933655420c55458a91022f258 Mon Sep 17 00:00:00 2001 From: Ivan Fernandez Calvo Date: Wed, 23 Sep 2020 11:57:08 +0200 Subject: [PATCH 2/2] Apply suggestions from code review --- .ci/jobs/beats-release-minor-major.yml | 2 +- .ci/jobs/beats-release-patch.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/jobs/beats-release-minor-major.yml b/.ci/jobs/beats-release-minor-major.yml index 3ca7cb20f00..91c7d105fb8 100644 --- a/.ci/jobs/beats-release-minor-major.yml +++ b/.ci/jobs/beats-release-minor-major.yml @@ -1,6 +1,6 @@ --- - job: - name: Beats/Release/netas-release-minor-major + name: Beats/Release/beats-release-minor-major display-name: 'Prepare Major/minor Release' description: 'Automate the steps to prepare a new Release branch' view: Beats diff --git a/.ci/jobs/beats-release-patch.yml b/.ci/jobs/beats-release-patch.yml index 156a9376969..4d205f79647 100644 --- a/.ci/jobs/beats-release-patch.yml +++ b/.ci/jobs/beats-release-patch.yml @@ -1,6 +1,6 @@ --- - job: - name: Beats/Release/netas-release-patch + name: Beats/Release/beats-release-patch display-name: 'Prepare Patch Release' description: 'Automate the steps to prepare a new Patch' view: Beats