"리눅스 shyaml 설치"의 두 판 사이의 차이

(새 문서: ;리눅스 shyaml 설치 ==확인== <source lang='cli'> root@zetawiki:~# shyaml shyaml: command not found </source> ==사전 작업== *우분투 python-dev 설치( 또는 Cent...)
 
39번째 줄: 39번째 줄:


2015-12-23 14:45:03 (76.4 MB/s) - ‘linux32_firefox_debug.yml’ saved [378/378]
2015-12-23 14:45:03 (76.4 MB/s) - ‘linux32_firefox_debug.yml’ saved [378/378]
</source>
<source lang='cli'>
root@zetawiki:~# cat buildbot_bridge_build.yml | head
# This is the "base" task which contains the common values all builds must
# provide.
---
taskId: {{build_slugid}}
task:
  created: '{{now}}'
  deadline: '{{#from_now}}24 hours{{/from_now}}'
  metadata:
    source: http://todo.com/soon
</source>
</source>
<source lang='cli'>
<source lang='cli'>

2015년 12월 23일 (수) 14:46 판

리눅스 shyaml 설치

1 확인

root@zetawiki:~# shyaml
shyaml: command not found

2 사전 작업

3 설치

root@zetawiki:~# pip install shyaml
... (생략)
Successfully installed pyyaml
Cleaning up...

4 확인 2

root@zetawiki:~# shyaml
Error: Bad number of arguments.
Usage:

    shyaml (-h|--help)
    shyaml ACTION KEY [DEFAULT]

5 테스트

root@zetawiki:~# wget https://hg.mozilla.org/projects/alder/raw-file/f186f43db1fd/testing/taskcluster/tasks/buildbot_bridge_build/linux32_firefox_debug.yml
... (생략)
Length: 378 [text/plain]
Saving to: ‘linux32_firefox_debug.yml’

100%[=============================>] 378         --.-K/s   in 0s      

2015-12-23 14:45:03 (76.4 MB/s) - ‘linux32_firefox_debug.yml’ saved [378/378]
root@zetawiki:~# cat linux32_firefox_debug.yml 
$inherits:
  from: 'tasks/buildbot_bridge_build.yml'
  variables:
    build_name: 'linux32_firefox'
    build_type: 'debug'

task:
  metadata:
    name: 'Linux Debug Build'
    description: 'Linux Debug Build'

  payload:
    buildername: 'Linux {{project}} leak test build'

  extra:
    treeherder:
      machine:
        platform: linux
      collection:
        debug: true
root@zetawiki:~# cat linux32_firefox_debug.yml | shyaml get-value task.metadata
description: Linux Debug Build
name: Linux Debug Build
root@zetawiki:~# cat linux32_firefox_debug.yml | shyaml get-value task.metadata.name
Linux Debug Build
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}