Changeset - bd42d0d9970f
[Not reviewed]
0 1 0
Joel Addison - 4 years ago 2020-11-23 23:51:40
joel@addison.net.au
Update sphinx build
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
.gitlab-ci.yml
Show inline comments
...
 
@@ -203,46 +203,46 @@ build_2020_image:
 
  - dev/2020
 
  environment:
 
    name: 2020/staging
 
    url: https://staging2020.lca2019.org
 

	
 
2019_staging-deploy:
 
  image: google/cloud-sdk
 
  stage: deploy
 
  script:
 
  - echo "${CA_CERT}" > cert.crt
 
  - kubectl config set-cluster cluster --server="${KUBE_SERVER}" --embed-certs=true --certificate-authority=cert.crt
 
  - kubectl config set-context cluster --cluster=cluster --namespace=lca2019-staging --user=gitlab-ci
 
  - kubectl config use-context cluster
 
  - kubectl --token "${GL_KUBE_TOKEN}" set image deployment/symposion-app symposion-app="${CONTAINER_IMAGE_2019}"_dev:$CI_COMMIT_SHA
 
  when: manual
 
  only:
 
  - dev/2019
 
  environment:
 
    name: 2019/staging
 
    url: https://staging.lca2019.org
 

	
 
.docs_template: &sphinx
 
  image: alpine
 
  script:
 
  - apk --no-cache add py2-pip python-dev make
 
  - apk --no-cache add py3-pip python3-dev make
 
  - pip install sphinx
 
  - cd docs
 
  - make html
 
  - cd ..
 
  - mv docs/_build/html public
 
  artifacts:
 
    paths:
 
    - public
 

	
 
pages:
 
  <<: *sphinx
 
  only:
 
  - master
 
  - "2019"
 
  - "2021"
 
  environment:
 
    name: docs
 
    url: https://laconfdev.gitlab.io/symposion_app/
 

	
 
build_sphinx:
 
  <<: *sphinx
 
  stage: build
0 comments (0 inline, 0 general)