Sha256: 62dce1d5d1562fcaf7a8dce1bad4d83a5d95cbdf5dab2bde19fb3d572872e65c

Contents?: true

Size: 1.27 KB

Versions: 5

Compression:

Stored size: 1.27 KB

Contents

# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
image:
  name: metanorma/mn
  entrypoint: [""]

cache:
  paths:

stages:
  - build
  - deploy


build:
  stage: build
  script:
    # We need to do this to install mscorefonts
    - curl -Ls -o yq https://github.com/mikefarah/yq/releases/download/3.3.0/yq_linux_amd64
    - chmod +x yq && mv yq /usr/bin
    - yq
    - apt-add-repository -y contrib && apt-get update
    - echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
    - apt-get install -y ttf-mscorefonts-installer
    - curl -Ls https://raw.githubusercontent.com/metanorma/vista-fonts-installer/master/vista-fonts-installer.sh | bash
    - curl -L --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/gemfile-to-bundle-add.sh | bash
    - bundle install
    - make clean all
    - make published
    - mv published public
  artifacts:
    paths:
      - public

pages:
  dependencies:
    - build
  stage: deploy
  script:
    - 'curl --location --output artifacts.zip --header "JOB-TOKEN: $CI_JOB_TOKEN" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=build"'
  artifacts:
    paths:
      - public
  only:
    - master

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
metanorma-cli-1.3.7.3 templates/base/.gitlab-ci.yml
metanorma-cli-1.3.7.2 templates/base/.gitlab-ci.yml
metanorma-cli-1.3.7.1 templates/base/.gitlab-ci.yml
metanorma-cli-1.3.7 templates/base/.gitlab-ci.yml
metanorma-cli-1.3.6 templates/base/.gitlab-ci.yml