Loading README.md +4 −10 Original line number Diff line number Diff line Loading @@ -72,16 +72,14 @@ to: ## Choosing a template You can import our templates in your projects using GitLab You can import our templates in your projects using GitLab remote [include](https://docs.gitlab.com/ee/ci/yaml/includes.html) functionality. Here is an example `.gitlab-ci.yml` importing the python template: ```yaml --- include: - project: just-ci/templates file: templates/python.yml ref: v6.4.0 - remote: https://just-ci.gitlab.io/jobs/v6.4.0/templates/python.yml ``` The above is a template for Python projects. Other templates can be found in Loading @@ -100,9 +98,7 @@ you want you can always disable specific jobs with custom rules. ```yaml --- include: - project: just-ci/templates file: templates/python.yml ref: v6.4.0 - remote: https://just-ci.gitlab.io/jobs/v6.4.0/templates/python.yml python:pytest: rules: Loading @@ -122,9 +118,7 @@ there has been a breaking change in `master`, use an older tag like this: ```yaml --- include: - project: just-ci/templates file: python/pylint.yml ref: v3.19.2 - remote: https://just-ci.gitlab.io/jobs/v3.19.2/python/pylint.yml ``` # Monorepo (multiple Dockerfiles) or polyrepo (one Dockerfile) Loading Loading
README.md +4 −10 Original line number Diff line number Diff line Loading @@ -72,16 +72,14 @@ to: ## Choosing a template You can import our templates in your projects using GitLab You can import our templates in your projects using GitLab remote [include](https://docs.gitlab.com/ee/ci/yaml/includes.html) functionality. Here is an example `.gitlab-ci.yml` importing the python template: ```yaml --- include: - project: just-ci/templates file: templates/python.yml ref: v6.4.0 - remote: https://just-ci.gitlab.io/jobs/v6.4.0/templates/python.yml ``` The above is a template for Python projects. Other templates can be found in Loading @@ -100,9 +98,7 @@ you want you can always disable specific jobs with custom rules. ```yaml --- include: - project: just-ci/templates file: templates/python.yml ref: v6.4.0 - remote: https://just-ci.gitlab.io/jobs/v6.4.0/templates/python.yml python:pytest: rules: Loading @@ -122,9 +118,7 @@ there has been a breaking change in `master`, use an older tag like this: ```yaml --- include: - project: just-ci/templates file: python/pylint.yml ref: v3.19.2 - remote: https://just-ci.gitlab.io/jobs/v3.19.2/python/pylint.yml ``` # Monorepo (multiple Dockerfiles) or polyrepo (one Dockerfile) Loading