Files
floci/compatibility-tests/sdk-test-awscli/Dockerfile
T
TiM 972faafe13 ci(compat): parallelize sdk-test-awscli bats execution (#414)
Enable file-level parallelism (--jobs 4) for the awscli compatibility
test suite. Replace hardcoded resource names in rds.bats and ecr.bats
with unique_name() to prevent cross-file collisions under parallel
execution, matching the pattern used by the other 13 bats files.
2026-04-13 15:37:32 -05:00

20 lines
646 B
Docker

FROM amazon/aws-cli:latest
RUN yum install -y git jq bc openssl parallel
WORKDIR /app
# Install bats and helpers
RUN git clone --depth 1 https://github.com/bats-core/bats-core.git /opt/bats-core \
&& git clone --depth 1 https://github.com/bats-core/bats-support.git /opt/bats-support \
&& git clone --depth 1 https://github.com/bats-core/bats-assert.git /opt/bats-assert
COPY test/ test/
COPY run-bats-in-container.sh /usr/local/bin/run-bats-in-container.sh
ENV FLOCI_ENDPOINT=http://floci:4566
ENV BATS_LIB_PATH=/opt
RUN chmod +x /usr/local/bin/run-bats-in-container.sh && mkdir -p /results
ENTRYPOINT ["run-bats-in-container.sh"]