Skip to content

Commit 6985645

Browse files
committed
fix: only test build - no smoke test necessary
1 parent 456cf3f commit 6985645

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/container-build.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
id-token: write
1212
contents: read
1313
runs-on: ubuntu-latest
14-
name: integration testing in docker compose
14+
name: Test the Docker Container Build
1515
defaults:
1616
run:
1717
shell: bash --noprofile --norc -eo pipefail -x {0}
@@ -28,14 +28,4 @@ jobs:
2828

2929
- name: Run docker build
3030
run: |
31-
docker build . -t cognition --build-arg NPM_TOKEN=${{ secrets.CEREBRUM_NPM_TOKEN }}
32-
33-
- name: Smoke test
34-
run: |
35-
docker run -d -p 3000:3000 cognition
36-
sleep 30
37-
if [ "$(curl -s -o /dev/null -w "%{http_code}" localhost:3000/orders)" != "200" ]; then
38-
echo "Smoke test failed. Non-200 response received."
39-
exit 1
40-
fi
41-
docker stop $(docker ps -q --filter ancestor=cognition)
31+
docker build . -t node-playwright-base-image

0 commit comments

Comments
 (0)