aboutsummaryrefslogtreecommitdiff
path: root/tests/data/gbo_ng.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/gbo_ng.ini')
-rw-r--r--tests/data/gbo_ng.ini66
1 files changed, 66 insertions, 0 deletions
diff --git a/tests/data/gbo_ng.ini b/tests/data/gbo_ng.ini
new file mode 100644
index 0000000..355e5ee
--- /dev/null
+++ b/tests/data/gbo_ng.ini
@@ -0,0 +1,66 @@
+[meta]
+mission = generic
+name = GBO
+version = 2.4.6
+rc = 1
+final = false
+based_on = {{ env:TEST_DATA }}/gbo.yml
+python = 3.11
+
+
+[conda]
+installer_name = Miniforge3
+installer_version = 26.3.2-2
+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.9.0
+
+
+[runtime]
+CPPFLAGS = ${CPPFLAGS} -fpermissive
+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