aboutsummaryrefslogtreecommitdiff
path: root/tests/data/generic.ini
blob: 5e07ed2f5f8aee451b1c1573ae3cad32e32cca4b (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
65
[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
    gwcs==0.22.1
    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 -p ${STASIS_CONDA_PLATFORM_SUBDIR} | 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