Skip to content
Snippets Groups Projects
Commit df612387 authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Add CI

Add a CI pipeline with a single doxec task. The created python code examples are
packaged and can be downloaded on success.
parent 3924ead6
No related branches found
No related tags found
No related merge requests found
image: ${CI_REGISTRY}/${CI_PROJECT_PATH}/doxec:latest
stages:
- test
doxec_test:
stage: test
script:
- doxec README.md
artifacts:
name: "examples_${CI_COMMIT_REF_NAME}"
expire_in: 3mos
paths:
- *.py
# This image is based on ubuntu has doxec installed. The image is intended to be
# used for the gitlab CI.
FROM ubuntu:16.04
LABEL maintainer "frank@sauerburger.com"
# install python3, setuptools and git
RUN apt-get update && apt-get install -y \
python3 python3-setuptools git\
&& rm -rf /var/lib/apt/lists/*
# install doxec
RUN git clone https://srv.sauerburger.com/esel/doxec.git && cd doxec && git checkout v0.1.1 && python3 setup.py install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment