Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into electron_p
  • Loading branch information
xiazhvera committed Jan 18, 2024
2 parents 6210a1e + d81d499 commit 5bbbc25
Show file tree
Hide file tree
Showing 79 changed files with 3,133 additions and 1,019 deletions.
121 changes: 97 additions & 24 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions .github/workflows/ci_run_basic_connect_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/basic_connect",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/basic_connect",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_cognito_connect_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/cognito_connect",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/cognito_connect",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_custom_authorizer_connect_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/custom_authorizer_connect",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/custom_authorizer_connect",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_fleet_provisioning_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/fleet_provisioning",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/fleet_provisioning",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/ci_run_fleet_provisioning_mqtt5_cfg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"language": "Javascript",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/fleet_provisioning",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
"secret": "ci/endpoint"
},
{
"name": "--cert",
"secret": "ci/FleetProvisioning/cert",
"filename": "tmp_certificate.pem"
},
{
"name": "--key",
"secret": "ci/FleetProvisioning/key",
"filename": "tmp_key.pem"
},
{
"name": "--template_name",
"data": "CI_FleetProvisioning_Template"
},
{
"name": "--template_parameters",
"data": "{\"SerialNumber\":\"$INPUT_UUID\"}"
},
{
"name": "--mqtt5",
"data": "true"
}
]
}
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_greengrass_discovery_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/basic_discovery",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/basic_discovery",
"runnable_region": "us-east-1",
"runnable_main_class": "",

"arguments": [
{
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_jobs_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/jobs",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/jobs",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/ci_run_jobs_mqtt5_cfg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"language": "Javascript",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/jobs",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
"secret": "ci/endpoint"
},
{
"name": "--cert",
"secret": "ci/Jobs/cert",
"filename": "tmp_certificate.pem"
},
{
"name": "--key",
"secret": "ci/Jobs/key",
"filename": "tmp_key.pem"
},
{
"name": "--thing_name",
"data": "CI_Jobs_Thing"
},
{
"name": "--mqtt5",
"data": "true"
}
]
}
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_mqtt5_pubsub_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/pub_sub_mqtt5",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/pub_sub_mqtt5",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_mqtt5_shared_subscription_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/shared_subscription",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/shared_subscription",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_pkcs11_connect_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/pkcs11_connect",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/pkcs11_connect",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_pkcs12_connect_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/pkcs12_connect",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/pkcs12_connect",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_pubsub_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/pub_sub",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/pub_sub",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_pubsub_js_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/pub_sub_js",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/pub_sub_js",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_shadow_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/shadow",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/shadow",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/ci_run_shadow_mqtt5_cfg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"language": "Javascript",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/shadow",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
"secret": "ci/endpoint"
},
{
"name": "--cert",
"secret": "ci/Shadow/cert",
"filename": "tmp_certificate.pem"
},
{
"name": "--key",
"secret": "ci/Shadow/key",
"filename": "tmp_key.pem"
},
{
"name": "--thing_name",
"data": "CI_Shadow_Thing"
},
{
"name": "--is_ci",
"data": "true"
},
{
"name": "--mqtt5",
"data": "true"
}
]
}
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_websocket_connect_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/websocket_connect",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/websocket_connect",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_windows_cert_connect_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/windows_cert_connect",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/windows_cert_connect",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_run_x509_connect_cfg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"language": "Javascript",
"sample_file": "./aws-iot-device-sdk-js-v2/samples/node/x509_connect",
"sample_region": "us-east-1",
"sample_main_class": "",
"runnable_file": "./aws-iot-device-sdk-js-v2/samples/node/x509_connect",
"runnable_region": "us-east-1",
"runnable_main_class": "",
"arguments": [
{
"name": "--endpoint",
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/handle-stale-discussions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: HandleStaleDiscussions
on:
schedule:
- cron: '0 */4 * * *'
discussion_comment:
types: [created]

jobs:
handle-stale-discussions:
name: Handle stale discussions
runs-on: ubuntu-latest
permissions:
discussions: write
steps:
- name: Stale discussions action
uses: aws-github-ops/handle-stale-discussions@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Loading

0 comments on commit 5bbbc25

Please sign in to comment.