Skip to content

Commit e2a717c

Browse files
committed
Initial release of the public repo
1 parent 9546cb7 commit e2a717c

File tree

223 files changed

+12378
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+12378
-46
lines changed

.circleci/.pre-commit-ci.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.4.0
4+
hooks:
5+
- id: check-merge-conflict
6+
- id: check-json
7+
files: "(integrations/.*/manifest\\.json|sample-context/.*\\.json|schemas/.*\\.json)"
8+
- id: check-symlinks
9+
- id: trailing-whitespace
10+
- id: end-of-file-fixer
11+
- id: check-added-large-files

.circleci/config.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
version: 2.1
2+
3+
# Keep this at the top to reduce noise in chatrooms when we mess up circleci setup
4+
experimental:
5+
notify:
6+
branches:
7+
only:
8+
- master
9+
10+
orbs:
11+
aws-cli: circleci/[email protected]
12+
linter: thekevjames/[email protected]
13+
14+
jobs:
15+
build:
16+
docker:
17+
- image: circleci/node:latest
18+
steps:
19+
- checkout
20+
- run:
21+
name: Install Dependencies
22+
command: npm ci
23+
- run:
24+
name: prettier
25+
command: npm run prettier:check
26+
- run:
27+
name: Run tests
28+
command: npm test
29+
deploy-to-s3:
30+
parameters:
31+
bucket-name:
32+
type: string
33+
machine:
34+
enabled: true
35+
steps:
36+
- checkout
37+
- aws-cli/install
38+
- run:
39+
name: Deploy to s3 bucket
40+
command: |
41+
if [ "$CIRCLE_REPOSITORY_URL" = "[email protected]:launchdarkly/integration-framework-private.git" ]; then
42+
./scripts/copy_to_s3.sh
43+
fi
44+
environment:
45+
BUCKET_NAME: << parameters.bucket-name >>
46+
47+
workflows:
48+
version: 2.1
49+
build-and-deploy:
50+
jobs:
51+
- linter/pre-commit:
52+
config_file: .circleci/.pre-commit-ci.yaml
53+
- build
54+
- deploy-to-s3:
55+
requires:
56+
- build
57+
filters:
58+
branches:
59+
only: master
60+
bucket-name: launchdarkly-integrations-staging
61+
- deploy-to-s3:
62+
requires:
63+
- build
64+
filters:
65+
branches:
66+
only: deploy-catamorphic
67+
bucket-name: launchdarkly-integrations-catamorphic
68+
- deploy-to-s3:
69+
requires:
70+
- build
71+
filters:
72+
branches:
73+
only: deploy-production
74+
bucket-name: launchdarkly-integrations-production

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is this a support request?**
11+
This issue tracker is maintained by the LaunchDarkly integration team and is intended for feedback on the integration platform and integrations. If you're not sure whether the problem you are having is specifically related to the platform and integrations, or to the LaunchDarkly service overall, it may be more appropriate to contact the LaunchDarkly support team; they can help to investigate the problem and will consult the integration team if necessary. You can submit a support request by going [here](https://support.launchdarkly.com/) and clicking "submit a request", or by emailing [email protected].
12+
13+
Note that issues filed on this issue tracker are publicly accessible. Do not provide any private account information on your issues. If your problem is specific to your account, you should submit a support request as described above.
14+
15+
**Describe the bug**
16+
A clear and concise description of what the bug is.
17+
18+
**To reproduce**
19+
Steps to reproduce the behavior.
20+
21+
**Expected behavior**
22+
A clear and concise description of what you expected to happen.
23+
24+
**Logs**
25+
If applicable, add any log output related to your problem.
26+
27+
**Integration**
28+
The integration that you are using.
29+
30+
**Additional context**
31+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I would love to see the integration platform [...does something new...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context about the feature request here.

.github/pull_request_template.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Requirements**
2+
3+
- [ ] I have followed the repository's [pull request submission guidelines](../blob/master/README.md#submitting-pull-requests)
4+
- [ ] I have updated my user documentation
5+
- [ ] I have updated my developer documentation (my integration README)
6+
7+
**Related issues**
8+
9+
Provide links to any issues in this repository or elsewhere relating to this pull request.
10+
11+
**Describe the solution you've provided**
12+
13+
If you're adding a new integration, provide some context into how LaunchDarkly and the third-party service should interact.
14+
15+
If you're modifying an existing integration, provide a clear and concise description of what you expect to happen.
16+
17+
**Describe alternatives you've considered**
18+
19+
If you're modifying an existing integration, provide a clear and concise description of any alternative solutions or features you've considered.
20+
21+
**Additional context**
22+
23+
Add any other context about the pull request here.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
node_modules/
12
.cache
23
.env
34
*.log
@@ -7,4 +8,5 @@
78
build
89
dist
910
public
10-
.DS_Store
11+
.DS_Store
12+
latest

.nvm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
13

.pre-commit-config.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.4.0
4+
hooks:
5+
- id: check-merge-conflict
6+
- id: check-json
7+
files: "(integrations/.*/manifest\\.json|sample-context/.*\\.json|schemas/.*\\.json)"
8+
- id: check-symlinks
9+
- id: trailing-whitespace
10+
- id: end-of-file-fixer
11+
- id: check-added-large-files
12+
13+
- repo: local
14+
hooks:
15+
- id: build-schema
16+
name: Build schema
17+
entry: npm run build
18+
language: system
19+
pass_filenames: false
20+
21+
- id: validate-manifests
22+
name: Validate manifests
23+
entry: npm run test
24+
language: system
25+
pass_filenames: false
26+
27+
- id: prettier
28+
name: prettier
29+
language: system
30+
entry: npx prettier -l
31+
files: '.*(js|json)$'

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
manifest.schema.json

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true,
6+
"arrowParens": "avoid",
7+
"endOfLine": "lf"
8+
}

0 commit comments

Comments
 (0)