diff options
| author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2026-06-23 11:00:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-23 11:00:55 -0400 |
| commit | 5e0b3fbefebaeff1fa5bfb338c760b9b9e270f02 (patch) | |
| tree | 14b22fc5b82a9db87720c820c54422c9b9c47a1c /tests/data | |
| parent | 70c1ba3962166853fc7a1e4f2bb1d637104312b1 (diff) | |
| parent | 0f6a1c982c2f417e9f0de968bbb7ce58299a8e8d (diff) | |
| download | stasis-5e0b3fbefebaeff1fa5bfb338c760b9b9e270f02.tar.gz | |
Merge pull request #147 from jhunkeler/conda-updates1.8.0
Support modern versions of conda/mamba
Diffstat (limited to 'tests/data')
| -rw-r--r-- | tests/data/compression/bz2 | bin | 0 -> 42 bytes | |||
| -rw-r--r-- | tests/data/compression/gz | bin | 0 -> 26 bytes | |||
| -rw-r--r-- | tests/data/compression/none | 1 | ||||
| -rw-r--r-- | tests/data/compression/xz | bin | 0 -> 72 bytes | |||
| -rw-r--r-- | tests/data/compression/zip | bin | 0 -> 202 bytes | |||
| -rw-r--r-- | tests/data/compression/zstd | bin | 0 -> 19 bytes | |||
| -rw-r--r-- | tests/data/gbo_ng.ini | 66 |
7 files changed, 67 insertions, 0 deletions
diff --git a/tests/data/compression/bz2 b/tests/data/compression/bz2 Binary files differnew file mode 100644 index 0000000..20d3517 --- /dev/null +++ b/tests/data/compression/bz2 diff --git a/tests/data/compression/gz b/tests/data/compression/gz Binary files differnew file mode 100644 index 0000000..2762cd9 --- /dev/null +++ b/tests/data/compression/gz diff --git a/tests/data/compression/none b/tests/data/compression/none new file mode 100644 index 0000000..ce01362 --- /dev/null +++ b/tests/data/compression/none @@ -0,0 +1 @@ +hello diff --git a/tests/data/compression/xz b/tests/data/compression/xz Binary files differnew file mode 100644 index 0000000..f54e3fc --- /dev/null +++ b/tests/data/compression/xz diff --git a/tests/data/compression/zip b/tests/data/compression/zip Binary files differnew file mode 100644 index 0000000..1f77925 --- /dev/null +++ b/tests/data/compression/zip diff --git a/tests/data/compression/zstd b/tests/data/compression/zstd Binary files differnew file mode 100644 index 0000000..a827868 --- /dev/null +++ b/tests/data/compression/zstd 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 |
