Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

fcli需要支持ci,特别是sbox #12

Open
xinchaobeta opened this issue Jul 31, 2017 · 6 comments
Open

fcli需要支持ci,特别是sbox #12

xinchaobeta opened this issue Jul 31, 2017 · 6 comments

Comments

@xinchaobeta
Copy link

fcli目前是一个交互是方式,对ci的支持不太好,特别是 sbox ,又嵌套了一层,ci 里要怎么弄?

@hryang
Copy link
Contributor

hryang commented Aug 7, 2017

您好,v0.8里已经支持了非交互模式,还不支持以非交互的方式运行sbox。您这边具体是什么使用场景?能否提供更详细的信息,比如要在sbox里非交互的做什么事情。

@linfan68
Copy link

如果要在sbox里面跑一些自动测试的脚本要怎么处理?

@vangie
Copy link
Collaborator

vangie commented Jul 11, 2018

如果要在sbox里面跑一些自动测试的脚本要怎么处理?

我们近期会在另外推出专门用于 CI 的镜像环境。

@guyskk
Copy link

guyskk commented Sep 1, 2018

在sbox里面跑脚本可以这样:

docker run --rm -ti -v $(pwd):/code aliyunfc/aliyun-fc:<TAG> /bin/bash <YOU_SCRIPT.sh>

@rocaltair
Copy link
Contributor

还可以使用 expect 这个工具来临时解决

https://linux.die.net/man/1/expect

@vangie
Copy link
Collaborator

vangie commented Nov 9, 2018

可以使用 fc-docker https://github.com/aliyun/fc-docker

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants