[24.02.20] deleted api tokens and load from env

This commit is contained in:
andrewso 2020-02-24 10:47:04 +00:00
parent 57f69ecade
commit d4af9bb507
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,6 @@ RUN apk update && \
apk add py-pip libc-dev gcc apk add py-pip libc-dev gcc
RUN pip install utils pycryptodome && \ RUN pip install utils pycryptodome && \
pip install python-env coinbase pip install python-env coinbase
COPY /price-collector /home/price-collector/ COPY /* /home/price-collector/
EXPOSE 9090 EXPOSE 9090
CMD ["python", "/home/price-collector/src/main.py"] CMD ["python", "/home/price-collector/src/main.py"]

View File

@ -43,6 +43,8 @@ try {
sh "doctl auth init --access-token ${DOCTL_TOKEN}" sh "doctl auth init --access-token ${DOCTL_TOKEN}"
sh "doctl kubernetes cluster kubeconfig save cryptosky-kubernetes-cluster-production" sh "doctl kubernetes cluster kubeconfig save cryptosky-kubernetes-cluster-production"
} }
sh "ls -la"
} }
stage('Test Artifact') { stage('Test Artifact') {