Use the FPM tool to create packages for various systems.
Name | Required | Type | Default | Description |
---|---|---|---|---|
buildImage | Required | String | Docker image containing the FPM tools as well as any other requirements. | |
sourceType | String | dir |
Refer to Sources documentation. | |
version | String | {{ build_version }} |
Version number to use for the resulting package, eqivalent to the -v flag. |
|
name | String | <repo> |
The name of the output package, format will be -.. | |
sourceDir | String | When using the dir sourceType this is the directory that will get packaged. | ||
extraArgs | String | Any extra arguments to the FPM command. | ||
dependencies | List | A list of dependencies that are required by your output package. | ||
targetTypes | List | ['rpm'] |
Formats to create with the command. |
Create application packages for various systems with one tool.
Name | Required | Type | Default | Description |
---|---|---|---|---|
buildImage | Required | String | Docker image containing the FPM tools as well as any other requirements. | |
sourceType | String | dir |
Refer to Sources documentation. | |
version | String | {{ build_version }} |
Version number to use for the resulting package, eqivalent to the -v flag. |
|
name | String | <repo> |
The name of the output package, format will be -.. | |
sourceDir | String | When using the dir sourceType this is the directory that will get packaged. | ||
extraArgs | String | Any extra arguments to the FPM command. | ||
dependencies | List | A list of dependencies that are required by your output package. | ||
targetTypes | List | ['rpm'] |
Formats to create with the command. |
branches:
feature:
steps:
- ansible:
- playbook:
- playbook:
extraVars:
DOCKER_IMAGE: '{{ DOCKER_IMAGE_TAG }}'
limit: qa
playbook: scripts/ansible/example-playbook.yml
pipelines:
tools:
branches:
patterns:
master: master
develop: develop
feature: .+
branches:
feature:
steps:
- fpm:
- package:
targetTypes:
- deb
- rpm
- artifactory:
- publish: