Skip to content

Commit 6680bbc

Browse files
authored
Merge pull request #404 from LCOGT/tso_public_data
Add TSO to list of PUBLIC_PROPOSALS
2 parents fc3589c + e4a522c commit 6680bbc

File tree

4 files changed

+53
-9
lines changed

4 files changed

+53
-9
lines changed

.github/workflows/e2e.yaml

+44-4
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,60 @@ jobs:
4545
4646
- name: Test Super Bias Creation
4747
run: |
48+
set +e
49+
export START=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
50+
4851
kubectl exec banzai-e2e-test -c banzai-listener -- pytest -s --pyargs banzai --durations=0 --junitxml=/archive/engineering/pytest-master-bias.xml -m master_bias
49-
52+
EXIT_CODE=$?
53+
54+
# Always print logs even if (especially if?) the reduction fails
55+
kubectl logs banzai-e2e-test --since-time=$START --all-containers --prefix=true
56+
57+
# Exit with the captured status so the job properly fails or succeeds
58+
exit $EXIT_CODE
59+
5060
- name: Test Super Dark Creation
5161
run: |
62+
set +e
63+
export START=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
64+
5265
kubectl exec banzai-e2e-test -c banzai-listener -- pytest -s --pyargs banzai --durations=0 --junitxml=/archive/engineering/pytest-master-dark.xml -m master_dark
53-
66+
EXIT_CODE=$?
67+
68+
# Always print logs even if (especially if?) the reduction fails
69+
kubectl logs banzai-e2e-test --since-time=$START --all-containers --prefix=true
70+
71+
# Exit with the captured status so the job properly fails or succeeds
72+
exit $EXIT_CODE
73+
5474
- name: Test Super Flat Creation
5575
run: |
76+
set +e
77+
export START=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
78+
5679
kubectl exec banzai-e2e-test -c banzai-listener -- pytest -s --pyargs banzai --durations=0 --junitxml=/archive/engineering/pytest-master-flat.xml -m master_flat
57-
80+
EXIT_CODE=$?
81+
82+
# Always print logs even if (especially if?) the reduction fails
83+
kubectl logs banzai-e2e-test --since-time=$START --all-containers --prefix=true
84+
85+
# Exit with the captured status so the job properly fails or succeeds
86+
exit $EXIT_CODE
87+
5888
- name: Test Science Frame Creation
5989
run: |
90+
set +e
91+
export START=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
92+
6093
kubectl exec banzai-e2e-test -c banzai-listener -- pytest -s --pyargs banzai --durations=0 --junitxml=/archive/engineering/pytest-science-files.xml -m science_files
61-
94+
EXIT_CODE=$?
95+
96+
# Always print logs even if (especially if?) the reduction fails
97+
kubectl logs banzai-e2e-test --since-time=$START --all-containers --prefix=true
98+
99+
# Exit with the captured status so the job properly fails or succeeds
100+
exit $EXIT_CODE
101+
62102
- name: Cleanup
63103
run: |
64104
kubectl delete pod banzai-e2e-test

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.20.1 (2025-02-05)
2+
-------------------
3+
- Added tso proposals to be instantly public
4+
15
1.20.0 (2024-12-11)
26
-------------------
37
- Added functionality to delay processing until after the end of the observing block

banzai/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
DATA_RELEASE_DELAY = 365
135135

136136
# Proposal ids for data that should be public instantly. Should all be lowercase
137-
PUBLIC_PROPOSALS = ['calibrate', 'standard', '*standards', '*epo*', 'pointing']
137+
PUBLIC_PROPOSALS = ['calibrate', 'standard', '*standards', '*epo*', 'pointing', 'tso*']
138138

139139
SUPPORTED_FRAME_TYPES = ['BPM', 'READNOISE', 'BIAS', 'DARK', 'SKYFLAT', 'EXPOSE', 'STANDARD', 'EXPERIMENTAL']
140140

banzai/tests/e2e-k8s.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ spec:
111111
resources:
112112
requests:
113113
cpu: 4
114-
memory: 5Gi
114+
memory: 6Gi
115115
limits:
116116
cpu: 8
117-
memory: 5Gi
117+
memory: 6Gi
118118
- name: banzai-large-celery-workers
119119
image: banzai:test-latest
120120
imagePullPolicy: IfNotPresent
@@ -175,10 +175,10 @@ spec:
175175
resources:
176176
requests:
177177
cpu: 2
178-
memory: 7Gi
178+
memory: 8Gi
179179
limits:
180180
cpu: 3
181-
memory: 7Gi
181+
memory: 8Gi
182182
- name: banzai-listener
183183
image: banzai:test-latest
184184
imagePullPolicy: IfNotPresent

0 commit comments

Comments
 (0)