Skip to content
Snippets Groups Projects
Commit 6845acd5 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

upstream CI: Build containers in parallel jobs

In the current build container pipeline, all steps are serialized in a
single job, and if one of the jobs fail to build, due to broken
dependent image, or some Azure glitch, like slow connection, the only
way to rebuild the failed container is to rebuild all containers.

By building containers in parallel jobs, if a container fails to build
it is possible to restart only the failed job.
parent ba7bf0f6
No related branches found
No related tags found
No related merge requests found
...@@ -13,34 +13,49 @@ trigger: none ...@@ -13,34 +13,49 @@ trigger: none
pool: pool:
vmImage: 'ubuntu-20.04' vmImage: 'ubuntu-20.04'
jobs: stages:
- template: templates/build_container.yml - stage: CentOS_7
parameters: dependsOn: []
job_name_suffix: Centos7 jobs:
container_name: centos-7 - template: templates/build_container.yml
build_scenario_name: centos-7-build parameters:
job_name_suffix: Centos7
- template: templates/build_container.yml container_name: centos-7
parameters: build_scenario_name: centos-7-build
job_name_suffix: C8S
container_name: c8s - stage: CentOS_8_Stream
build_scenario_name: c8s-build dependsOn: []
jobs:
- template: templates/build_container.yml - template: templates/build_container.yml
parameters: parameters:
job_name_suffix: C9S job_name_suffix: C8S
container_name: c9s container_name: c8s
build_scenario_name: c9s-build build_scenario_name: c8s-build
- template: templates/build_container.yml - stage: CentOS_9_Stream
parameters: dependsOn: []
job_name_suffix: FedoraLatest jobs:
container_name: fedora-latest - template: templates/build_container.yml
build_scenario_name: fedora-latest-build parameters:
job_name_suffix: C9S
- template: templates/build_container.yml container_name: c9s
parameters: build_scenario_name: c9s-build
job_name_suffix: FedoraRawhide
container_name: fedora-rawhide - stage: Fedora_Latest
build_scenario_name: fedora-rawhide-build dependsOn: []
jobs:
- template: templates/build_container.yml
parameters:
job_name_suffix: FedoraLatest
container_name: fedora-latest
build_scenario_name: fedora-latest-build
- stage: Fedora_Rawhide
dependsOn: []
jobs:
- template: templates/build_container.yml
parameters:
job_name_suffix: FedoraRawhide
container_name: fedora-rawhide
build_scenario_name: fedora-rawhide-build
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