Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pawel plesniak/fsm interface to fsm action #61

Open
wants to merge 40 commits into
base: production/v4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
3153a16
syncing dunedaq-develop-cpp-ci.yml; previous commit: Merge: f21e155 c…
dingp Aug 29, 2023
add3da5
syncing ; previous commit: Author: Pengfei Ding <9438483+dingp@users.…
dingp Aug 29, 2023
6e74c95
syncing ; previous commit: Author: Pengfei Ding <9438483+dingp@users.…
dingp Sep 8, 2023
92a6409
In-progress updates to listrev to include more of the communication p…
eflumerf Nov 2, 2023
6b2cf38
Finish updating the listrev model to a request-reply plus pub/sub one,
eflumerf Nov 8, 2023
b48b4c2
Fix selection of list mode in RandomDataListGenerator
eflumerf Nov 8, 2023
e458a94
Adapt to configure via OKS
gcrone Nov 17, 2023
2973f13
Added example OKS configuration to config directory
gcrone Nov 17, 2023
01cb0b0
Adapt to appfwk ConfigurationHandler split into ConfigurationManager …
gcrone Nov 29, 2023
7c158a7
Update to John's latest daq_oks_codegen and add coredal to link libs
gcrone Dec 1, 2023
1f4ddaa
Update example OKS config files to use new Service/Connection definition
gcrone Dec 1, 2023
fb080e1
Revert "Update example OKS config files to use new Service/Connection…
gcrone Dec 5, 2023
25cd473
Reapply "Update example OKS config files to use new Service/Connectio…
gcrone Dec 6, 2023
7a575dc
Set the data_type in the Connections in the example OKS config
gcrone Dec 6, 2023
2aca8da
Remove references to data_ytpe in Services
gcrone Dec 6, 2023
e1e5d7f
React to appfwk configuration classes no longer being singletons but …
eflumerf Dec 7, 2023
3c92cc3
Remove DAQModuleManager
eflumerf Dec 11, 2023
d486d81
syncing ; previous commit: Author: Pengfei Ding <9438483+dingp@users.…
jcfreeman2 Dec 13, 2023
a09fef5
syncing ; previous commit: Author: John Freeman <[email protected]>
jcfreeman2 Dec 16, 2023
262c8ad
Use datatype_to_string in code to avoid confusion about what string t…
eflumerf Jan 5, 2024
c2f9f3f
syncing ; previous commit: Author: John Freeman <[email protected]>
jcfreeman2 Jan 8, 2024
9a4270d
syncing dunedaq-develop-cpp-ci.yml; previous commit: Author: John Fre…
jcfreeman2 Jan 9, 2024
d90c7c2
Merge branch 'develop' into eflumerf/NoOKSSingletons
eflumerf Jan 9, 2024
8be9374
Merge pull request #53 from DUNE-DAQ/eflumerf/NoOKSSingletons
eflumerf Jan 9, 2024
dfc461b
Syncing .github/workflows/dunedaq-develop-cpp-ci.yml
jcfreeman2 Feb 20, 2024
2b82f13
Merge branch 'develop' into feature/OKS
eflumerf Feb 22, 2024
eec54cd
Merge pull request #54 from DUNE-DAQ/feature/OKS
jcfreeman2 Mar 1, 2024
eaf77e8
Update version
eflumerf Mar 15, 2024
138c813
Merge pull request #55 from DUNE-DAQ/eflumerf/VersionBump
eflumerf Mar 15, 2024
5209ff8
Fix RCBroadcatser -> RCBroadcaster typo in example config
gcrone Mar 22, 2024
cb18510
Bump version
gcrone Mar 22, 2024
0d7ca04
Bump version
gcrone Mar 22, 2024
bdac5fc
Merge pull request #57 from DUNE-DAQ/gcrone/fix-config
andrewmogan Mar 22, 2024
b402eb9
Syncing .github/workflows/dunedaq-develop-cpp-ci.yml
andrewmogan Apr 25, 2024
3988606
Create sessions for each element of the listrev integration test
eflumerf May 13, 2024
b8db65e
Add missing queues
eflumerf May 15, 2024
a223a7c
Update configurations and integration test to use them
eflumerf May 16, 2024
127bb90
Put DALDIR back
eflumerf May 17, 2024
ce1f510
Merge pull request #60 from DUNE-DAQ/eflumerf/ListrevIntegTest
eflumerf May 17, 2024
3104ad3
Changing FSMInterface to FSMAction
PawelPlesniak May 22, 2024
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
54 changes: 27 additions & 27 deletions .github/workflows/dunedaq-develop-cpp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,21 @@ on:
pull_request:
branches: [ develop ]
schedule:
- cron: "0 7 * * *"
- cron: "0 9 * * *"

workflow_dispatch:


jobs:
Spack_Build_against_dev_release:
name: spack_build_against_dev_on_${{ matrix.os_name }}
Build_against_dev_release:
name: build_against_dev_on_${{ matrix.os_name }}
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
include:
- image: "ghcr.io/dune-daq/sl7-slim-externals:spack-dev"
os_name: "c7"
- image: "ghcr.io/dune-daq/c8-slim-externals:spack-dev"
os_name: "c8"
- image: "ghcr.io/dune-daq/nightly-release-alma9:development_v5"
os_name: "a9"
container:
image: ${{ matrix.image }}
defaults:
Expand All @@ -49,42 +47,44 @@ jobs:

