osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/42636?usp=email )


Change subject: jobs/gerrit-osmo-ccid-firmware-hwtest: new job
......................................................................

jobs/gerrit-osmo-ccid-firmware-hwtest: new job

Add a new test that flashes the firmware from the previous build job and
runs tests against it. Tests are intentionally from the master branch
for security reasons.

Related: SYS#7963
Depends: osmo-ccid-firmware I9445d6d5e4723bf6a87d4bffcdc638560471328b
Change-Id: I736b2b194813e6edff0197145fe08168c3e66903
---
A jobs/gerrit-osmo-ccid-firmware-hwtest.yml
1 file changed, 43 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/36/42636/1

diff --git a/jobs/gerrit-osmo-ccid-firmware-hwtest.yml 
b/jobs/gerrit-osmo-ccid-firmware-hwtest.yml
new file mode 100644
index 0000000..3b9c7c5
--- /dev/null
+++ b/jobs/gerrit-osmo-ccid-firmware-hwtest.yml
@@ -0,0 +1,43 @@
+- job:
+    name: gerrit-osmo-ccid-firmware-hwtest
+    description: |
+        octsim osmo-ccid-firmware CI - flash firmware built as artifact in
+        to octsim and see if it still works
+    node: octsimtest
+
+    parameters:
+      !include: gerrit-verifications-parameters.yaml.inc
+
+    builders:
+      - shell: |
+              # Get firmware from previous job
+              git clone \
+                --depth=1 \
+                -b "$BRANCH_CI" \
+                https://gerrit.osmocom.org/osmo-ci
+              osmo-ci/scripts/jenkins-gerrit/artifacts_download.py 
"$PIPELINE_BUILD_URL"
+              install \
+                -Dm644 \
+                gerrit-artifacts/archive/sysmoOCTSIM/gcc/sysmoOCTSIM-*.bin \
+                tests/sysmo-octsim/dl/sysmoOCTSIM-latest.bin
+
+              # Run tests
+              export SKIP_FETCH_IMAGE=1
+              cd ./tests
+              timeout 30m ./run-tests
+
+    scm:
+      - git:
+          url: https://gerrit.osmocom.org/osmo-ccid-firmware
+          git-config-name: 'Jenkins Builder'
+          git-config-email: '[email protected]'
+          skip-tag: true
+          branches:
+            - 'master'
+          wipe-workspace: true
+    properties:
+    - build-discarder:
+        days-to-keep: 30
+        num-to-keep: 120
+    retry-count: 3 # scm checkout
+

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/42636?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I736b2b194813e6edff0197145fe08168c3e66903
Gerrit-Change-Number: 42636
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to