Commit mass-deletion script #5466
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Grid CI | |
on: [pull_request] | |
jobs: | |
JSBuild: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [12.22.9] | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Kahuna | |
working-directory: ./kahuna | |
run: | | |
npm install | |
npm test | |
# TODO restore when rest of js is on node 16 | |
#- name: Image Counter Lambda | |
# working-directory: ./image-counter-lambda | |
# run: | | |
# npm install | |
# npm test | |
- name: S3Watcher | |
working-directory: ./s3watcher/lambda | |
run: | | |
npm install | |
npm run build | |
- name: Reaper | |
working-directory: ./reaper | |
run: | | |
npm install | |
npm run riffraff-artefact | |
ImageCounterBuild: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js v16 | |
uses: actions/[email protected] | |
with: | |
node-version-file: image-counter-lambda/.nvmrc | |
- name: build | |
working-directory: ./image-counter-lambda | |
run: | | |
npm install | |
npm test | |
ScalaBuild: | |
runs-on: ubuntu-20.04 | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2 | |
# Wait for elasticsearch to report healthy before continuing. | |
# see https://github.com/actions/example-services/blob/master/.github/workflows/postgres-service.yml#L28 | |
options: -e "discovery.type=single-node" --expose 9200 --health-cmd "curl localhost:9200/_cluster/health" --health-interval 10s --health-timeout 5s --health-retries 10 | |
localstack: | |
image: localstack/localstack:0.11.0 | |
env: | |
SERVICES: kinesis,dynamodb | |
DEFAULT_REGION: eu-west-1 | |
KINESIS_ERROR_PROBABILITY: 0.0 | |
PORT_WEB_UI: 5050 | |
ports: | |
- 5050:5050 | |
- 4566:4566 | |
options: >- | |
--health-cmd "curl localhost:5050/health" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 10 | |
steps: | |
- uses: actions/[email protected] | |
- name: SBT | |
uses: ./.github/actions/sbt | |
env: | |
USE_DOCKER_FOR_TESTS: false | |
ES6_TEST_URL: http://elasticsearch:9200 | |
LOCALSTACK_ENDPOINT: http://localstack:4566 | |
with: | |
args: clean compile test:compile test |