Skip to content

fixed unterminated string in postman-waits-for-test-data.sh #19

fixed unterminated string in postman-waits-for-test-data.sh

fixed unterminated string in postman-waits-for-test-data.sh #19

name: I&T Automated Testing
on:
push:
branches:
- 'automated-testing'
- '!main'
workflow_dispatch:
jobs:
automated-testing:
name: Registry Automated Testing
runs-on: ubuntu-latest
steps:
-
name: Checkout Repository
uses: actions/checkout@v4
-
name: ☕️ Set up OpenJDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
-
name: Download Harvest Binaries
id: harvest
uses: robinraju/release-downloader@v1.8
with:
repository: NASA-PDS/harvest
latest: true
tarBall: true
out-file-path: "${{ runner.temp }}"
extract: true
# TODO: set fileName to harvest-$tag_name-bin.targ.gz so we only download this file
-
name: Registry API Testing
run: |
cd $GITHUB_WORKSPACE/docker/certs
./generate-certs.sh
cd ..
# Build container
docker compose \
--ansi never --profile int-registry-batch-loader up --detach --quiet-pull
# Run tests
docker compose \
--ansi never --profile int-registry-batch-loader \
run --rm --no-TTY reg-api-integration-test-with-wait
-
name: Harvest Testing
run: |
tag_name="${{ steps.harvest.outputs.tag_name }}"
tag_name="${tag_name#v}"
${{ runner.temp }}/harvest-$tag_name/bin/harvest --version
# registry#226 As a system, I can support up to 25 simultaneous writes from Harvest
# cd $GITHUB_WORKSPACE/docker/scripts
# python harvest_stress_test.py --command "harvest_command_here" --runs 25