Last active
November 4, 2021 17:03
-
-
Save kmuenkel/cf6c99085146b31a58c5a1b3e7a66524 to your computer and use it in GitHub Desktop.
Port tunneling to MySQL database via Jump Server
This file contains hidden or 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
concurrent = 6 | |
check_interval = 0 | |
[session_server] | |
session_timeout = 1800 | |
[[runners]] | |
name = "Runner Location Name" | |
url = "https://domain.com/" | |
token = "CI_TOKEN" | |
executor = "docker" | |
[runners.custom_build_dir] | |
[runners.cache] | |
[runners.cache.s3] | |
[runners.cache.gcs] | |
[runners.cache.azure] | |
[runners.docker] | |
tls_verify = false | |
image = "php:latest" | |
privileged = true | |
disable_entrypoint_overwrite = false | |
oom_kill_disable = false | |
disable_cache = false | |
volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock"] | |
shm_size = 0 |
This file contains hidden or 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
ssh -f -N -J {username}@{jump.domain} {username}@{target.domain} -L {local-port:=3306}:localhost:3306 | |
#DB_HOST=host.docker.internal |
This file contains hidden or 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
Build Status | |
https://git.lcmsplus.com/%{project_path}/-/commits/%{default_branch} | |
https://git.lcmsplus.com/%{project_path}/badges/%{default_branch}/pipeline.svg | |
Code Coverage | |
https://git.lcmsplus.com/%{project_path}/-/commits/%{default_branch} | |
https://git.lcmsplus.com/%{project_path}/badges/%{default_branch}/coverage.svg | |
https://newbedev.com/getting-gitlab-ci-to-clone-private-repositories |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment