summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/integration-test-workflow.yml20
-rw-r--r--.github/workflows/system-test-offsite.yml2
2 files changed, 18 insertions, 4 deletions
diff --git a/.github/workflows/integration-test-workflow.yml b/.github/workflows/integration-test-workflow.yml
index 7f16f840..0a52764c 100644
--- a/.github/workflows/integration-test-workflow.yml
+++ b/.github/workflows/integration-test-workflow.yml
@@ -101,7 +101,7 @@ jobs:
args: --verbose --features integration-test -- --skip sending_and_receiving_a_message
install-and-use-rpi:
- runs-on: [self-hosted, Linux, ARM]
+ runs-on: [self-hosted, Linux, ARM, onsite]
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
@@ -123,6 +123,7 @@ jobs:
run: sudo systemctl stop tedge-mapper-collectd
continue-on-error: true
+
- name: disconnect c8y
run: sudo tedge disconnect c8y
# We need to continue when there is no tedge already installed
@@ -189,8 +190,8 @@ jobs:
- name: chmod dummy_plugin
run: chmod +x /home/pi/tedge_dummy_plugin/tedge_dummy_plugin
- - name: Run Smoke Test
- run: ./ci/ci_smoke_test.sh
+ - name: Run smoke test for Cumulocity
+ run: ./ci/ci_smoke_test_c8y.sh
env:
C8YPASS: ${{ secrets.SECRET_C8YPASS }}
C8YUSERNAME: ${{ secrets.SECRET_C8YUSERNAME }}
@@ -200,3 +201,16 @@ jobs:
TEBASEDIR: /home/pi/actions-runner/_work/thin-edge.io/thin-edge.io/
EXAMPLEDIR: /home/pi/examples
C8YURL: https://thin-edge-io.eu-latest.cumulocity.com
+ IOTHUBNAME: ${{ secrets.IOTHUBNAME }}
+
+ - name: Run Smoke Test for Azure
+ run: ./ci/ci_smoke_test_az.sh
+ env:
+ C8YDEVICE: ${{ secrets.SECRET_C8YDEVICE }}
+ SASKEYQUEUE: ${{ secrets.SASKEYQUEUE }}
+ SASKEYIOTHUB: ${{ secrets.SASKEYIOTHUB }}
+ AZUREENDPOINT: ${{ secrets.AZUREENDPOINT }}
+ AZUREEVENTHUB: ${{ secrets.AZUREEVENTHUB }}
+ IOTHUBNAME: ${{ secrets.IOTHUBNAME }}
+
+
diff --git a/.github/workflows/system-test-offsite.yml b/.github/workflows/system-test-offsite.yml
index 9357ec78..e4dc8727 100644
--- a/.github/workflows/system-test-offsite.yml
+++ b/.github/workflows/system-test-offsite.yml
@@ -86,7 +86,7 @@ jobs:
run: chmod +x /home/pi/tedge_dummy_plugin/tedge_dummy_plugin
- name: Run Smoke Test
- run: ./ci/ci_smoke_test.sh
+ run: ./ci/ci_smoke_test_c8y.sh
env:
C8YPASS: ${{ secrets.SECRET_C8YPASS }}
C8YUSERNAME: ${{ secrets.SECRET_C8YUSERNAME }}