3 Star 0 Fork 0

mirrors_rancher/opni-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.drone.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
dronekind: pipeline
name: plugin-tag
trigger:
event:
- tag
branch:
- plugin
platform:
os: linux
arch: amd64
steps:
- name: plugin-clone
image: alpine/git
commands:
- cd ..
- git clone -b 1.3 --single-branch https://github.com/opensearch-project/OpenSearch-Dashboards.git OpenSearch-Dashboards
- mkdir -p OpenSearch-Dashboards/plugins/opni-dashboards-plugin
- mv src/* OpenSearch-Dashboards/plugins/opni-dashboards-plugin
- mv OpenSearch-Dashboards src/OpenSearch-Dashboards
- name: plugin-zip
image: node:10
commands:
- printf "justauselesspword\njustauselesspword\ny\n" | adduser osd
- echo "y\n"
- usermod -aG sudo osd
- chmod -R 777 OpenSearch-Dashboards
- cd OpenSearch-Dashboards
- su -c "yarn osd bootstrap" osd
- cd plugins/opni-dashboards-plugin
- su -c "yarn install" osd
- su -c "yarn build" osd
- su -c "ls build" osd
---
kind: pipeline
name: docker-tag
trigger:
event:
- tag
branch:
- main
platform:
os: linux
arch: amd64
steps:
- name: docker-image
image: plugins/docker
settings:
dockerfile: product/opni/Dockerfile
tag: ${DRONE_TAG}
repo: rancher/opni-ui
username:
from_secret: docker_username
password:
from_secret: docker_password
---
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_rancher/opni-ui.git
git@gitee.com:mirrors_rancher/opni-ui.git
mirrors_rancher
opni-ui
opni-ui
main

搜索帮助