File tree 6 files changed +182
-19
lines changed
6 files changed +182
-19
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,16 @@ jobs:
18
18
- uses : conda-incubator/setup-miniconda@v3
19
19
with :
20
20
auto-update-conda : true
21
- python-version : " 3.11 "
22
- miniforge-variant : Miniforge3
21
+ python-version : " 3.12 "
22
+ miniforge-version : latest
23
23
channels : conda-forge,defaults
24
- use-mamba : true
25
- channel-priority : strict
26
24
show-channel-urls : true
27
25
28
26
- name : configure conda and install requirements
29
27
shell : bash -l {0}
30
28
run : |
31
- mamba install --quiet pip
32
- mamba install --quiet --file=requirements.txt
29
+ conda install --yes pip
30
+ conda install --yes --file=requirements.txt
33
31
pip install "documenteer[guide]"
34
32
35
33
- name : install rubin_sim
Original file line number Diff line number Diff line change @@ -15,17 +15,15 @@ jobs:
15
15
- uses : conda-incubator/setup-miniconda@v3
16
16
with :
17
17
auto-update-conda : true
18
- python-version : ${{ matrix.python-version }}
19
- miniforge-variant : Miniforge3
18
+ python-version : " 3.12 "
19
+ miniforge-version : latest
20
20
channels : conda-forge,defaults
21
- use-mamba : true
22
- channel-priority : strict
23
21
show-channel-urls : true
24
22
25
23
- name : Configure conda and install minimal requirements for cache
26
24
shell : bash -l {0}
27
25
run : |
28
- mamba install --quiet rubin-scheduler -c conda-forge
26
+ conda install --yes rubin-scheduler
29
27
30
28
- name : Install rubin_sim from git
31
29
shell : bash -l {0}
Original file line number Diff line number Diff line change 21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- uses : actions/checkout@v4
24
- - uses : chartboost /ruff-action@v1
24
+ - uses : astral-sh /ruff-action@v3
Original file line number Diff line number Diff line change @@ -28,17 +28,15 @@ jobs:
28
28
with :
29
29
auto-update-conda : true
30
30
python-version : ${{ matrix.python-version }}
31
- miniforge-variant : Miniforge3
32
- channels : conda-forge
33
- use-mamba : true
34
- channel-priority : strict
31
+ miniforge-version : latest
32
+ channels : conda-forge,defaults
35
33
show-channel-urls : true
36
34
37
35
- name : configure conda and install requirements
38
36
shell : bash -l {0}
39
37
run : |
40
- mamba install --quiet --file=requirements.txt
41
- mamba install --quiet --file=test-requirements.txt
38
+ conda install --yes --file=requirements.txt
39
+ conda install --yes --file=test-requirements.txt
42
40
43
41
- name : install rubin_sim
44
42
shell : bash -l {0}
99
97
- name : Set up Python
100
98
uses : actions/setup-python@v5
101
99
with :
102
- python-version : 3.11
100
+ python-version : " 3.12 "
103
101
cache : " pip"
104
102
105
103
- name : Install dependencies for build
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Namespace
4
+ metadata :
5
+ name : maf
6
+
7
+ ---
8
+ apiVersion : apps/v1
9
+ kind : Deployment
10
+ metadata :
11
+ namespace : maf
12
+ name : maf-server
13
+ labels :
14
+ app : maf-server
15
+ spec :
16
+ replicas : 1
17
+ selector :
18
+ matchLabels : app maf-server
19
+ template :
20
+ metadata :
21
+ labels :
22
+ app : maf-server
23
+ spec :
24
+ containers :
25
+ - name : maf
26
+ image : " ghcr.io/....:tag"
27
+ imagePullPolicy : Always
28
+ resources :
29
+ limits :
30
+ cpu : 1
31
+ memory : " 2Gi"
32
+ requests :
33
+ cpu : 500m
34
+ memory : " 1Gi"
35
+ volumeMounts :
36
+ - mountPath : /sdf/data/rubin
37
+ name : sdf-data-rubin
38
+ volumes :
39
+ - name : sdf-data-rubin
40
+ persistentVolumeClaim :
41
+ claimName : sdf-data-rubin
42
+ ---
43
+ apiVersion : v1
44
+ kind : PersistentVolumeClaim
45
+ metadata :
46
+ namespace : maf
47
+ name : sdf-data-rubin
48
+ spec :
49
+ storageClassName : sdf-data-rubin
50
+ accessModes :
51
+ - ReadOnlyMany
52
+ resources :
53
+ requests :
54
+ storage : 1Gi
55
+ ---
56
+ apiVersion : v1
57
+ kind : Service
58
+ metadata :
59
+ namespace : maf
60
+ name : usdf-maf
61
+ labels :
62
+ app : maf-server
63
+ annotations :
64
+ metallb.universe.tf/address-pool : sdf-services
65
+ spec :
66
+ type : LoadBalancer
67
+ ports :
68
+ - name : http
69
+ port : 80
70
+ protocol : TCP
71
+ targetPort : 80
72
+ selector :
73
+ app : maf-server
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Namespace
4
+ metadata :
5
+ name : maf
6
+
7
+ ---
8
+ apiVersion : apps/v1
9
+ kind : Deployment
10
+ metadata :
11
+ namespace : maf
12
+ name : maf-server
13
+ labels :
14
+ app : maf-server
15
+ spec :
16
+ replicas : 1
17
+ selector :
18
+ matchLabels :
19
+ app : maf-server
20
+ template :
21
+ metadata :
22
+ labels :
23
+ app : maf-server
24
+ spec :
25
+ containers :
26
+ - name : maf
27
+ image : " ghcr.io/lsst/rubin_sim:main"
28
+ imagePullPolicy : Always
29
+ resources :
30
+ limits :
31
+ cpu : 1
32
+ memory : " 10Gi"
33
+ requests :
34
+ cpu : 500m
35
+ memory : " 8Gi"
36
+ volumeMounts :
37
+ - mountPath : /data/fbs_sims
38
+ name : sdf-data-rubin
39
+ subPath : shared/fbs_sims
40
+ volumes :
41
+ - name : sdf-data-rubin
42
+ persistentVolumeClaim :
43
+ claimName : sdf-data-rubin
44
+ ---
45
+ apiVersion : v1
46
+ kind : PersistentVolumeClaim
47
+ metadata :
48
+ namespace : maf
49
+ name : sdf-data-rubin
50
+ spec :
51
+ storageClassName : sdf-data-rubin
52
+ accessModes :
53
+ - ReadOnlyMany
54
+ resources :
55
+ requests :
56
+ storage : 8Gi
57
+ ---
58
+ apiVersion : v1
59
+ kind : Service
60
+ metadata :
61
+ namespace : maf
62
+ name : usdf-maf
63
+ labels :
64
+ app : maf-server
65
+ annotations :
66
+ metallb.universe.tf/address-pool : sdf-services
67
+ spec :
68
+ type : LoadBalancer
69
+ ports :
70
+ - name : http
71
+ port : 80
72
+ protocol : TCP
73
+ targetPort : 8080
74
+ selector :
75
+ app : maf-server
76
+ ---
77
+ apiVersion : networking.k8s.io/v1
78
+ kind : Ingress
79
+ metadata :
80
+ name : maf-ingress
81
+ namespace : maf
82
+ labels :
83
+ app : maf-server
84
+ spec :
85
+ ingressClassName : nginx
86
+ rules :
87
+ - host : usdf-maf.slac.stanford.edu
88
+ http :
89
+ paths :
90
+ - backend :
91
+ service :
92
+ name : usdf-maf
93
+ port :
94
+ number : 80
95
+ path : /
96
+ pathType : Prefix
You can’t perform that action at this time.
0 commit comments