From 454aa61fba186c30893b25553ad721bf065eca9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Mon, 27 Feb 2017 19:30:02 +0100 Subject: [PATCH] Fixed CI problem --- .gitlab-ci.yml | 2 ++ .pre-commit-config.yaml | 5 +++++ Makefile | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75ed0e4..5af2ffb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,6 +56,8 @@ image-2.7: image-latest: stage: release + variables: + IMAGENAME: $CI_REGISTRY_IMAGE before_script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY script: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..ecaea45 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +- repo: git://github.com/pre-commit/pre-commit-hooks + sha: e626cd57090d8df0be21e4df0f4e55cc3511d6ab + hooks: + - id: flake8 + - id: check-json \ No newline at end of file diff --git a/Makefile b/Makefile index 0702c94..e169e73 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ git_commit: git_tag: git tag ${VERSION} -upload_git: +git_push: git push --tags origin master pip_upload: