Sign inSign up

qldrsc/bats

By qldrsc

Updated about 3 years ago

Bats-core: Bash Automated Testing System with ssh and rush

Image
0

1.4K

qldrsc/bats repository overview

BATS + ssh + rush

A simple ubuntu based image with bats-core and rush to allow parallel testing.

Recipe is just:

FROM ubuntu:22.04

RUN apt-get update && apt-get install -y \
    wget bats openssh-client

# install rush
RUN cd /opt \
    && wget -q https://github.com/shenwei356/rush/releases/download/v0.5.2/rush_linux_amd64.tar.gz \
    && tar zxf rush_linux_amd64.tar.gz \
    && install -m 755 rush /usr/local/bin/ \
    && rm rush_linux_amd64.tar.gz rush 

Usage

I use this from singularity, like:

singularity exec docker://qldrsc/bats:latest bats -j 6 tests.bats

Tag summary

Content type

Image

Digest

sha256:a14fb8030

Size

111.1 MB

Last updated

about 3 years ago

docker pull qldrsc/bats