-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from NTIA/MultiSwitchStatus
Upgrade to Ubuntu 20.04, python 3.8, scos-actions 4.0.1, update healthy, and register sigan to provide status.
- Loading branch information
Showing
37 changed files
with
137 additions
and
414 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
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
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 |
---|---|---|
@@ -1,45 +1,15 @@ | ||
FROM ubuntu as build | ||
FROM ubuntu:20.04 | ||
|
||
# Everything AFTER the "v" in the GitHub tag | ||
ARG UHD_TAG=3.13.1.0-rc1 | ||
RUN apt-get update -q && apt-get upgrade -yq | ||
|
||
RUN apt-get update -q && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -qy --no-install-recommends \ | ||
wget libboost-all-dev libusb-1.0-0-dev python3-setuptools \ | ||
python3-pip python3-setuptools python3-numpy \ | ||
python3-mako python3-requests \ | ||
cmake build-essential ca-certificates | ||
|
||
RUN wget https://github.com/EttusResearch/uhd/archive/v${UHD_TAG}.tar.gz \ | ||
-O uhd.tar.gz && tar -xvzf uhd.tar.gz | ||
|
||
RUN mkdir uhd-${UHD_TAG}/host/build | ||
WORKDIR uhd-${UHD_TAG}/host/build | ||
RUN cmake -DENABLE_PYTHON_API=ON -DENABLE_PYTHON3=ON ../ | ||
RUN make && make test && make install | ||
RUN python3 /usr/local/lib/uhd/utils/uhd_images_downloader.py | ||
|
||
FROM ubuntu | ||
|
||
# Copy just the necessities to run B2xx with python3 | ||
COPY --from=build /usr/local/lib/libuhd.so* /usr/local/lib/ | ||
COPY --from=build /usr/local/lib/uhd/ /usr/local/lib/uhd/ | ||
COPY --from=build /usr/local/lib/python3/dist-packages/uhd/ /usr/lib/python3/dist-packages/uhd/ | ||
COPY --from=build /usr/local/include/uhd.h /usr/local/include/ | ||
COPY --from=build /usr/local/include/uhd/ /usr/local/include/uhd/ | ||
COPY --from=build /usr/local/bin/uhd_* /usr/local/bin/ | ||
COPY --from=build /usr/local/share/uhd/images/usrp_b2* /usr/local/share/uhd/images/ | ||
|
||
RUN apt-get update -q && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -qy --no-install-recommends \ | ||
libboost-date-time1.65.1 libboost-filesystem1.65.1 \ | ||
libboost-python1.65.1 libboost-regex1.65.1 \ | ||
libboost-serialization1.65.1 libboost-system1.65.1 \ | ||
libboost-thread1.65.1 libboost-program-options1.65.1 \ | ||
libusb-1.0-0 libpython3.7 \ | ||
python3 python3-pip \ | ||
python3-dev python3-uhd uhd-host \ | ||
&& \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
CMD /usr/bin/python3.7 | ||
RUN uhd_images_downloader | ||
|
||
CMD /usr/bin/python3 |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
django>=3.1.13, <4.0 | ||
environs>=9.0, <10.0 | ||
numpy>=1.0, <2.0 | ||
scos_actions @ git+https://github.com/NTIA/scos-actions@2.0.0 | ||
scos_actions @ git+https://github.com/NTIA/scos-actions@4.0.1 |
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
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
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
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
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
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ single_frequency_fft: | |
fft_size: 1024 | ||
nffts: 300 | ||
nskip: 15.36e4 | ||
classification: UNCLASSIFIED |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ single_frequency_fft: | |
fft_size: 1024 | ||
nffts: 300 | ||
nskip: 15.36e4 | ||
classification: UNCLASSIFIED |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ single_frequency_fft: | |
fft_size: 1024 | ||
nffts: 300 | ||
nskip: 15.36e4 | ||
classification: UNCLASSIFIED |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ single_frequency_fft: | |
fft_size: 1024 | ||
nffts: 300 | ||
nskip: 15.36e4 | ||
classification: UNCLASSIFIED |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ single_frequency_fft: | |
fft_size: 1024 | ||
nffts: 300 | ||
nskip: 15.36e4 | ||
classification: UNCLASSIFIED |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ single_frequency_fft: | |
fft_size: 1024 | ||
nffts: 300 | ||
nskip: 15.36e4 | ||
classification: UNCLASSIFIED |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ single_frequency_fft: | |
fft_size: 1024 | ||
nffts: 300 | ||
nskip: 15.36e4 | ||
classification: UNCLASSIFIED |
Oops, something went wrong.