Commit 6144927f authored by Alex Thomae's avatar Alex Thomae

Merge branch 'ix-ai-standards' into 'latest'

Switches to the ix.ai standards

See merge request docker/ripple-exporter!4
parents b15a6a97 9f628f4f
variables:
DOCKER_DRIVER: overlay2
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
stages:
- lint
......@@ -12,16 +13,16 @@ pylint:
image: python:latest
stage: lint
script:
- curl -o .pylintrc https://tool.ix.ai/.pylintrc
- pip install prometheus_client pylint requests
- pylint --rcfile=.pylintrc *.py
- pylint --rcfile=.pylintrc src/*.py
build:
image: docker:latest
stage: build
except:
- master
before_script:
- export IMAGE_TAG=${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
only:
- /^latest$/
- tags
script:
- docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker build -f Dockerfile -t ${IMAGE_TAG} .
......
This diff is collapsed.
......@@ -5,7 +5,7 @@ ENV LOGLEVEL=INFO URL=https://data.ripple.com
RUN pip3 install requests
COPY ripple-exporter.py /
COPY src/ripple-exporter.py /
EXPOSE 9308
......
The MIT License
Copyright (c) 2019 ix.ai, https://ix.ai
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment