Skip to content

Commit

Permalink
WIP: Poista aiempi luovutuspalvelun kontti virheen estämiseksi
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksiAhtiainen committed Oct 21, 2024
1 parent 03042fa commit 94d07aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/omadataoauth2_setup_playwright/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ runs:
working-directory: koski-luovutuspalvelu/proxy
run: npm ci
shell: bash
- name: Clean possible luovutuspalvelu existing container
working-directory: omadata-oauth2-sample/client
run: npm run clean-luovutuspalvelu-container
shell: bash

- name: Get playwright version
working-directory: omadata-oauth2-sample/client
Expand Down
1 change: 1 addition & 0 deletions omadata-oauth2-sample/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"start-with-server-and-luovutuspalvelu": "npm-run-all --parallel start-luovutuspalvelu start-server start",
"build-luovutuspalvelu": "cd ../../koski-luovutuspalvelu/proxy && mkdir -p ./target && npm run buildversion && npm run testca && node ./scripts/create-local-config.js > ./target/koski-luovutuspalvelu-proxy-config-ci.json && docker build --rm --pull --platform=linux/amd64 --tag koski-luovutuspalvelu-proxy:latest . && sleep 5",
"start-luovutuspalvelu": "docker run --name koski-luovutuspalvelu-proxy -p 7022:443 -v \"$PWD/../../koski-luovutuspalvelu/proxy/target/koski-luovutuspalvelu-proxy-config-ci.json:/etc/nginx/koski-luovutuspalvelu-proxy-config.json:ro\" -m 256m --rm koski-luovutuspalvelu-proxy:latest",
"clean-luovutuspalvelu-container": "(docker stop koski-luovutuspalvelu-proxy 2> /dev/null || true) && (docker rm koski-luovutuspalvelu-proxy 2> /dev/null || true)",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down

0 comments on commit 94d07aa

Please sign in to comment.