Skip to content

Commit 2f41daa

Browse files
authored
Releasing changes publicly (#100)
* Releasing changes publicly * Remove unwanted integrations * Update CODEOWNERS
1 parent 07bf96b commit 2f41daa

27 files changed

+864
-354
lines changed

.circleci/config.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build and test
2+
3+
on:
4+
pull_request:
5+
workflow_call:
6+
7+
jobs:
8+
pre-commit:
9+
name: Pre-commit
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
14+
with:
15+
extra_args: '-c .pre-commit-ci.yaml'
16+
17+
build:
18+
name: Build and test
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
23+
with:
24+
node-version: 16
25+
- name: Install dependencies
26+
run: npm ci
27+
- name: Prettier
28+
run: npm run prettier:check
29+
- name: Run tests
30+
run: npm run test:ci
31+
env:
32+
JEST_JUNIT_OUTPUT_DIR: ./reports/junit/
33+
- name: Build schema
34+
run: npm run build
35+
- name: Store test results
36+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
37+
if: always()
38+
with:
39+
name: test-results
40+
path: ./reports/junit/
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Upload artifacts and trigger deployment
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build-and-test:
9+
name: Build and test
10+
uses: ./.github/workflows/build_and_test.yml
11+
12+
upload-to-s3:
13+
name: Upload to S3
14+
runs-on: ubuntu-latest
15+
needs: [build-and-test]
16+
if: github.repository == 'launchdarkly/integration-framework-private'
17+
permissions:
18+
contents: read
19+
id-token: write
20+
steps:
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
- name: Assume AWS role
23+
uses: launchdarkly/common-actions/aws-auth@1a4ed44fb65ee340cfe86234b79fc1bf606bfe25
24+
with:
25+
role-session-name: 'UploadToS3'
26+
iam-role-arn: 'arn:aws:iam::554582317989:role/github-actions-integration-framework-private'
27+
- name: Upload artifacts to S3
28+
run: ./scripts/upload_artifacts_to_s3.sh
29+
30+
trigger-deployment:
31+
name: Trigger deployment
32+
runs-on: ubuntu-latest
33+
needs: [build-and-test, upload-to-s3]
34+
if: github.repository == 'launchdarkly/integration-framework-private'
35+
steps:
36+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37+
- name: Send webhook
38+
run: ./scripts/send_webhook.sh
39+
env:
40+
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
41+
THUMB_SEEKER_TOKEN: ${{ secrets.THUMB_SEEKER_TOKEN }}

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These owners will be the default owners for everything in the repo.
22

3-
* @launchdarkly/team-ecosystem @launchdarkly/team-release-backend
3+
* @launchdarkly/team-enterprise

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# LaunchDarkly Integration Framework
22

3-
[![CircleCI](https://circleci.com/gh/launchdarkly/integration-framework.svg?style=svg&circle-token=9a44436c3b22e7fb6a22df1ad9a2455a0d6f2d34)](https://circleci.com/gh/launchdarkly/integration-framework)
4-
53
Feature flags give you control over your deployment and rollout. They can also provide context to third-party tools that show you how your application reacts to flag changes. You can integrate these tools with LaunchDarkly using the LaunchDarkly integration framework. For additional background, read [Using the LaunchDarkly integration framework](https://docs.launchdarkly.com/integrations/building-integrations) in our LaunchDarkly product documentation.
64

75
This repository contains LaunchDarkly integrations built by our community. Most of these integrations consume events from LaunchDarkly to provide the external tools with more context.
File renamed without changes.

integrations/pagerduty-rg/assets/pagerduty-rectangle.svg renamed to integrations/pagerduty-guardian-edition/assets/pagerduty-rectangle.svg

File renamed without changes.

integrations/pagerduty-rg/assets/pagerduty-square.svg renamed to integrations/pagerduty-guardian-edition/assets/pagerduty-square.svg

File renamed without changes.

integrations/pagerduty-rg/manifest.json renamed to integrations/pagerduty-guardian-edition/manifest.json

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "PagerDuty - Release Guardian",
2+
"name": "PagerDuty - Guardian Edition",
33
"version": "1.0.0",
4-
"overview": "Send Release Guardian events to PagerDuty services.",
5-
"description": "Send Release Guardian events to PagerDuty to create or resolve incidents.",
4+
"overview": "Send Guardian Edition events to PagerDuty services.",
5+
"description": "Send Guardian Edition events to PagerDuty to create or resolve incidents.",
66
"author": "LaunchDarkly",
77
"supportEmail": "[email protected]",
88
"links": {
@@ -22,7 +22,6 @@
2222
"name": "PagerDuty integration key",
2323
"type": "string",
2424
"description": "Enter your [PagerDuty integration key](https://support.pagerduty.com/main/docs/services-and-integrations#add-integrations-to-an-existing-service).",
25-
"isSecret": true,
2625
"isOptional": false
2726
},
2827
{
@@ -40,22 +39,17 @@
4039
"description": "Filter incoming events by event type",
4140
"isOptional": true,
4241
"multiselectDefaultOptions": [
43-
"MeasuredRolloutRegressionDetected",
44-
"MeasuredRolloutReverted",
45-
"ErrorMonitoringNewIssueFound"
42+
"measured-rollout-regression",
43+
"measured-rollout-reverted"
4644
],
4745
"multiselectOptions": [
4846
{
4947
"label": "Measured Rollout Regression Detected",
50-
"value": "MeasuredRolloutRegressionDetected"
48+
"value": "measured-rollout-regression"
5149
},
5250
{
5351
"label": "Measured Rollout Reverted",
54-
"value": "MeasuredRolloutReverted"
55-
},
56-
{
57-
"label": "New Issue Found",
58-
"value": "ErrorMonitoringNewIssueFound"
52+
"value": "measured-rollout-reverted"
5953
}
6054
]
6155
},

0 commit comments

Comments
 (0)