blob: 0a8c9efdab9c4dd3033bf2536612c867274dc142 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
[meta]
mission = generic
name = GENERIC
version = 1.2.3
rc = 1
final = false
based_on =
python = 3.11
[conda]
installer_name = Miniforge3
installer_version = 24.3.0-0
installer_platform = {{env:STASIS_CONDA_PLATFORM}}
installer_arch = {{env:STASIS_CONDA_ARCH}}
installer_baseurl = https://github.com/conda-forge/miniforge/releases/download/{{conda.installer_version}}
;conda_packages =
pip_packages =
firewatch==0.0.4
tweakwcs==0.8.8
[runtime]
PYTHONUNBUFFERED = 1
[test:firewatch]
repository = https://github.com/astroconda/firewatch
script_setup =
pip install -e '.'
script =
firewatch -c conda-forge | grep -E ' python-[0-9]'
[test:tweakwcs]
repository = https://github.com/spacetelescope/tweakwcs
script_setup =
pip install -e '.[test]'
script =
pytest \
-r fEsx \
--basetemp="{{ func:basetemp_dir() }}" \
--junitxml="{{ func:junitxml_file() }}"
[deploy:artifactory:delivery]
files =
{{ storage.output_dir }}/**
dest = {{ meta.mission }}/{{ info.build_name }}/
[deploy:docker]
;registry = bytesalad.stsci.edu
image_compression = zstd -v -9 -c
build_args =
SNAPSHOT_INPUT={{ info.release_name }}.yml
SNAPSHOT_PKGDIR=packages
tags =
{{ meta.name }}:{{ info.build_number }}-py{{ meta.python_compact }}
{{ deploy.docker.registry }}/{{ meta.name }}:{{ info.build_number }}-py{{ meta.python_compact }}
test_script =
source /etc/profile
python -m pip freeze
mamba info
|