Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cecile Cavet
test-ci
Commits
5641f737
Commit
5641f737
authored
Jan 10, 2018
by
Cecile Cavet
Browse files
files
parent
2955e55b
Pipeline
#8756
passed with stage
in 1 minute and 27 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
27 deletions
+37
-27
.gitlab-ci.yml
.gitlab-ci.yml
+14
-27
docs/index.md
docs/index.md
+21
-0
mkdocs.yml
mkdocs.yml
+2
-0
No files found.
.gitlab-ci.yml
View file @
5641f737
image
:
python:alpine
# When using dind, it's wise to use the overlayfs driver for improved performance.
variables
:
DOCKER_DRIVER
:
overlay2
# CONTAINER_TEST_IMAGE: gitlab-registry.in2p3.fr/elisadpc/ldc_webapp:$CI_BUILD_REF_NAME
CONTAINER_TEST_IMAGE
:
gitlab-registry.in2p3.fr/elisadpc/ldc_webapp:test
CONTAINER_RELEASE_IMAGE
:
gitlab-registry.in2p3.fr/elisadpc/ldc_webapp:latest
IMAGE_TAG
:
lisadpc
before_script
:
-
pip install mkdocs
# Add your custom theme if not inside a theme_dir
# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
# - pip install mkdocs-material
stages
:
-
build
build
:
image
:
docker:17.07
tags
:
-
dind
stage
:
build
pages
:
script
:
-
export DOCKER_API_VERSION=1.23
-
pwd && ls
-
df -h
-
ls -lart /builds/elisadpc/docker
-
ls -lart /builds/elisadpc/docker.tmp
-
du -sh /cache
# - export IMAGE_TAG=$(echo -en $CI_BUILD_REF_NAME | tr -c '[:alnum:]_.-' '-')
# - docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
# - docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" elisadpc/.
# - docker push "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
-
mkdocs build
-
mv site public
artifacts
:
paths
:
-
public
only
:
-
master
\ No newline at end of file
docs/index.md
0 → 100755
View file @
5641f737
# Welcome to MkDocs
This is a test site hosted on
[
GitLab Pages
](
https://pages.gitlab.io
)
. You can
[
browse its source code
](
https://gitlab.com/pages/mkdocs
)
, fork it and start
using it on your projects.
For full documentation visit
[
mkdocs.org
](
http://mkdocs.org
)
.
## Commands
*
`mkdocs new [dir-name]`
- Create a new project.
*
`mkdocs serve`
- Start the live-reloading docs server.
*
`mkdocs build`
- Build the documentation site.
*
`mkdocs help`
- Print this help message.
## Project layout
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
mkdocs.yml
0 → 100755
View file @
5641f737
site_name
:
My Docs by GitLab Pages
site_url
:
https://pages.gitlab.io/mkdocs
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment