Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Python
Commits
e557730e
Commit
e557730e
authored
3 years ago
by
Pierre Smeyers
Browse files
Options
Downloads
Patches
Plain Diff
doc: warn default Docker image has to be changed
parent
77e95b1d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+8
-8
8 additions, 8 deletions
README.md
kicker.json
+1
-1
1 addition, 1 deletion
kicker.json
with
9 additions
and
9 deletions
README.md
+
8
−
8
View file @
e557730e
...
...
@@ -19,13 +19,13 @@ include:
The Python template uses some global configuration used throughout all jobs.
| Name | description
| default value |
| -------------------- | -------------------------------------------------------------------------------------
---------------------------
| ------------------ |
|
`PYTHON_IMAGE`
| The Docker image used to run Python
.
**It is highly recommended to set the specific version
your project
needs
**
|
`python:3`
|
|
`PIP_INDEX_URL`
| Python repository url
| _none_ |
|
`PYTHON_PROJECT_DIR`
| Python project root directory
|
`.`
|
|
`REQUIREMENTS_FILE`
| Path to requirements file _(relative to
`$PYTHON_PROJECT_DIR`
)_
|
`requirements.txt`
|
|
`PIP_OPTS`
| pip extra
[
options
](
https://pip.pypa.io/en/stable/reference/pip/#general-options
)
| _none_ |
| Name | description | default value |
| -------------------- | ------------------------------------------------------------------------------------- | ------------------ |
|
`PYTHON_IMAGE`
| The Docker image used to run Python
<br/>
:warning:
**set the version required by
your project**
|
`python:3`
|
|
`PIP_INDEX_URL`
| Python repository url | _none_ |
|
`PYTHON_PROJECT_DIR`
| Python project root directory |
`.`
|
|
`REQUIREMENTS_FILE`
| Path to requirements file _(relative to
`$PYTHON_PROJECT_DIR`
)_ |
`requirements.txt`
|
|
`PIP_OPTS`
| pip extra
[
options
](
https://pip.pypa.io/en/stable/reference/pip/#general-options
)
| _none_ |
The cache policy also declares the
`.cache/pip`
directory as cached (not to download Python dependencies over and over again).
...
...
@@ -281,6 +281,6 @@ It is bound to the `publish` stage, applies only on tags and uses the following
|
`DOCS_BUILD_DIR`
| Output build directory for documentation |
`public`
|
|
`DOCS_MAKE_ARGS`
| Args of make command |
`html BUILDDIR=${DOCS_BUILD_DIR}`
|
## Git
l
ab compatibility
## Git
L
ab compatibility
:information_source: This template is actually tested and validated on GitLab Community Edition instance version 13.12.11
This diff is collapsed.
Click to expand it.
kicker.json
+
1
−
1
View file @
e557730e
...
...
@@ -6,7 +6,7 @@
"variables"
:
[
{
"name"
:
"PYTHON_IMAGE"
,
"description"
:
"The Docker image used to run Python - **
it is highly recommended to set the specific version
your project
needs
**"
,
"description"
:
"The Docker image used to run Python - **
set the version required by
your project**"
,
"default"
:
"python:3"
},
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment