Skip to content
Snippets Groups Projects
Commit b8e48df5 authored by Anton Kullberg's avatar Anton Kullberg
Browse files

ci: added CI to build docker image & documentation

commit 09942be0
Author: Anton Kullberg <anton.kullberg@liu.se>
Date:   Fri Nov 12 15:01:20 2021 +0000

    ci: changed image for doc building to registry image

commit eddc525d
Author: Anton Kullberg <anton.kullberg@liu.se>
Date:   Fri Nov 12 14:59:42 2021 +0000

    ci: changed image for doc building to registry image

commit 8917a13a
Author: Anton Kullberg <anton.kullberg@liu.se>
Date:   Fri Nov 12 14:51:01 2021 +0000

    ci: added docker image building

commit de5a2327
Author: Anton Kullberg <anton.kullberg@liu.se>
Date:   Fri Nov 12 13:59:22 2021 +0000

    ci: added pyehm

commit d466e572
Author: Anton Kullberg <anton.kullberg@liu.se>
Date:   Fri Nov 12 13:57:59 2021 +0000

    ci: added jax

commit 4565c6b9
Author: Anton Kullberg <anton.kullberg@liu.se>
Date:   Fri Nov 12 13:56:28 2021 +0000

    ci: changed image

commit 0f0af011
Author: Anton Kullberg <anton.kullberg@liu.se>
Date:   Fri Nov 12 13:54:25 2021 +0000

    ci: added numpy dep of pdoc

commit d8e11c24
Author: Anton Kullberg <anton.kullberg@liu.se>
Date:   Fri Nov 12 13:52:54 2021 +0000

    ci: added CI to build documentation
parent 0d2bb057
No related branches found
No related tags found
No related merge requests found
docker-image:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"auth\":\"$(printf "%s:%s" "${CI_REGISTRY_USER}" "${CI_REGISTRY_PASSWORD}" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
- >-
/kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
--destination "${CI_REGISTRY_IMAGE}:latest"
rules:
- if: $CI_COMMIT_TAG
build-doc:
image: gitlab.liu.se:5000/phd-courses/multiple-target-tracking
stage: build
script:
- pdoc --html src
- mkdir .public
- mv html/src/* .public/
artifacts:
paths:
- .public
pages:
stage: deploy
script:
- mv .public public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment