Skip to content

Commit 789fdd4

Browse files
committed
Release 0.2.6, generated from commit 76ee43d
1 parent 1660374 commit 789fdd4

File tree

7 files changed

+44
-39
lines changed

7 files changed

+44
-39
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ steps:
1515
from_secret: jira_client_secret
1616

1717
trigger:
18-
branch:
19-
- releases/**
18+
event:
19+
- tag

.github/workflows/release.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff 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 }}

.github/workflows/test-release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 }}

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ image: node:12
44

55
workflow:
66
rules:
7-
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME =~ /releases/'
7+
- if: $CI_COMMIT_TAG
88

99
jira-integration:
1010
image: registry.gitlab.com/rohit-gohri/jira-ci-cd-integration:v0

bin/jira-integration

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# NOTE: Only for dockerfile
33
set -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

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)