-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release-test.yml: Consolidate release tests into one step
- Loading branch information
Showing
1 changed file
with
6 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,26 +71,16 @@ jobs: | |
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.IOTLAB_PRIVATE_KEY }} | ||
- name: Fetch host key from IoT-LAB saclay site | ||
- name: Fetch host keys from IoT-LAB sites | ||
if: ${{ matrix.pytest_mark == 'iotlab_creds' }} | ||
run: | | ||
IOTLAB_USER=$(cat ~/.iotlabrc | cut -f1 -d:) | ||
ssh -oStrictHostKeyChecking=accept-new \ | ||
${IOTLAB_USER}@saclay.iot-lab.info exit | ||
- name: Fetch host key from IoT-LAB lille site | ||
# Not being used in the most recent release specs but kept in for | ||
# lille is not being used in the most recent release specs but kept in for | ||
# backwords compatibility | ||
if: ${{ matrix.pytest_mark == 'iotlab_creds' }} | ||
run: | | ||
IOTLAB_USER=$(cat ~/.iotlabrc | cut -f1 -d:) | ||
ssh -oStrictHostKeyChecking=accept-new \ | ||
${IOTLAB_USER}@lille.iot-lab.info exit | ||
- name: Fetch host key from IoT-LAB strasbourg site | ||
if: ${{ matrix.pytest_mark == 'iotlab_creds' }} | ||
run: | | ||
IOTLAB_USER=$(cat ~/.iotlabrc | cut -f1 -d:) | ||
ssh -oStrictHostKeyChecking=accept-new \ | ||
${IOTLAB_USER}@strasbourg.iot-lab.info exit | ||
for site in saclay lille strasbourg; do | ||
ssh -oStrictHostKeyChecking=accept-new \ | ||
"${IOTLAB_USER}@${site}.iot-lab.info exit" | ||
done | ||
- name: Checkout Release-Specs | ||
uses: actions/checkout@main | ||
with: | ||
|