Skip to content

Commit 5342d46

Browse files
authored
Update BitBucket Pipe metadata (launchdarkly#292)
* update pipe yaml based on feedback https://bitbucket.org/bitbucketpipelines/official-pipes/pull-requests/519/update-launchdarkly-pipe#comment-338706778 * copy changelog to bitbucket
1 parent 1863d03 commit 5342d46

File tree

3 files changed

+32
-7
lines changed

3 files changed

+32
-7
lines changed

.ldrelease/publish-bitbucket-metadata.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ RELEASE_VERSION=${1:-$LD_RELEASE_VERSION}
1212
mkdir -p bitbucketMetadataUpdates
1313
git clone "https://${BITBUCKET_USERNAME}:${BITBUCKET_TOKEN}@bitbucket.org/launchdarkly/ld-find-code-refs-pipe.git" bitbucketMetadataUpdates
1414
cp build/metadata/bitbucket/* bitbucketMetadataUpdates/
15+
cp CHANGELOG.md bitbucketMetadataUpdates/
1516
cd bitbucketMetadataUpdates
1617
git config user.email "launchdarklyreleasebot@launchdarkly.com"
1718
git config user.name "LaunchDarklyReleaseBot"

build/metadata/bitbucket/logo.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

build/metadata/bitbucket/pipe.yml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,36 @@
1-
name: Find code references
2-
description: Job for finding and sending feature flag code references to LaunchDarkly
1+
name: LaunchDarkly Code References
32
image: launchdarkly/ld-find-code-refs-bitbucket-pipeline:2.7.0
3+
category: Feature flagging
4+
description: Job for finding and sending feature flag code references to LaunchDarkly
45
repository: https://bitbucket.org/launchdarkly/ld-find-code-refs-pipe
5-
maintainer: support@launchdarkly.com
6-
icon: https://bitbucket.org/launchdarkly/ld-find-code-refs-pipe/logo.svg
6+
variables:
7+
- name: LD_ACCESS_TOKEN
8+
- name: LD_PROJ_KEY # Required unless using 'projects' block in configuration file then it must be omitted.
9+
- name: LD_REPO_NAME
10+
default: '$BITBUCKET_REPO_SLUG'
11+
- name: LD_CONTEXT_LINES
12+
default: '2'
13+
- name: LD_BASE_URI
14+
default: 'https://app.launchdarkly.com'
15+
- name: LD_DEFAULT_BRANCH
16+
default: main
17+
- name: LD_DELIMITERS
18+
- name: LD_IGNORE_SERVICE_ERRORS
19+
default: 'false'
20+
- name: LD_LOOKBACK
21+
default: '10'
22+
- name: LD_ALLOW_TAGS
23+
default: 'false'
24+
- name: LD_DEBUG
25+
default: 'false'
26+
maintainer:
27+
name: LaunchDarkly
28+
website: https://launchdarkly.com/
29+
email: support@launchdarkly.com
30+
vendor:
31+
name: LaunchDarkly
32+
website: https://launchdarkly.com/
33+
email: support@launchdarkly.com
734
tags:
835
- launchdarkly
936
- flags

0 commit comments

Comments
 (0)