Skip to content

Commit

Permalink
Merge branch 'main' into report-dup-merged-env-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mbwhite authored Oct 16, 2023
2 parents b43de82 + 330b80d commit 5b6f818
Show file tree
Hide file tree
Showing 18 changed files with 6,316 additions and 3,315 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report
about: Create a bug report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
<!-- A clear and concise description of what the bug is. -->

**To Reproduce**
<!-- List the steps that can be used to demonstrate the bug. Include the name of the service and operation that you're trying to invoke, if applicable. Be sure to describe any relevant info regarding parameter values used with your API invocation. -->

**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->

**Screenshots**
<!-- If applicable, add screenshots to help explain your problem. -->

**Must gather (please complete the following information):**
- SDK Version [e.g. 1.2.1]
- Node.js Version [e.g. Node.js 18]
- Name of service that you're trying to use (if applicable)
- Name of operation that you're trying to invoke (if applicable)

**Additional context**
<!-- Add any other context about the problem here.
Were you able to avoid the problem by changing your application code slightly? -->
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered**
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Additional context**
<!-- Add any other context or screenshots about the feature request here. -->
48 changes: 45 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
- name: Use Node.js 18
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x
- run: npm ci
- run: npm run lint

Expand All @@ -24,7 +24,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -35,3 +35,45 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test

docker:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
- name: Setup docker builds
uses: docker/setup-buildx-action@v1

- name: loging to ghcr
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.repository_owner}}
password: ${{secrets.GITHUB_TOKEN}}

- name: Docker meta
id: tekton-lint
uses: docker/metadata-action@v3
with:
images: ghcr.io/ibm/tekton-lint
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: build and push
uses: docker/build-push-action@v2
with:
context: .
# platforms: linux/amd64,linux/arm/v7,linux/arm64
latforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.onviffmqtt.outputs.tags }}
labels: ${{ steps.onviffmqtt.outputs.labels }}
218 changes: 218 additions & 0 deletions .secrets.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
{
"exclude": {
"files": "stubs/.+\\.json|package-lock.json|^.secrets.baseline$",
"lines": null
},
"generated_at": "2023-08-14T15:44:25Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
},
{
"name": "ArtifactoryDetector"
},
{
"name": "AzureStorageKeyDetector"
},
{
"base64_limit": 4.5,
"name": "Base64HighEntropyString"
},
{
"name": "BasicAuthDetector"
},
{
"name": "BoxDetector"
},
{
"name": "CloudantDetector"
},
{
"ghe_instance": "github.ibm.com",
"name": "GheDetector"
},
{
"name": "GitHubTokenDetector"
},
{
"hex_limit": 3,
"name": "HexHighEntropyString"
},
{
"name": "IbmCloudIamDetector"
},
{
"name": "IbmCosHmacDetector"
},
{
"name": "JwtTokenDetector"
},
{
"keyword_exclude": null,
"name": "KeywordDetector"
},
{
"name": "MailchimpDetector"
},
{
"name": "NpmDetector"
},
{
"name": "PrivateKeyDetector"
},
{
"name": "SlackDetector"
},
{
"name": "SoftlayerDetector"
},
{
"name": "SquareOAuthDetector"
},
{
"name": "StripeDetector"
},
{
"name": "TwilioKeyDetector"
}
],
"results": {
"Jenkinsfile": [
{
"hashed_secret": "dd7c0356e7bfc571546237209d7fa15319e25cfa",
"is_secret": false,
"is_verified": false,
"line_number": 32,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "eebfd4af77aec86f7ad8e41add1d782da79c6e60",
"is_secret": false,
"is_verified": false,
"line_number": 306,
"type": "NPM tokens",
"verified_result": null
}
],
"README.md": [
{
"hashed_secret": "32e8612d8ca77c7ea8374aa7918db8e5df9252ed",
"is_secret": false,
"is_verified": false,
"line_number": 158,
"type": "Secret Keyword",
"verified_result": null
}
],
"auth/sessionTokenManager.ts": [
{
"hashed_secret": "5b09e6a925c902cc2fe4fbfa12fb10db95cb0542",
"is_secret": false,
"is_verified": false,
"line_number": 106,
"type": "Secret Keyword",
"verified_result": null
}
],
"cloudant/v1.ts": [
{
"hashed_secret": "af142925e0da7006101954aae9d4f5753388bc3f",
"is_secret": false,
"is_verified": false,
"line_number": 6523,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "9010fd9ef3ce50b1d897190013c7fa86ea3f8f6f",
"is_secret": false,
"is_verified": false,
"line_number": 10955,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "d793ee0a2ff3069299a51062681dbcf9bcbb17e1",
"is_secret": false,
"is_verified": false,
"line_number": 10957,
"type": "Secret Keyword",
"verified_result": null
}
],
"examples/putReplicationDocument/example_request.js": [
{
"hashed_secret": "701e4e52db78a3657f5bc71fd174cf29e7868fbd",
"is_secret": false,
"is_verified": false,
"line_number": 13,
"type": "Secret Keyword",
"verified_result": null
}
],
"lib/cloudantBaseService.ts": [
{
"hashed_secret": "fc5177639d71196391dd9f4997bc4f240eb29366",
"is_secret": false,
"is_verified": false,
"line_number": 158,
"type": "Secret Keyword",
"verified_result": null
}
],
"lib/getAuthenticatorFromEnvCloudantExtension.ts": [
{
"hashed_secret": "c2a6b03f190dfb2b4aa91f8af8d477a9bc3401dc",
"is_secret": false,
"is_verified": false,
"line_number": 45,
"type": "Secret Keyword",
"verified_result": null
}
],
"scripts/typedoc/generate-index-html.sh": [
{
"hashed_secret": "da6c2d0c143f88a731d6490d7fe9b55afb799ab6",
"is_secret": false,
"is_verified": false,
"line_number": 12,
"type": "Base64 High Entropy String",
"verified_result": null
}
],
"test/integration/timeout.integration.test.js": [
{
"hashed_secret": "37fa265330ad83eaa879efb1e2db6380896cf639",
"is_secret": false,
"is_verified": false,
"line_number": 88,
"type": "Secret Keyword",
"verified_result": null
},
{
"hashed_secret": "d4c3d66fd0c38547a3c7a4c6bdc29c36911bc030",
"is_secret": false,
"is_verified": false,
"line_number": 142,
"type": "Secret Keyword",
"verified_result": null
}
],
"test/unit/cloudant.v1.test.js": [
{
"hashed_secret": "b8473b86d4c2072ca9b08bd28e373e8253e865c4",
"is_secret": false,
"is_verified": false,
"line_number": 7821,
"type": "Secret Keyword",
"verified_result": null
}
]
},
"version": "0.13.1+ibm.61.dss",
"word_list": {
"file": null,
"hash": null
}
}
1 change: 1 addition & 0 deletions .tektonlintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ rules: # error | warning | off
no-undefined-param: error
prefer-when-expression: warning
no-deprecated-resource: warning
no-missing-hashbang: warning
9 changes: 9 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"settingsInheritedFrom": "whitesource-config/whitesource-config@master",
"issueSettings": {
"issueRepoName": "sdks"
},
"scanSettings": {
"javaVersion": "17"
}
}
Loading

0 comments on commit 5b6f818

Please sign in to comment.