Skip to content
Snippets Groups Projects
Commit 60564807 authored by tuhe's avatar tuhe
Browse files

CICD

parent d3a90993
No related branches found
No related tags found
No related merge requests found
Pipeline #8676 failed
...@@ -4,7 +4,7 @@ before_script: ...@@ -4,7 +4,7 @@ before_script:
- apt-get update -y - apt-get update -y
- apt install -y python3-pip python3.10 python-is-python3 - apt install -y python3-pip python3.10 python-is-python3
- apt install -y xvfb libssl-dev firefox openssl - apt install -y xvfb libssl-dev firefox openssl
- openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes - openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes -batch
- pip install -r requirements.txt - pip install -r requirements.txt
# - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' # - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
......
...@@ -86,8 +86,8 @@ class LearnConfig: ...@@ -86,8 +86,8 @@ class LearnConfig:
state = "my_state" state = "my_state"
se_auth_url = se_flow_manager.get_authorization_endpoint(state) se_auth_url = se_flow_manager.get_authorization_endpoint(state)
print(se_auth_url) print(se_auth_url)
from webdriver_manager.firefox import GeckoDriverManager
driver = webdriver.Firefox() driver = webdriver.Firefox(executable_path=GeckoDriverManager().install())
# with requests.session() as s: # with requests.session() as s:
# OAuth_AccessRequest = s.get(se_auth_url) # OAuth_AccessRequest = s.get(se_auth_url)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment