File tree Expand file tree Collapse file tree 3 files changed +37
-11
lines changed
Expand file tree Collapse file tree 3 files changed +37
-11
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ resources:
2828 - name : praqma-tap
2929 type : git
3030 source :
31- uri : https:// github.com/ Praqma/homebrew-praqma-tap.git
31+ uri : git@ github.com: Praqma/homebrew-praqma-tap.git
3232 branch : master
33- username : {{github-username}}
34- password : {{github-password}}
33+ private_key : {{github-private-key}}
34+
3535
3636# PRETESTED INTEGRATION
3737 - name : pretested-integration
@@ -166,4 +166,6 @@ jobs:
166166 text : |
167167 brew release failed
168168 https://concourse.kubernetes.praqma.cloud/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
169- - put : praqma-tap
169+ - put : praqma-tap
170+ params :
171+ repository : updated-praqma-tap
Original file line number Diff line number Diff line change @@ -15,15 +15,22 @@ echo $HASH
1515echo $VERSION
1616echo $URL
1717
18- go run template.go > praqma-tap/Formula/git-phlow.rb
19-
20- # FOR debugging purposes
21- cat praqma-tap/Formula/git-phlow.rb
22-
23-
24-
18+ # CLONE REPO TO CC OUTPUT
19+ git clone praqma-tap updated-praqma-tap
2520
21+ # GO SCRIPT THAT GENERATES BREW FORMULA
22+ go run git-phlow/ci/scripts/template.go > updated-praqma-tap/Formula/git-phlow.rb
2623
24+ # OUTPUT OF FORMULA FOR LOGGING
25+ cat updated-praqma-tap/Formula/git-phlow.rb
2726
27+ cd updated-praqma-tap
28+ git status
2829
30+ # ADD GIT USER
31+ git config --global user.email
" [email protected] " 32+ git config --global user.name " concourse"
2933
34+ # ADD NEW FORMULA AND COMMIT WITH RELEASE
35+ git add --all
36+ git commit -m " $VERSION released"
Original file line number Diff line number Diff line change 1+ ---
2+ platform : linux
3+
4+ image_resource :
5+ type : docker-image
6+ source : {repository: golang, tag: "1.8"}
7+
8+ inputs :
9+ - name : praqma-tap
10+ - name : git-phlow
11+ - name : gp-version
12+ - name : phlow-artifact-darwin-s3
13+ outputs :
14+ - name : updated-praqma-tap
15+
16+ run :
17+ path : git-phlow/ci/scripts/brew-release.sh
You can’t perform that action at this time.
0 commit comments