ci(minor): reenable prospector
This commit is contained in:
parent
c37e382c15
commit
328c999cb9
|
@ -64,13 +64,13 @@ migrations:
|
||||||
services:
|
services:
|
||||||
- postgres:latest
|
- postgres:latest
|
||||||
- redis:latest
|
- redis:latest
|
||||||
# prospector:
|
prospector:
|
||||||
# script:
|
script:
|
||||||
# - prospector
|
- prospector
|
||||||
# stage: test
|
stage: test
|
||||||
# services:
|
services:
|
||||||
# - postgres:latest
|
- postgres:latest
|
||||||
# - redis:latest
|
- redis:latest
|
||||||
pylint:
|
pylint:
|
||||||
script:
|
script:
|
||||||
- pylint passbook
|
- pylint passbook
|
||||||
|
@ -114,18 +114,6 @@ build-passbook-static:
|
||||||
services:
|
services:
|
||||||
- postgres:latest
|
- postgres:latest
|
||||||
- redis:latest
|
- redis:latest
|
||||||
# build-passbook-gatekeeper:
|
|
||||||
# stage: build
|
|
||||||
# image:
|
|
||||||
# name: gcr.io/kaniko-project/executor:debug
|
|
||||||
# entrypoint: [""]
|
|
||||||
# before_script:
|
|
||||||
# - echo "{\"auths\":{\"docker.beryju.org\":{\"auth\":\"$DOCKER_AUTH\"}}}" > /kaniko/.docker/config.json
|
|
||||||
# script:
|
|
||||||
# - /kaniko/executor --context $CI_PROJECT_DIR/gatekeeper --dockerfile $CI_PROJECT_DIR/gatekeeper/Dockerfile --destination docker.beryju.org/passbook/gatekeeper:latest --destination docker.beryju.org/passbook/gatekeeper:0.7.4-beta
|
|
||||||
# only:
|
|
||||||
# - tags
|
|
||||||
# - /^version/.*$/
|
|
||||||
|
|
||||||
package-helm:
|
package-helm:
|
||||||
image: debian:stretch-slim
|
image: debian:stretch-slim
|
||||||
|
|
|
@ -46,8 +46,8 @@ class UserUpdateView(SuccessMessageMixin, LoginRequiredMixin,
|
||||||
form_class = UserForm
|
form_class = UserForm
|
||||||
permission_required = 'passbook_core.change_user'
|
permission_required = 'passbook_core.change_user'
|
||||||
|
|
||||||
context_object_name = 'object' # By default the object's name
|
# By default the object's name is user which is used by other checks
|
||||||
# is user which is used by other checks
|
context_object_name = 'object'
|
||||||
template_name = 'generic/update.html'
|
template_name = 'generic/update.html'
|
||||||
success_url = reverse_lazy('passbook_admin:users')
|
success_url = reverse_lazy('passbook_admin:users')
|
||||||
success_message = _('Successfully updated User')
|
success_message = _('Successfully updated User')
|
||||||
|
|
Reference in New Issue