Skip to content

Commit

Permalink
Add integration test run to unstable cicd
Browse files Browse the repository at this point in the history
Even though this does not affect the actual tagging/build, it will show up red/failure if the integration tests fail.

It is important we are always highlighting when this is failing.
  • Loading branch information
jordanpadams authored Dec 14, 2023
1 parent 8a2e012 commit a765573
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/unstable-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,20 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{secrets.DOCKERHUB_USERNAME}}/registry-api-service:latest

-
name: ∫ Integration tests … hold onto your hats, pardners
run: |
git clone --quiet https://github.com/NASA-PDS/registry.git
cd registry/docker/certs
./generate-certs.sh
cd ..
docker image inspect nasapds/registry-api-service:latest >/dev/null
docker compose \
--ansi never --profile int-registry-batch-loader --project-name registry \
up --detach --quiet-pull
docker compose \
--ansi never --profile int-registry-batch-loader --project-name registry \
run --rm --no-TTY reg-api-integration-test-with-wait
...

# -*- mode: yaml; indent: 4; fill-column: 120; coding: utf-8 -*-

0 comments on commit a765573

Please sign in to comment.