Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
76fefdb
Copying over first file from dl2 dragonfly branch.
pkolbeck Jan 24, 2024
a923c9e
Copied another file, renamed folder.
pkolbeck Jan 24, 2024
9298410
Renamed folder again. Extensions should contain modules or directorie…
pkolbeck Jan 24, 2024
bbe683c
Fixed jitter_example and started modifying roach2_interface for dl3
pkolbeck Mar 6, 2024
41c20b4
missed some files in last commit
pkolbeck Mar 7, 2024
6f33b6c
Adjustments here as well to attempt getting things working. Luck stil…
pkolbeck Apr 3, 2024
b52f786
Changed Service back to Endpoint. Turns out service(py) does not inhe…
pkolbeck Apr 29, 2024
f704cfc
xrange -> range. xrange dprecated in python3
pkolbeck May 1, 2024
316f55c
Messing around debugging.
Jul 10, 2024
9471658
Removed try except clause so that errors are visible
Jul 12, 2024
10755a7
adjustments
Nov 21, 2024
e43314d
Added back line that actualy changed gain.
pkolbeck Jan 14, 2025
72cfc61
Updated packet returning to give jsons.
Jan 14, 2025
25c1a33
Addressed a numpy depreciation issue. Added get_gain.
pkolbeck Jan 14, 2025
ce249e9
Merge branch 'feature/cca_daq' of https://github.com/project8/dragonf…
pkolbeck Jan 15, 2025
15da3f3
Implemented get_gain in roach2_interface.
pkolbeck Jan 15, 2025
24a9f06
Missing parameter.
pkolbeck Jan 15, 2025
fdddf82
Checking output of read_ddc_1st_config.
pkolbeck Jan 15, 2025
bea3916
ndarray-> list so json works
pkolbeck Jan 15, 2025
ae2c879
Removed exploring read function. Added getting all fft shifts, change…
pkolbeck Jan 15, 2025
888047d
subscript bugfix
pkolbeck Jan 15, 2025
cd550fa
addressing 'self' weirdness in python function args.
pkolbeck Jan 15, 2025
e148dbd
Copied over daq files from dl2/master
pkolbeck Feb 4, 2025
f9255d7
Changing from dl2 provider to dl3 interface class. Commented out exce…
pkolbeck Feb 6, 2025
4e3085d
modified/moved psyllid-provider
pkolbeck Feb 11, 2025
e856341
Merge branch 'develop' into feature/cca_daq
pkolbeck Feb 11, 2025
6e4177a
Revert "modified/moved psyllid-provider"
pkolbeck Feb 11, 2025
2a9b664
Revert "Merge branch 'develop' into feature/cca_daq"
pkolbeck Feb 11, 2025
3faa9b4
reorganized files. Updated psyllid_provider to use the mixin.
pkolbeck Feb 28, 2025
f5c7af3
Dockerfile includes dependencies, cloning from git repos. Using dl3 g…
pkolbeck Mar 3, 2025
7d09b57
Fixed dockerfile.
pkolbeck Mar 3, 2025
3015b89
Translated daq interface to dl3.
pkolbeck Mar 4, 2025
ee3b3d6
removed json.dumps from roach2_interface, should return dictionaries …
pkolbeck Jun 3, 2025
7f83e0d
Switched errors to ThrowReply
pkolbeck Jun 12, 2025
bc3ea90
Switched to ThrowReply in remainder of daq chain.
pkolbeck Jun 12, 2025
7c08dd9
uncommented mask writing
pkolbeck Jun 16, 2025
14122a9
debugging
pkolbeck Jun 17, 2025
8cf3ce4
debug
pkolbeck Jun 17, 2025
4a92631
typo
pkolbeck Jun 23, 2025
407304b
Additional logs in check psyllid instance.
pkolbeck Jun 24, 2025
83556e9
stashing changes
pkolbeck Jul 9, 2025
5c58a25
Moved files out of folders
pkolbeck Nov 14, 2025
add9277
Removed corr portion of FpgaClient import.
pkolbeck Feb 13, 2026
db97c6d
Adjusted init
pkolbeck Feb 13, 2026
8d6e0de
merging develop into this branch. Removed DAQ specific portions in Do…
pkolbeck Feb 13, 2026
4ac20c7
actually saving changes
pkolbeck Feb 13, 2026
bf4784f
missed merge conflict resolution.
pkolbeck Feb 13, 2026
47725eb
Adding try except block to catch missing dependencies
pkolbeck Feb 13, 2026
5e40a61
That caused an error haha
pkolbeck Feb 13, 2026
498dbef
removed module from init
pkolbeck Feb 20, 2026
99621d5
removing versioning from jitter init
pkolbeck Feb 20, 2026
9114139
adjusted setup
pkolbeck Feb 20, 2026
c241cf4
Added katcp wrapper
pkolbeck Feb 20, 2026
ae8b2f6
setup now reads from more directories. Dockerfile can install depende…
pkolbeck Feb 20, 2026
9583dae
Adding installation of adc5g
pkolbeck Feb 20, 2026
9363f6f
Added missing ping for roach2_interface is_running
pkolbeck Feb 27, 2026
65f4756
Adjusted get frequency, renamed file to dl3 paradigm.
pkolbeck Mar 2, 2026
3fbb853
manual calibration sets flag to calibrated. Additional checks on maki…
pkolbeck Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ jobs:
steps:

- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v2
with:
submodules: recursive

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
id: setup_buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v2

- name: Build
id: build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v3
env:
BASE_IMAGE_TAG: ${{ env.BASE_IMAGE_VER }}-dev
with:
Expand Down Expand Up @@ -81,13 +81,13 @@ jobs:
steps:

- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v2
with:
submodules: recursive

- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
Expand All @@ -99,24 +99,24 @@ jobs:
type=ref,event=pr

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
id: setup_buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug

- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
id: build_push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v3
env:
BASE_IMAGE_TAG: ${{ env.BASE_IMAGE_VER }}${{ matrix.tag-suffix }}
with:
Expand Down
19 changes: 18 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,27 @@ ARG img_tag=v5.1.5

FROM ${img_user}/${img_repo}:${img_tag}

ARG enable_daq
ENV ENABLE_DAQ=${enable_daq}

COPY . /usr/local/src_dragonfly

WORKDIR /usr/local/src_dragonfly
RUN if [ "$ENABLE_DAQ" = "true" ]; then \
pip install \
numpy==1.26.4 \
scipy==1.14.1 \
backports.ssl_match_hostname==3.7.0.1 \
katcp==0.9.3; \
git clone https://github.com/project8/adc_tests.git; \
cd adc_tests; \
git checkout master; \
pip install .; \
cd ..; \
apt update; \
apt install -y iputils-ping; \
fi
RUN pip install docker pymodbus
RUN pip install .

WORKDIR /
WORKDIR /
18 changes: 18 additions & 0 deletions Dockerfile-DAQ
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
ARG img_user=ghcr.io/driplineorg
ARG img_repo=dripline-python
#ARG img_tag=develop-dev
ARG img_tag=v5.1.5

FROM ${img_user}/${img_repo}:${img_tag}

COPY . /usr/local/src_dragonfly

# DAQ specific dependencies
RUN git clone https://github.com/your-repo/katcp_wrapper.git && \
pip install -e katcp_wrapper

WORKDIR /usr/local/src_dragonfly
RUN pip install docker pymodbus
RUN pip install .

WORKDIR /
11 changes: 11 additions & 0 deletions auths.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"amqp": {
"broker": "rabbit-broker",
"username": "dripline",
"password": "dripline"
},
"postgresql": {
"username": "postgres",
"password": ""
}
}
8 changes: 5 additions & 3 deletions dripline/extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

# Subdirectories
from . import jitter

# Modules in this directory

from .add_auth_spec import *
from .daq_run_interface import *
from .psyllid_interface import *
from .r2daq import *
from .roach_daq_run_interface import *
from .roach2_interface import *
from .cmd_endpoint import *
from .asteval_endpoint import *
from .thermo_fisher_endpoint import *
Expand Down
37 changes: 0 additions & 37 deletions dripline/extensions/add_auth_spec.py

This file was deleted.

Loading