- name: setup dev area
run: |
export REPO=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')
source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh
setup_dbt latest|| true
dbt-create -n last_successful dev-${{ matrix.os_name }}

setup_dbt latest || true
release_name="last_fddaq"

if [[ -n $( sed -r -n '/- name: '$REPO'$/p' daq-release/configs/nddaq/nddaq-develop/release.yaml ) ]] ; then release_name="last_nddaq"; fi

dbt-create -n $release_name dev-${{ matrix.os_name }}

- name: checkout package for CI
uses: actions/checkout@v3
with:
path: ${{ github.repository }}

- name: setup build env, build the repo against the development release
#- name: setup build env, build and lint the repo against the development release
run: |
export REPO=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')
cd $GITHUB_WORKSPACE/dev-${{ matrix.os_name }}
source env.sh || true
spack unload $REPO
test $REPO == "dbe" && spack load dbe || true
spack unload $REPO || true
cp -pr $GITHUB_WORKSPACE/DUNE-DAQ/$REPO $GITHUB_WORKSPACE/dev-${{ matrix.os_name }}/sourcecode
dbt-build
#[[ $REPO == "daq-cmake" ]] && dbt-build || dbt-build --lint
dbt-workarea-env
#dbt-build --unittest
dbt-build # --unittest # --lint

- name: upload build log file
uses: actions/upload-artifact@v3
with:
name: spack_build_log_${{ matrix.os_name }}
name: build_log_${{ matrix.os_name }}
path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/build*.log

#- name: upload linter output file
#uses: actions/upload-artifact@v3
#with:
#name: spack_linting_log_${{ matrix.os_name }}
#path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/linting*
# - name: upload linter output file
# uses: actions/upload-artifact@v3
# with:
# name: linting_log_${{ matrix.os_name }}
# path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/linting*

#- name: upload unittest output file
#uses: actions/upload-artifact@v2
#with:
#name: spack_unit_tests_log_${{ matrix.os_name }}
#path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/unit_tests*
# - name: upload unittest output file
# uses: actions/upload-artifact@v3
# with:
# name: unit_tests_log_${{ matrix.os_name }}
# path: ${{ github.workspace }}/dev-${{ matrix.os_name }}/log/unit_tests*
24 changes: 14 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
cmake_minimum_required(VERSION 3.12)
project(listrev VERSION 3.3.0)
project(listrev VERSION 4.0.1)

find_package(daq-cmake REQUIRED )

daq_setup_environment()

find_package(rcif REQUIRED)
find_package(appfwk REQUIRED)
find_package(opmonlib REQUIRED)
find_package(logging REQUIRED)
find_package(daqconf REQUIRED)
find_package(ers REQUIRED)

daq_codegen( randomdatalistgenerator.jsonnet TEMPLATES Structs.hpp.j2 Nljs.hpp.j2)
daq_codegen( randomdatalistgeneratorinfo.jsonnet DEP_PKGS opmonlib TEMPLATES opmonlib/InfoStructs.hpp.j2 opmonlib/InfoNljs.hpp.j2 )
find_package(genconfig REQUIRED)
find_package(coredal REQUIRED)

daq_add_plugin(ListReverser duneDAQModule LINK_LIBRARIES appfwk::appfwk)
daq_add_plugin(RandomDataListGenerator duneDAQModule LINK_LIBRARIES appfwk::appfwk)
daq_add_plugin(ReversedListValidator duneDAQModule LINK_LIBRARIES appfwk::appfwk)
daq_oks_codegen(listrev.schema.xml NAMESPACE dunedaq::listrev::dal DALDIR dal DEP_PKGS coredal)


daq_codegen( listreverser.jsonnet randomdatalistgenerator.jsonnet reversedlistvalidator.jsonnet TEMPLATES Structs.hpp.j2 Nljs.hpp.j2)
daq_codegen( listreverserinfo.jsonnet randomdatalistgeneratorinfo.jsonnet reversedlistvalidatorinfo.jsonnet DEP_PKGS opmonlib TEMPLATES opmonlib/InfoStructs.hpp.j2 opmonlib/InfoNljs.hpp.j2 )

daq_add_library(ListCreator.cpp ListStorage.cpp LINK_LIBRARIES appfwk::appfwk coredal::coredal)

daq_add_plugin(ListReverser duneDAQModule LINK_LIBRARIES listrev)
daq_add_plugin(RandomDataListGenerator duneDAQModule LINK_LIBRARIES listrev)
daq_add_plugin(ReversedListValidator duneDAQModule LINK_LIBRARIES listrev)

daq_install()
3 changes: 0 additions & 3 deletions cmake/listrevConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ include(CMakeFindDependencyMacro)

find_dependency(opmonlib)
find_dependency(appfwk)
find_dependency(rcif)
find_dependency(logging)
find_dependency(ers)

# Figure out whether or not this dependency is an installed package or
# in repo form
Expand Down
Loading
Loading