-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from MeltanoLabs/ssh_tunnel
feat: SSH Tunnel working
- Loading branch information
Showing
18 changed files
with
603 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,14 +11,6 @@ on: | |
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
services: | ||
mysqldb: | ||
image: mysql | ||
env: | ||
MYSQL_ROOT_PASSWORD: password | ||
MYSQL_DATABASE: melty | ||
ports: | ||
- 3307:3306 | ||
env: | ||
PIP_CONSTRAINT: .github/workflows/constraints.txt | ||
strategy: | ||
|
@@ -29,7 +21,11 @@ jobs: | |
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Set up MySQL container | ||
- name: Fix Permissions | ||
run: | | ||
chmod 777 -R ./ssh_tunnel/ssh-server-config | ||
- name: Set up MySQL containers (SSH Included) | ||
run: | | ||
docker compose -f docker-compose.yml up -d | ||
|
@@ -57,3 +53,6 @@ jobs: | |
- name: Run lint | ||
run: | | ||
poetry run tox -e lint | ||
# To test mysql client 1. docker exec -it 012c /bin/bash (ssh server) 2. apk add mysql mysql-client 3. mysql -h 10.5.0.5 -P 3306 -u root -ppassword |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.