mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 16:35:29 -05:00
* test: move compatibility tests into this repo * fix: add StatisticValues parsing to CloudWatchMetricsJsonHandler * fix: add missing required abstract methods to EmulatorConfig in EventBridgeSchedulerIntegrationTest * test: add sdk tests for multipart S3 copy coverage * fix: cover and fix smithy cbor and multipart s3 copy regressions * test: migrate more test coverage to new folder * test: add missing ec2 expectation in healthcheck test * docs: update READMEs in `./compatibility-tests`
20 lines
645 B
Docker
20 lines
645 B
Docker
FROM amazon/aws-cli:latest
|
|
|
|
RUN yum install -y git jq bc >/dev/null 2>&1
|
|
|
|
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"]
|