X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8d61948fecccfc60db2f18ba4daf7c01ddf3d3c8..df5f366f4bd87ee90cf39248542435b1b924b58a:/services/api/test/fixtures/containers.yml?ds=sidebyside diff --git a/services/api/test/fixtures/containers.yml b/services/api/test/fixtures/containers.yml index 87098dcf53..467f81ac9f 100644 --- a/services/api/test/fixtures/containers.yml +++ b/services/api/test/fixtures/containers.yml @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + queued: uuid: zzzzz-dz642-queuedcontainer owner_uuid: zzzzz-tpzed-000000000000000 @@ -12,12 +16,19 @@ queued: runtime_constraints: ram: 12000000000 vcpus: 4 + mounts: + /tmp: + kind: tmp + capacity: 24000000000 + /var/spool/cwl: + kind: tmp + capacity: 24000000000 running: uuid: zzzzz-dz642-runningcontainr owner_uuid: zzzzz-tpzed-000000000000000 state: Running - priority: 1 + priority: 12 created_at: <%= 1.minute.ago.to_s(:db) %> updated_at: <%= 1.minute.ago.to_s(:db) %> started_at: <%= 1.minute.ago.to_s(:db) %> @@ -25,10 +36,17 @@ running: cwd: test output_path: test command: ["echo", "hello"] + runtime_status: + hello: world runtime_constraints: ram: 12000000000 vcpus: 4 - auth_uuid: zzzzz-gj3su-077z32aux8dg2s1 + secret_mounts: + /secret/6x9: + kind: text + content: "42\n" + secret_mounts_md5: <%= Digest::MD5.hexdigest(SafeJSON.dump({'/secret/6x9' => {'content' => "42\n", 'kind' => 'text'}})) %> + auth_uuid: zzzzz-gj3su-077z32aux8dg2s2 running_older: uuid: zzzzz-dz642-runningcontain2 @@ -45,11 +63,14 @@ running_older: runtime_constraints: ram: 12000000000 vcpus: 4 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b locked: uuid: zzzzz-dz642-lockedcontainer owner_uuid: zzzzz-tpzed-000000000000000 state: Locked + locked_by_uuid: zzzzz-gj3su-k9dvestay1plssr priority: 2 created_at: <%= 2.minute.ago.to_s(:db) %> updated_at: <%= 2.minute.ago.to_s(:db) %> @@ -60,6 +81,8 @@ locked: runtime_constraints: ram: 12000000000 vcpus: 4 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b completed: uuid: zzzzz-dz642-compltcontainer @@ -74,12 +97,14 @@ completed: container_image: test cwd: test log: ea10d51bcf88862dbcc36eb292017dfd+45 - output: zzzzz-4zz18-znfnqtbbv4spc3w + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test - command: ["echo", "hello"] + command: ["echo", "hello", "/bin/sh", "-c", "'cat' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/foobar' '/keep/fa7aeb5140e2848d39b416daeef4ffc5+45/baz' '|' 'gzip' '>' '/dev/null'"] runtime_constraints: ram: 12000000000 vcpus: 4 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b completed_older: uuid: zzzzz-dz642-compltcontainr2 @@ -93,12 +118,14 @@ completed_older: finished_at: 2016-01-14 11:12:13.111111111 Z container_image: test cwd: test - output: test + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test command: ["echo", "hello"] runtime_constraints: ram: 12000000000 vcpus: 4 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b requester: uuid: zzzzz-dz642-requestingcntnr @@ -110,12 +137,14 @@ requester: updated_at: 2016-01-11 11:11:11.111111111 Z container_image: test cwd: test - output: test + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test command: ["echo", "hello"] runtime_constraints: ram: 12000000000 vcpus: 4 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b requester_container: uuid: zzzzz-dz642-requestercntnr1 @@ -127,13 +156,14 @@ requester_container: updated_at: 2016-01-11 11:11:11.111111111 Z container_image: test cwd: test - output: test + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test command: ["echo", "hello"] runtime_constraints: ram: 12000000000 vcpus: 4 - auth_uuid: zzzzz-gj3su-077z32aux8dg2s1 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b failed_container: uuid: zzzzz-dz642-failedcontainr1 @@ -145,12 +175,14 @@ failed_container: updated_at: 2016-01-11 11:11:11.111111111 Z container_image: test cwd: test - output: test + output: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 output_path: test command: ["echo", "hello"] runtime_constraints: ram: 12000000000 vcpus: 4 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b ancient_container_with_logs: uuid: zzzzz-dz642-logscontainer01 @@ -170,6 +202,8 @@ ancient_container_with_logs: finished_at: <%= 2.year.ago.to_s(:db) %> log: ea10d51bcf88862dbcc36eb292017dfd+45 output: test + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b previous_container_with_logs: uuid: zzzzz-dz642-logscontainer02 @@ -189,6 +223,8 @@ previous_container_with_logs: finished_at: <%= 1.month.ago.to_s(:db) %> log: ea10d51bcf88862dbcc36eb292017dfd+45 output: test + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b running_container_with_logs: uuid: zzzzz-dz642-logscontainer03 @@ -204,3 +240,50 @@ running_container_with_logs: runtime_constraints: ram: 12000000000 vcpus: 4 + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b + +running_to_be_deleted: + uuid: zzzzz-dz642-runnincntrtodel + owner_uuid: zzzzz-tpzed-000000000000000 + state: Running + priority: 1 + created_at: <%= 1.minute.ago.to_s(:db) %> + updated_at: <%= 1.minute.ago.to_s(:db) %> + started_at: <%= 1.minute.ago.to_s(:db) %> + container_image: test + cwd: test + output_path: test + command: ["echo", "hello"] + runtime_constraints: + ram: 12000000000 + vcpus: 4 + auth_uuid: zzzzz-gj3su-ty6lvu9d7u7c2sq + secret_mounts: {} + secret_mounts_md5: 99914b932bd37a50b983c5e7c90ae93b + +runtime_token: + uuid: zzzzz-dz642-20isqbkl8xwnsao + owner_uuid: zzzzz-tpzed-000000000000000 + state: Locked + locked_by_uuid: zzzzz-gj3su-jrriu629zljsnuf + priority: 1 + created_at: 2016-01-11 11:11:11.111111111 Z + updated_at: 2016-01-11 11:11:11.111111111 Z + container_image: test + cwd: test + output_path: test + command: ["echo", "hello"] + runtime_token: v2/zzzzz-gj3su-2nj68s291f50gd9/2d19ue6ofx26o3mm7fs9u6t7hov9um0v92dzwk1o2xed3abprw + runtime_user_uuid: zzzzz-tpzed-l3skomkti0c4vg4 + runtime_auth_scopes: ["all"] + runtime_constraints: + ram: 12000000000 + vcpus: 4 + mounts: + /tmp: + kind: tmp + capacity: 24000000000 + /var/spool/cwl: + kind: tmp + capacity: 24000000000