mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
Merge branch '0.13.x'
This commit is contained in:
commit
467e8132cd
@ -54,12 +54,6 @@ resource_types:
|
||||
repository: springio/artifactory-resource
|
||||
tag: 0.0.17
|
||||
<<: *registry-image-resource-source
|
||||
- name: pull-request
|
||||
type: registry-image
|
||||
source:
|
||||
repository: teliaoss/github-pr-resource
|
||||
tag: v0.23.0
|
||||
<<: *registry-image-resource-source
|
||||
- name: github-release
|
||||
type: registry-image
|
||||
source:
|
||||
@ -92,14 +86,6 @@ resources:
|
||||
git_config:
|
||||
- name: core.autocrlf
|
||||
value: true
|
||||
- name: git-pull-request
|
||||
type: pull-request
|
||||
icon: source-pull
|
||||
source:
|
||||
access_token: ((github-ci-pull-request-token))
|
||||
repository: ((github-repo-name))
|
||||
base_branch: ((branch))
|
||||
ignore_paths: ["ci/*"]
|
||||
- name: github-release
|
||||
type: github-release
|
||||
icon: briefcase-download
|
||||
@ -199,33 +185,6 @@ jobs:
|
||||
- put: slack-alert
|
||||
params:
|
||||
<<: *slack-success-params
|
||||
- name: build-pull-requests
|
||||
serial: true
|
||||
public: true
|
||||
plan:
|
||||
- get: ci-image
|
||||
- get: git-repo
|
||||
resource: git-pull-request
|
||||
trigger: true
|
||||
version: every
|
||||
- do:
|
||||
- put: git-pull-request
|
||||
params:
|
||||
path: git-repo
|
||||
status: pending
|
||||
- task: build-project
|
||||
image: ci-image
|
||||
file: git-repo/ci/tasks/build-pr-project.yml
|
||||
on_success:
|
||||
put: git-pull-request
|
||||
params:
|
||||
path: git-repo
|
||||
status: success
|
||||
on_failure:
|
||||
put: git-pull-request
|
||||
params:
|
||||
path: git-repo
|
||||
status: failure
|
||||
- name: windows-build
|
||||
serial: true
|
||||
plan:
|
||||
@ -317,5 +276,3 @@ groups:
|
||||
jobs: ["stage-release", "promote-release", "create-github-release"]
|
||||
- name: "ci-images"
|
||||
jobs: ["build-ci-image"]
|
||||
- name: "pull-requests"
|
||||
jobs: ["build-pull-requests"]
|
||||
|
@ -1,10 +0,0 @@
|
||||
---
|
||||
platform: linux
|
||||
inputs:
|
||||
- name: git-repo
|
||||
outputs:
|
||||
- name: distribution-repository
|
||||
caches:
|
||||
- path: maven
|
||||
run:
|
||||
path: git-repo/ci/scripts/build-project.sh
|
Loading…
Reference in New Issue
Block a user