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

 
(사용자 2명의 중간 판 5개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;리눅스 shyaml 설치
;리눅스 shyaml 설치
;/usr/local/bin/shyaml


==확인==
==확인==
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# shyaml
root@zetawiki:~# shyaml
shyaml: command not found
shyaml: command not found
12번째 줄: 13번째 줄:


==설치==
==설치==
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# pip install shyaml
root@zetawiki:~# pip install shyaml
... (생략)
... (생략)
20번째 줄: 21번째 줄:


==확인 2==
==확인 2==
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# shyaml
root@zetawiki:~# shyaml
Error: Bad number of arguments.
Error: Bad number of arguments.
30번째 줄: 31번째 줄:


==테스트==
==테스트==
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# wget https://hg.mozilla.org/projects/alder/raw-file/f186f43db1fd/testing/taskcluster/tasks/buildbot_bridge_build/linux32_firefox_debug.yml
root@zetawiki:~# wget https://hg.mozilla.org/projects/alder/raw-file/f186f43db1fd/testing/taskcluster/tasks/buildbot_bridge_build/linux32_firefox_debug.yml
... (생략)
... (생략)
40번째 줄: 41번째 줄:
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>
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# cat linux32_firefox_debug.yml  
root@zetawiki:~# cat linux32_firefox_debug.yml  
$inherits:
$inherits:
63번째 줄: 64번째 줄:
         debug: true
         debug: true
</source>
</source>
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# cat linux32_firefox_debug.yml | shyaml get-value task.metadata
root@zetawiki:~# cat linux32_firefox_debug.yml | shyaml get-value task.metadata
description: Linux Debug Build
description: Linux Debug Build
name: Linux Debug Build
name: Linux Debug Build
</source>
</source>
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# cat linux32_firefox_debug.yml | shyaml get-value task.metadata.name
root@zetawiki:~# cat linux32_firefox_debug.yml | shyaml get-value task.metadata.name
Linux Debug Build
Linux Debug Build
</source>
</source>


[[분류: pip]]
==같이 보기==
*[[error: command 'x86_64-linux-gnu-gcc' failed with exit status 1]]
*[[YAML]]
 
[[분류: pip install]]
[[분류: /usr/local/bin]]
[[분류: YAML]]

2017년 6월 2일 (금) 09:19 기준 최신판

리눅스 shyaml 설치
/usr/local/bin/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

6 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}