File tree Expand file tree Collapse file tree 7 files changed +44
-39
lines changed
Expand file tree Collapse file tree 7 files changed +44
-39
lines changed Original file line number Diff line number Diff line change 1515 from_secret : jira_client_secret
1616
1717trigger :
18- branch :
19- - releases/**
18+ event :
19+ - tag
Original file line number Diff line number Diff line change @@ -132,36 +132,3 @@ jobs:
132132 git config user.email 41898282+github-actions[bot]@users.noreply.github.com
133133 git tag -fa v${{ env.major_version }} -m "Update v${{ env.major_version }} tag"
134134 git push origin v${{ env.major_version }} --force
135-
136- test-build :
137- needs : action
138- runs-on : ubuntu-latest
139- steps :
140- - name : Jira Development Integration
141- uses : rohit-gohri/jira-ci-cd-integration@v0
142- env :
143- JIRA_DEFAULT_TEST_ISSUE : ' JCI-7'
144- with :
145- event_type : build
146- state : ${{ job.status }}
147- jira_instance : boringdownload
148- token : ${{ secrets.GITHUB_TOKEN }}
149- client_id : ${{ secrets.JIRA_CLIENT_ID }}
150- client_secret : ${{ secrets.JIRA_CLIENT_SECRET }}
151-
152- # TODO: Fix this
153- # test-deployment:
154- # needs: action
155- # runs-on: ubuntu-latest
156- # steps:
157- # - name: Jira Development Integration
158- # uses: rohit-gohri/jira-ci-cd-integration@v0
159- # env:
160- # JIRA_DEFAULT_TEST_ISSUE: 'JCI-7'
161- # with:
162- # event_type: deployment
163- # state: ${{ job.status }}
164- # jira_instance: boringdownload
165- # token: ${{ secrets.GITHUB_TOKEN }}
166- # client_id: ${{ secrets.JIRA_CLIENT_ID }}
167- # client_secret: ${{ secrets.JIRA_CLIENT_SECRET }}
Original file line number Diff line number Diff line change 1+ name : ' release-test'
2+
3+ on :
4+ push :
5+ tags :
6+ - v0**
7+
8+ jobs :
9+ test-build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Jira Development Integration
13+ uses : rohit-gohri/jira-ci-cd-integration@v0
14+ env :
15+ JIRA_DEFAULT_TEST_ISSUE : ' JCI-7'
16+ with :
17+ event_type : build
18+ state : ${{ job.status }}
19+ jira_instance : boringdownload
20+ token : ${{ secrets.GITHUB_TOKEN }}
21+ client_id : ${{ secrets.JIRA_CLIENT_ID }}
22+ client_secret : ${{ secrets.JIRA_CLIENT_SECRET }}
23+
24+ # TODO: Fix this
25+ # test-deployment:
26+ # runs-on: ubuntu-latest
27+ # steps:
28+ # - name: Jira Development Integration
29+ # uses: rohit-gohri/jira-ci-cd-integration@v0
30+ # env:
31+ # JIRA_DEFAULT_TEST_ISSUE: 'JCI-7'
32+ # with:
33+ # event_type: deployment
34+ # state: ${{ job.status }}
35+ # jira_instance: boringdownload
36+ # token: ${{ secrets.GITHUB_TOKEN }}
37+ # client_id: ${{ secrets.JIRA_CLIENT_ID }}
38+ # client_secret: ${{ secrets.JIRA_CLIENT_SECRET }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ image: node:12
44
55workflow :
66 rules :
7- - if : ' $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME =~ /releases/ '
7+ - if : $CI_COMMIT_TAG
88
99jira-integration :
1010 image : registry.gitlab.com/rohit-gohri/jira-ci-cd-integration:v0
Original file line number Diff line number Diff line change 22# NOTE: Only for dockerfile
33set -e
44
5- node /usr/local/jira-ci-cd-integration/dist/docker/index.js
5+ node /usr/local/jira-ci-cd-integration/dist/docker/index.js
Original file line number Diff line number Diff line change 11{
22 "name" : " jira-ci-cd-integration" ,
3- "version" : " 0.2.5 " ,
3+ "version" : " 0.2.6 " ,
44 "private" : true ,
55 "description" : " TypeScript template action" ,
66 "main" : " lib/main.js" ,
You can’t perform that action at this time.
0 commit comments