Skip to content
Snippets Groups Projects
Unverified Commit ddb14da6 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'dev' into f-im-export

parents 95d169c6 2b416aef
Branches
Tags
No related merge requests found
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
variables: variables:
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb-pylib-testenv CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/caosdb-pylib/testenv:latest
# When using dind, it's wise to use the overlayfs driver for # When using dind, it's wise to use the overlayfs driver for
# improved performance. # improved performance.
image: $CI_REGISTRY_IMAGE:latest image: $CI_REGISTRY_IMAGE
stages: stages:
- code_style - code_style
...@@ -77,12 +77,12 @@ build-testenv: ...@@ -77,12 +77,12 @@ build-testenv:
- schedules - schedules
script: script:
- cd unittests/docker - cd unittests/docker
- docker login -u indiscale -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
# use here general latest or specific branch latest... # use here general latest or specific branch latest...
- docker pull $CI_REGISTRY_IMAGE:latest || true - docker pull $CI_REGISTRY_IMAGE|| true
- docker build - docker build
--pull --pull
--build-arg COMMIT=$CI_COMMIT_SHORT_SHA --build-arg COMMIT=$CI_COMMIT_SHORT_SHA
--cache-from $CI_REGISTRY_IMAGE:latest --cache-from $CI_REGISTRY_IMAGE
-t $CI_REGISTRY_IMAGE:latest . -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE:latest - docker push $CI_REGISTRY_IMAGE
...@@ -310,9 +310,12 @@ def configure_connection(**kwargs): ...@@ -310,9 +310,12 @@ def configure_connection(**kwargs):
Parameters Parameters
---------- ----------
implementation : CaosDBServerConnection
The class which implements the connection. (Default: username : str
_DefaultCaosDBServerConnection) Username for login; e.g. 'admin'.
password : str
Password for login if 'plain' is used as password_method.
password_method : str password_method : str
The name of a submodule of caosdb.connection.authentication which The name of a submodule of caosdb.connection.authentication which
...@@ -330,6 +333,10 @@ def configure_connection(**kwargs): ...@@ -330,6 +333,10 @@ def configure_connection(**kwargs):
Whether SSL certificate warnings should be ignored. Only use this for Whether SSL certificate warnings should be ignored. Only use this for
development purposes! (Default: False) development purposes! (Default: False)
implementation : CaosDBServerConnection
The class which implements the connection. (Default:
_DefaultCaosDBServerConnection)
Returns Returns
------- -------
_Connection _Connection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment