Attempt automating update of atom fatjar url for fatjar rc jars.
This commit is contained in:
@@ -25,12 +25,24 @@ resources:
|
||||
uri: git@github.com:spring-projects/sts4.git
|
||||
branch: {{branch}}
|
||||
private_key: {{rsa_id}}
|
||||
- name: sts4-out
|
||||
type: git
|
||||
source:
|
||||
uri: git@github.com:spring-projects/sts4.git
|
||||
branch: {{branch}}
|
||||
private_key: {{rsa_id}}
|
||||
- name: atom-cf-manifest-yaml
|
||||
type: git
|
||||
source:
|
||||
branch: {{branch}}
|
||||
private_key: {{rsa_id}}
|
||||
uri: git@github.com:spring-projects/atom-cf-manifest-yaml.git
|
||||
- name: atom-cf-manifest-yaml-out
|
||||
type: git
|
||||
source:
|
||||
branch: {{branch}}
|
||||
private_key: {{rsa_id}}
|
||||
uri: git@github.com:spring-projects/atom-cf-manifest-yaml.git
|
||||
- name: atom-concourse
|
||||
type: git
|
||||
source:
|
||||
@@ -51,12 +63,6 @@ resources:
|
||||
paths:
|
||||
- concourse/tasks
|
||||
private_key: {{rsa_id}}
|
||||
- name: sts4-out
|
||||
type: git
|
||||
source:
|
||||
uri: git@github.com:spring-projects/sts4.git
|
||||
branch: {{branch}}
|
||||
private_key: {{rsa_id}}
|
||||
- name: s3-boot-properties-vsix-snapshot
|
||||
type: s3
|
||||
source:
|
||||
@@ -385,6 +391,24 @@ jobs:
|
||||
params:
|
||||
file: s3-manifest-yaml-fatjar-snapshot/*.jar
|
||||
acl: public-read
|
||||
- name: prepare-manifest-yaml-atom-rc
|
||||
serial: true
|
||||
plan:
|
||||
- aggregate:
|
||||
- get: atom-cf-manifest-yaml
|
||||
- get: s3-manifest-yaml-fatjar-rc
|
||||
trigger: true
|
||||
passed:
|
||||
- promote-fatjars-to-rc
|
||||
- task: build-manifest-yaml-atom-package
|
||||
input_mapping:
|
||||
package_sources: atom-cf-manifest-yaml
|
||||
fatjar: s3-manifest-yaml-fatjar-snapshot
|
||||
file: sts4/concourse/tasks/build-atom-package.yml
|
||||
- put: atom-cf-manifest-yaml-out
|
||||
params:
|
||||
repository: out/repo
|
||||
rebase: true
|
||||
- name: build-concourse-rc
|
||||
plan:
|
||||
- aggregate:
|
||||
|
||||
@@ -7,6 +7,7 @@ atom_commons=$workdir/sts4/atom-extensions/atom-commons
|
||||
atom_package=$workdir/package_sources
|
||||
|
||||
url=`cat fatjar/url`
|
||||
fatjar_version=`cat fatjar/version`
|
||||
|
||||
cd $atom_commons
|
||||
npm install
|
||||
@@ -36,3 +37,13 @@ length=${#basename}
|
||||
newName=${basename:0:${length}-4}-$timestamp${basename:${length}-4:${length}}
|
||||
|
||||
cp ${basename} $output/${newName}
|
||||
|
||||
git config user.email "kdevolder@pivotal.io"
|
||||
git config user.name "Kris De Volder"
|
||||
|
||||
git add .
|
||||
|
||||
git commit \
|
||||
-m "Use fatjar version to ${fatjarversion}"
|
||||
|
||||
git clone $atom_package $workdir/out/repo
|
||||
|
||||
Reference in New Issue
Block a user