File: build-schema_salad-docker.sh

package info (click to toggle)
python-schema-salad 8.4.20230213094415-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,440 kB
  • sloc: python: 14,250; cs: 1,771; java: 1,243; makefile: 189; xml: 184; sh: 108; javascript: 46
file content (10 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -ex
docker build --file=schema_salad.Dockerfile --tag=quay.io/commonwl/schema_salad .
docker run quay.io/commonwl/schema_salad /bin/sh -c \
	'apk add --no-cache py3-pip && pip install pytest-xdist && pytest --pyargs schema_salad -n auto'

# version=$(git describe --tags)
# if echo "$version" | grep -vq '\-' >& /dev/null ; then
#     docker tag quay.io/commonwl/schema_salad quay.io/commonwl/schema_salad:"$version"
# fi