Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
Docker compose localhost (#22)
Browse files Browse the repository at this point in the history
* Localhost

* Node Js version

* Update of actions
  • Loading branch information
berk76 authored Feb 7, 2024
1 parent b50b11a commit 5242912
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/selenium-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
# https://github.com/actions/setup-java#supported-distributions
distribution: 'microsoft'
java-version: 11

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: Start containers
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
mvn test --no-transfer-progress
- name: Archive screen shots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Screenshots
path: svjis-selenium/target/*.png
Expand Down
3 changes: 2 additions & 1 deletion docker-compose/create-schema.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
USER=sysdba
PASSWORD=change-it
HOST=svjis_db
HOST=localhost
DATABASE=SVJIS_PRODUCTION

sleep 1s
/usr/local/firebird/bin/isql -user "$USER" -password "$PASSWORD" -input '/firebird/database.sql' "$HOST:$DATABASE"
rm /firebird/database.sql
echo "EXECUTE PROCEDURE SP_CREATE_COMPANY 'New Company'; COMMIT;" > /firebird/comp.sql
Expand Down

0 comments on commit 5242912

Please sign in to comment.