Skip to content
Snippets Groups Projects
Unverified Commit 59af079a authored by Ritesh Raj Sarraf's avatar Ritesh Raj Sarraf
Browse files

Dockerize package builds


Switch package builds to use containerized docker environment.
With dockerized builds:
* build dependnecies can be simply updated by updating (and regenerating)
  the docker image files
* Resources are controlled in a more deterministic order

Signed-off-by: default avatarRitesh Raj Sarraf <ritesh.sarraf@collabora.co.uk>
parent 85ec4360
No related branches found
No related tags found
1 merge request!24Dockerize package builds
......@@ -18,7 +18,7 @@
These jobs are for packages where Apertis is the upstream
developer. See <https://gitlab.apertis.org/>.
project-imagetype: freestyle
node: apertis-development
node: docker-slave
properties:
- inject:
properties-content: |
......@@ -52,6 +52,10 @@
- file:
credential-id: '{osc-credentials-id}'
variable: OSCRC
- docker-custom-build-env:
image-type: 'pull'
image: docker-registry.apertis.org/apertis/apertis-{distro}-package-builder
force-pull: true
triggers:
- pollscm:
cron: "H/5 * * * *"
......
......@@ -19,7 +19,7 @@
is done outside Apertis, with the Apertis packaging adding OS integration
and local modifications. See <https://gitlab.apertis.org/packaging/>.
project-imagetype: freestyle
node: apertis-development
node: docker-slave
properties:
- inject:
properties-content: |
......@@ -54,6 +54,10 @@
- file:
credential-id: '{osc-credentials-id}'
variable: OSCRC
- docker-custom-build-env:
image-type: 'pull'
image: docker-registry.apertis.org/apertis/apertis-{distro}-package-builder
force-pull: true
triggers:
- pollscm:
cron: "H/5 * * * *"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment