Browse Source

Adding initial CI setup for the administration client

framework
Drew Short 6 years ago
parent
commit
211d14cb1f
  1. 23
      .gitlab-ci.yml
  2. 2
      administration_client/package.json
  3. 2
      administration_client/public/index.html

23
.gitlab-ci.yml

@ -2,7 +2,7 @@ stages:
- test
- deploy
tests:
server-tests:
image: python:3.6-slim-stretch
stage: test
script:
@ -13,16 +13,25 @@ tests:
tags:
- docker
administration-client-tests:
image: node:8.11-stretch
stage: test
script:
- yarn install
- yarn run test:unit
tags:
- docker
pages:
image: python:3.6-slim-stretch
stage: deploy
script:
- python3 -m pip install pipenv
- cd server
- pipenv install --dev --system
- cd documentation
- sphinx-build -M html "." "_build"
- mv _build/html/ ../../public/
- python3 -m pip install pipenv
- cd server
- pipenv install --dev --system
- cd documentation
- sphinx-build -M html "." "_build"
- mv _build/html/ ../../public/
artifacts:
paths:
- public

2
administration_client/package.json

@ -1,5 +1,5 @@
{
"name": "administration_client",
"name": "atheneum_administration_client",
"version": "0.1.0",
"private": true,
"scripts": {

2
administration_client/public/index.html

@ -9,7 +9,7 @@
</head>
<body>
<noscript>
<strong>We're sorry but administration_client doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
<strong>We're sorry but Atheneum Administration Client doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->

Loading…
Cancel
Save