Loading .gitlab-ci.yml +3 −34 Original line number Diff line number Diff line image: savannah.ornl.gov/research-enablement/bucket/runner stages: - check - preview before_script: - echo "${ACORN_VERSION}" - curl -L http://code.ornl.gov/api/v4/projects/16689/packages/generic/x86_64-unknown-linux-gnu/v${ACORN_VERSION}/acorn -o /usr/local/bin/acorn - chmod +x /usr/local/bin/acorn - acorn --version default: tags: - cpu run-check: stage: check rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" script: - echo "${VALE_VERSION}" - curl -L https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz -o /root/vale.tar.gz - tar -xvzf /root/vale.tar.gz -C /bin - vale -v - acorn help - acorn check --commit HEAD --ignore "[.]gitlab-ci.yml" generate-pdf: stage: preview rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" script: - acorn export --commit HEAD --output ./export -vv artifacts: name: PDF_EXPORT_PREVIEW expire_in: 1 week paths: - export No newline at end of file include: - project: "research-enablement/templates" file: "bucket.gitlab-ci.yml" No newline at end of file Loading
.gitlab-ci.yml +3 −34 Original line number Diff line number Diff line image: savannah.ornl.gov/research-enablement/bucket/runner stages: - check - preview before_script: - echo "${ACORN_VERSION}" - curl -L http://code.ornl.gov/api/v4/projects/16689/packages/generic/x86_64-unknown-linux-gnu/v${ACORN_VERSION}/acorn -o /usr/local/bin/acorn - chmod +x /usr/local/bin/acorn - acorn --version default: tags: - cpu run-check: stage: check rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" script: - echo "${VALE_VERSION}" - curl -L https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz -o /root/vale.tar.gz - tar -xvzf /root/vale.tar.gz -C /bin - vale -v - acorn help - acorn check --commit HEAD --ignore "[.]gitlab-ci.yml" generate-pdf: stage: preview rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" script: - acorn export --commit HEAD --output ./export -vv artifacts: name: PDF_EXPORT_PREVIEW expire_in: 1 week paths: - export No newline at end of file include: - project: "research-enablement/templates" file: "bucket.gitlab-ci.yml" No newline at end of file