Compare commits
No commits in common. "393188d549bb0d383d881f0185d96011a640f62c" and "eb5b5af3d3e8426b718a48567434ff318a5dbdbf" have entirely different histories.
393188d549
...
eb5b5af3d3
22
.drone.yml
22
.drone.yml
@ -36,8 +36,8 @@ steps:
|
|||||||
- docker push "$DOCKER_USERNAME/producer"
|
- docker push "$DOCKER_USERNAME/producer"
|
||||||
- docker push "$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER"
|
- docker push "$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER"
|
||||||
|
|
||||||
- name: make_docs
|
- name: build_docs
|
||||||
image: python:3.8
|
image: python:3
|
||||||
commands:
|
commands:
|
||||||
- pip3 install Sphinx
|
- pip3 install Sphinx
|
||||||
- pip3 install -r requirements.txt
|
- pip3 install -r requirements.txt
|
||||||
@ -45,24 +45,6 @@ steps:
|
|||||||
- sphinx-apidoc -o source/ ../
|
- sphinx-apidoc -o source/ ../
|
||||||
- make html
|
- make html
|
||||||
|
|
||||||
- name: build_docs
|
|
||||||
image: docker:stable-dind
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
environment:
|
|
||||||
DOCKER_USERNAME:
|
|
||||||
from_secret: DOCKER_USERNAME
|
|
||||||
DOCKER_PASSWORD:
|
|
||||||
from_secret: DOCKER_PASSWORD
|
|
||||||
commands:
|
|
||||||
- cd docs
|
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
|
||||||
- docker build -t="$DOCKER_USERNAME/producer-docs" .
|
|
||||||
- docker build -t="$DOCKER_USERNAME/producer-docs:$DRONE_BUILD_NUMBER" .
|
|
||||||
- docker push "$DOCKER_USERNAME/producer-docs"
|
|
||||||
- docker push "$DOCKER_USERNAME/producer-docs:$DRONE_BUILD_NUMBER"
|
|
||||||
|
|
||||||
- name: slack
|
- name: slack
|
||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
settings:
|
settings:
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -131,4 +131,3 @@ dmypy.json
|
|||||||
#Pycharm
|
#Pycharm
|
||||||
.idea/
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
docs/source/
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
FROM httpd:2.4
|
|
||||||
|
|
||||||
COPY _build/html/ /usr/local/apache2/htdocs/
|
|
Reference in New Issue
Block a user