osmith submitted this change.

View Change

Approvals: osmith: Looks good to me, approved laforge: Looks good to me, but someone else must approve fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified
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(-)

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: 'jenkins@osmocom.org'
+ 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 change 42636. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I736b2b194813e6edff0197145fe08168c3e66903
Gerrit-Change-Number: 42636
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>