-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
61 additions
and
27 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: RPM Packaging | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
linux: | ||
name: RPM Packaging | ||
runs-on: ubuntu-22.04 | ||
container: rockylinux:9 | ||
steps: | ||
- name: Install Dependencies | ||
run: | | ||
cat /etc/redhat-release | ||
yum -y install epel-release | ||
/usr/bin/crb enable | ||
yum -y install git rpm-build rpm-sign rsync make python3-rpm-macros pyproject-rpm-macros python3-devel python3-tomli systemd-rpm-macros python3-wheel | ||
- name: Clone Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Package RPMs | ||
run: | ||
make | ||
|
||
- name: Clone Package Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: rockit-astro/packages | ||
token: ${{ secrets.DEPLOY_TOKEN }} | ||
path: packages | ||
|
||
- name: Push Packages | ||
env: | ||
RPM_SIGNING_KEY: ${{ secrets.RPM_SIGNING_KEY }} | ||
run: | ||
packages/sign-and-push-packages.sh *.rpm |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"daemon": "clasp_camera_swir", | ||
"pipeline_daemon": "clasp_pipeline", | ||
"pipeline_handover_timeout": 10, | ||
"log_name": "scicam_camd@clasp-swir", | ||
"control_machines": ["CLASPTCS", "CLASPCMOS", "CLASPSWIR"], | ||
"client_commands_module": "rockit.camera.scicam", | ||
"camera_config_path": "/etc/camd/scicam.fmt", | ||
"cooler_setpoint": -40, | ||
"cooler_update_delay": 5, | ||
"worker_processes": 3, | ||
"framebuffer_bytes": 31457280, | ||
"header_card_capacity": 144, | ||
"camera_id": "SWIR", | ||
"output_path": "/data", | ||
"output_prefix": "swir", | ||
"expcount_path": "/data/swir-counter.json" | ||
} |