Skip to content

updated postman collections and automated-testing.yaml #17

updated postman collections and automated-testing.yaml

updated postman collections and automated-testing.yaml #17

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
-
name: Registry API Testing
run: |
cd $GITHUB_WORKSPACE/docker/certs
./generate-certs.sh
cd ..
docker compose \
--ansi never --profile int-registry-batch-loader up --detach --quiet-pull
./int-test.sh
-
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