Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
ws-eidaauth
Commits
4599942a
Commit
4599942a
authored
Jul 10, 2020
by
Jonathan Schaeffer
Browse files
[CI] and cleanup
parent
47ca7b04
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
4599942a
...
...
@@ -13,9 +13,3 @@ dist/
build/
*.egg-info/
.tox/
# Ignore configurations for specific environments
eidawsauth/config.yaml
eidawsauth/configurations/*
!eidawsauth/configurations/default.py
!eidawsauth/configurations/__init__.py
.gitlab-ci.yml
0 → 100644
View file @
4599942a
image
:
gricad-registry.univ-grenoble-alpes.fr/kubernetes-alpes/buildah:latest
stages
:
-
build
-
deploy
variables
:
REGISTRY_LOGIN
:
buildah login -u gitlab-ci-token -p $CI_REGISTRY_PASSWORD
REGISTRY_LOGOUT
:
buildah logout
IMAGE_BUILD
:
buildah build-using-dockerfile --storage-driver vfs --format docker
IMAGE_PUSH
:
buildah push --storage-driver vfs
before_script
:
-
$REGISTRY_LOGIN $CI_REGISTRY
after_script
:
-
$REGISTRY_LOGOUT $CI_REGISTRY
build ws-dataselect
:
&build
tags
:
-
dind
stage
:
build
only
:
-
master
variables
:
DOCKERFILE
:
Dockerfile
IMAGE_NAME
:
$CI_REGISTRY_IMAGE/eidawsauth:$CI_COMMIT_SHORT_SHA
script
:
-
$IMAGE_BUILD --file $DOCKERFILE $BUILD_ARG --tag $IMAGE_NAME .
-
$IMAGE_PUSH $IMAGE_NAME $IMAGE_NAME
eidawsauth/configurations/__init__.py
deleted
100644 → 0
View file @
47ca7b04
eidawsauth/configurations/default.py
deleted
100644 → 0
View file @
47ca7b04
import
os
class
config
():
"""
Default conifguration
"""
DEBUG
=
False
TESTING
=
False
LOGLEVEL
=
'INFO'
ENVIRONMENT
=
'default'
EMAIL
=
'resif-dc@univ-grenoble-alpes.fr'
GNUPGHOMEDIR
=
'../../tests/test_files/gpg_home'
_dbpassword
=
os
.
environ
.
get
(
'DBPASS'
)
AUTHDBPORT
=
5432
AUTHDBHOST
=
'localhost'
AUTHDBNAME
=
'resifAuth'
AUTHDBUSER
=
'eidawsauth'
AUTHDBPASSWORD
=
_dbpassword
PRIVILEGEDBHOST
=
'localhost'
PRIVILEGEDBPORT
=
5432
PRIVILEGEDBNAME
=
'resifInv-Prod'
PRIVILEGEDBUSER
=
'eidawsauth'
PRIVILEGEDBPASSWORD
=
_dbpassword
EPOS_FDSN_MAP
=
{
'/epos/alparray'
:
{
'networkcode'
:
'Z3'
,
'startyear'
:
2015
,
'endyear'
:
2022
},
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment