Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • swepy/cicd-templates/pypi-to-docker-missing-version
1 result
Show changes
Commits on Source (3)
[tool.bumpversion] [tool.bumpversion]
commit = true commit = true
current_version = "0.2.1" current_version = "0.3.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
replace = "{new_version}" replace = "{new_version}"
search = "{current_version}" search = "{current_version}"
......
...@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[![Pipeline](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/badges/trunk/pipeline.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/pipelines?ref=trunk) [![Pipeline](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/badges/trunk/pipeline.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/pipelines?ref=trunk)
## [0.3.0] - 2024-07-16
[![Pipeline](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/badges/0.3.0/pipeline.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/pipelines?ref=0.3.0)
### Changed
* Job image tag is now fixed, regular updates will be done by hands
## [0.2.1] - 2024-07-13 ## [0.2.1] - 2024-07-13
[![Pipeline](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/badges/0.2.1/pipeline.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/pipelines?ref=0.2.1) [![Pipeline](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/badges/0.2.1/pipeline.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/pipelines?ref=0.2.1)
......
# PyPI to Docker missing version # PyPI to Docker missing version
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/blob/main/LICENSE) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/blob/main/LICENSE)
[![Pipeline](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/badges/0.2.1/pipeline.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/pipelines?ref=0.2.1) [![Pipeline](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/badges/0.3.0/pipeline.svg)](https://lab.frogg.it/swepy/cicd-templates/pypi-to-docker-missing-version/-/pipelines?ref=0.3.0)
## Objective ## Objective
...@@ -16,19 +16,14 @@ registry, ready to be used for other jobs to build the image. ...@@ -16,19 +16,14 @@ registry, ready to be used for other jobs to build the image.
Add the following to your `.gitlab-ci.yml` file. Add the following to your `.gitlab-ci.yml` file.
As a remote Template (recommended):
```yaml
include:
- remote: 'https://gitlab.com/swepy/cicd-templates/pypi-to-docker-missing-version/-/raw/0.2.1/templates/pypi-to-docker-missing-version.yml'
```
As a local Template (if the template is local to the instance): As a local Template (if the template is local to the instance):
```yaml ```yaml
include: include:
- project: 'swepy/cicd-templates/pypi-to-docker-missing-version' - project: 'swepy/cicd-templates/pypi-to-docker-missing-version'
ref: '0.2.1' ref: '0.3.0'
file: 'templates/pypi-to-docker-missing-version.yml' file: 'templates/pypi-to-docker-missing-version.yml'
``` ```
...@@ -37,7 +32,14 @@ component is local to the instance): ...@@ -37,7 +32,14 @@ component is local to the instance):
```yaml ```yaml
include: include:
- component: $CI_SERVER_FQDN/swepy/cicd-templates/pypi-to-docker-missing-version/pypi-to-docker-missing-version@0.2.1 - component: $CI_SERVER_FQDN/swepy/cicd-templates/pypi-to-docker-missing-version/pypi-to-docker-missing-version@0.3.0
```
As a remote Template (recommended):
```yaml
include:
- remote: 'https://gitlab.com/swepy/cicd-templates/pypi-to-docker-missing-version/-/raw/0.3.0/templates/pypi-to-docker-missing-version.yml'
``` ```
### Customize job ### Customize job
......
pypi-to-docker-missing-version: pypi-to-docker-missing-version:
stage: build stage: build
image: alpine:latest image: alpine:3.20.1
variables: variables:
IMAGE_NAME: "" IMAGE_NAME: ""
PACKAGE_INDEX_API_URL: https://pypi.org/pypi PACKAGE_INDEX_API_URL: https://pypi.org/pypi
......