mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Always build Docker images on AWS
This commit is contained in:
parent
b1822a39fa
commit
b0d13cc254
2 changed files with 4 additions and 2 deletions
|
@ -327,6 +327,7 @@ def windows_build_task(name):
|
|||
|
||||
CONFIG.task_name_template = "Servo: %s"
|
||||
CONFIG.index_prefix = "project.servo.servo"
|
||||
CONFIG.docker_image_buil_worker_type = "servo-docker-worker"
|
||||
CONFIG.docker_images_expire_in = build_dependencies_artifacts_expire_in
|
||||
CONFIG.repacked_msi_files_expire_in = build_dependencies_artifacts_expire_in
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@ class Config:
|
|||
self.index_prefix = "garbage.servo-decisionlib"
|
||||
self.scopes_for_all_subtasks = []
|
||||
self.routes_for_all_subtasks = []
|
||||
self.docker_image_buil_worker_type = None
|
||||
self.docker_images_expire_in = "1 month"
|
||||
self.repacked_msi_files_expire_in = "1 month"
|
||||
|
||||
|
@ -627,7 +628,7 @@ class DockerWorkerTask(Task):
|
|||
|
||||
image_build_task = (
|
||||
DockerWorkerTask("Docker image: " + image_name)
|
||||
.with_worker_type(self.worker_type)
|
||||
.with_worker_type(CONFIG.docker_image_buil_worker_type or self.worker_type)
|
||||
.with_max_run_time_minutes(30)
|
||||
.with_index_and_artifacts_expire_in(CONFIG.docker_images_expire_in)
|
||||
.with_features("dind")
|
||||
|
@ -694,4 +695,4 @@ def deindent(string):
|
|||
|
||||
|
||||
def url_basename(url):
|
||||
return url.rpartition("/")[-1]
|
||||
return url.rpartition("/")[-1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue