Comments (3)
@ups216 we are supporting gitlab ci from the image version of smartide-cli:4475, now user can develop/debug code in real test enviroment.
.gitlab-ci.yml demo :
stages:
- setup_dev_env
smartide:
stage: setup_dev_env
image:
name: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-cli:4475
entrypoint: [""]
script:
- smartide version
- smartide start --mode pipeline --host <your dev/test env> --username <username> --password <password> --callback-api-address <callback api address> <git repo address>
CI Logs Demo :
- user can trigger callback api and get result from gitlab pipeline logs.
- user can get WebIDE address, open it directly from logs and start to develop and debug.
2022-07-20 09:30:53.613 INFO [Worksapce] Saved successfully. Open your Workspace using WorkspaceId (smartide start 1) to quickly resume your work.
2022-07-20 09:30:54.589 INFO successfully send workspace info to below API: ****************
2022-07-20 09:30:54.589 INFO dev/test enviroment start success with pipeline mode, you can work with below URL now!
2022-07-20 09:30:54.589 INFO http://********:6800/?folder=vscode-remote://******/home/project
from smartide.
@ups216 we are supporting gitlab ci now.
.gitlab-ci.yml demo :
stages: - setup_dev_env smartide: stage: setup_dev_env image: name: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-cli:4475 entrypoint: [""] script: - smartide version - smartide start --mode pipeline --host <your dev/test env> --username <username> --password <password> --callback-api-address <callback api address> https://gitee.com/idcf-boat-house/boathouse-calculator.git
CI Logs Demo :
Can you use env-variable to replace the repo address to make this more general?
from smartide.
@ups216 we are supporting gitlab ci now.
.gitlab-ci.yml demo :stages: - setup_dev_env smartide: stage: setup_dev_env image: name: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-cli:4475 entrypoint: [""] script: - smartide version - smartide start --mode pipeline --host <your dev/test env> --username <username> --password <password> --callback-api-address <callback api address> https://gitee.com/idcf-boat-house/boathouse-calculator.git
CI Logs Demo :
Can you use env-variable to replace the repo address to make this more general?
@ups216 sure, check the new gitlab ci demo below.
variables:
#remote host information which you can deploy your dev workspace and open it in WebIDE
SMARTIDE_REMOTE_HOST: <remote dev/test env>
SMARTIDE_REMOTE_HOST_USERNAME: <host username>
SMARTIDE_REMOTE_HOST_PASSWORD: <host password>
#git repo you want to develop in smartide, you can use predefined variable $CI_REPOSITORY_URL
#for the URL to clone the current Git repository (the URL already contain token, so you dont need to
#consider Authentication problem, for custom git repo url, you need resolve authentication yourself with token or ssh..)
SMARTIDE_GIT_REPO_ADDRESS: $CI_REPOSITORY_URL
#callback api address which you want to receive workspace information and trigger other custom events
SMARTIDE_CALLBACK_API_ADDRESS: <callback api address>
stages:
- setup_dev_env
smartide:
stage: setup_dev_env
image:
name: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-cli:4475
entrypoint: [""]
script:
- smartide version
- smartide start --mode pipeline --isInsightDisabled false --host $SMARTIDE_REMOTE_HOST --username $SMARTIDE_REMOTE_HOST_USERNAME --password $SMARTIDE_REMOTE_HOST_PASSWORD --callback-api-address $SMARTIDE_CALLBACK_API_ADDRESS $SMARTIDE_GIT_REPO_ADDRESS
from smartide.
Related Issues (20)
- 通过私有部署 server 创建工作区(boathouse-calculator)后不能启动实例,一直显示“”部署中“”
- arm支持 HOT 3
- 如何搭建本地插件市场 HOT 1
- ruoyi-cloud版本部署有点问题 HOT 2
- 多打了个字?
- 删除xtp.xtp-docker 和linxiao.xtp-docker两个测试包 HOT 1
- web端是否支持 HOT 1
- 咨询一下,smartIDE 有支持IPv6 support的计划吗 HOT 1
- 安装问题 HOT 1
- Add workspace failed in smartIDE server , which is in deploy state. HOT 2
- Can I use smartIDE to debug the k8s cluster where the smart server is located? HOT 2
- 等待私有化部署
- 启动 Demo 项目失败
- smartide在iPad的浏览器中运行ipynb文件有问题 HOT 12
- 打开页面提示获取失败 HOT 1
- [BUG] Incorrect break when list all docker container
- SmartIDE Server 的 团队基础版 功能是开源而且免费的
- 新增工作区 报错误 HOT 1
- 工作区新增工作区一直处于部署状态 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartide.