Compare commits

...

68 Commits

Author SHA1 Message Date
jasder e9f7957884 Update .trustie-pipeline.yml 2021-06-25 13:45:36 +08:00
jasder 3595d3e2e9 Update .trustie-pipeline.yml 2021-06-25 13:45:05 +08:00
jasder 11a91d062f 修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips修改tips 2021-06-21 17:45:22 +08:00
jasder 2aea0aba15 Addnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.htmlAddnew.html 2021-06-21 17:29:41 +08:00
jasder 617fb777e0 Add pr.html 2021-06-18 16:42:46 +08:00
jasder e6752308ae 添加 'caishi.html1' 2021-06-18 16:26:05 +08:00
jasder 15d5904df9 update file 2021-06-18 11:37:25 +08:00
jasder d77db8c275 fix 2021-05-21 14:28:48 +08:00
jasder a852764a43 Update '.trustie-pipeline.yml' 2021-01-20 14:54:41 +08:00
jasder fc83612374 fa 2020-12-18 09:10:38 +08:00
jasder 6dcedf3cb3 fff 2020-11-27 11:40:34 +08:00
jasder b65975c535 ggg 2020-11-27 11:27:32 +08:00
jasder e029b06cb4 fix md 2020-11-23 18:38:42 +08:00
jasder adbe5d2519 f 2020-11-23 18:18:54 +08:00
jasder 9314b3f669 FIX change markdown 2020-11-23 18:17:40 +08:00
jasder 31a85209b8 ffff 2020-10-16 11:32:40 +08:00
jasder 30af0e5234 delete 'puts' method 2020-10-16 09:58:05 +08:00
jasder afb9bb50a8 add puts method 2020-10-16 09:57:20 +08:00
jasder b111572750 add puts 2020-10-16 09:55:11 +08:00
jasder 5d885d5226 delete 2020-10-15 17:53:45 +08:00
jasder d9516030e6 FIX code bug 2020-10-15 17:25:40 +08:00
jasder 7327f4ceda 更新 '.trustie-pipeline.yml' 2020-09-28 22:25:57 +08:00
jasder 42cb21ad32 add put method 2020-09-28 15:49:15 +08:00
jasder dca3dd5254 Update '.trustie-pipeline.yml' 2020-09-28 11:55:32 +08:00
jasder 661127106e test 2020-09-26 10:51:14 +08:00
jasder afbe914036 test 2020-09-23 19:27:26 +08:00
jasder 2da66d6634 test 2020-09-23 10:19:47 +08:00
jasder 8c40ecb096 ff 2020-09-11 16:17:52 +08:00
jasder 3f8942828f c 2020-09-11 15:59:30 +08:00
jasder 5a3d50a441 delete 2020-09-11 15:58:19 +08:00
jasder 49cfa0d312 add 2020-09-11 14:36:23 +08:00
jasder 3a2f41a456 test what 2020-09-11 11:47:15 +08:00
jasder 2d98086f0d good luck 2020-09-11 10:25:17 +08:00
jasder c1dca57802 cai 2020-09-11 10:21:56 +08:00
Jasder 50366bddf9 Merge branch 'master' of http://testgitea2.trustie.net/jasder/forgeplus 2020-07-31 16:20:58 +08:00
Jasder 2df6b66573 ADD test.rb file 2020-07-31 16:20:38 +08:00
jasder f5311b6c0a FIX code review 2020-07-24 17:34:50 +08:00
jasder b08fcbd0a3 Upate file 2020-07-24 17:34:03 +08:00
jasder 575294361a ADD a file for test devops 2020-07-24 17:30:44 +08:00
jasder 2dad9dc99d Update '.trustie-pipeline.yml' 2020-07-24 15:51:35 +08:00
jasder ba7f7bd89f fffffffff 2020-07-24 14:51:15 +08:00
jasder 5e52ce51a2 更新 '.trustie-pipeline.yml' 2020-07-21 15:49:46 +08:00
jasder 5e7c6f7dfd 更新 '.trustie-pipeline.yml' 2020-07-21 15:24:50 +08:00
jasder c8c1a362e8 更新 '.trustie-pipeline.yml' 2020-07-21 15:15:49 +08:00
jasder 96cc2a85c7 更新 '.trustie-pipeline.yml' 2020-07-21 15:02:01 +08:00
Jasder f8e34c88ea Fix add puts method 2020-07-21 14:26:04 +08:00
Jasder f099e8c385 FIX add file for test gitea webhook 2020-07-21 13:45:55 +08:00
Jasder e31f9fd9f6 FIX delete file 2020-07-21 13:44:39 +08:00
Jasder 0e8d3f8787 FIX delete file 2020-07-21 12:57:06 +08:00
Jasder a2d7f1c0e9 FIX delete file 2020-07-21 12:44:54 +08:00
Jasder bbb4a1ae5c Merge branch 'master' of http://testgitea2.trustie.net/jasder/forgeplus 2020-07-21 12:42:35 +08:00
Jasder 8d7916b329 FIX test webhook 2020-07-21 12:38:48 +08:00
jasder 7e275ca9b4 更新 '.trustie-pipeline.yml' 2020-07-20 23:18:48 +08:00
jasder d1090dc9bf update .trustie-pipeline.yml 2020-07-20 22:12:02 +08:00
jasder aea73431af update .trustie-pipeline.yml 2020-07-20 22:08:13 +08:00
jasder e4c22f4836 更新 '.trustie-pipeline.yml' 2020-07-20 21:53:40 +08:00
jasder 5294e9cdfc 更新 '.trustie-pipeline.yml' 2020-07-20 21:51:38 +08:00
jasder 4ab94fc894 更新 '.trustie-pipeline.yml' 2020-07-20 21:46:32 +08:00
jasder 07c92153a4 更新 '.trustie-pipeline.yml' 2020-07-20 21:44:25 +08:00
jasder 3387836435 更新 '.trustie-pipeline.yml' 2020-07-20 21:40:40 +08:00
jasder 745951024c 更新 '.trustie-pipeline.yml' 2020-07-20 21:34:38 +08:00
Jasder afca322c22 fsfsfff 2020-07-20 18:36:11 +08:00
Jasder 77c009c747 fsfs 2020-07-20 18:08:10 +08:00
Jasder a530ab3559 Delete file for test devops 2020-07-20 17:56:50 +08:00
Jasder dd679e1ba9 ADD file for test devops 2020-07-20 17:47:26 +08:00
jasder 63f725a31d fix devops 2020-07-20 17:01:46 +08:00
jasder d78b65fff1 add devops file 2020-07-20 16:29:05 +08:00
jasder 4dede97382 Update 'README.md' 2020-04-01 11:18:46 +08:00
10 changed files with 74 additions and 5 deletions

34
.trustie-pipeline.yml Normal file
View File

@ -0,0 +1,34 @@
#pipeline
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
# 构建Docker镜像并推送到仓库
# 定义镜像Hub路径以及账号密码
- name: Docker镜像构建
image: plugins/docker
settings:
username: username
password: pwd
repo: repoUrl
tags: latest
- name: golang编译
image: golang
commands:
- go build
# 根据实际情况修改主机ip、账号、密码
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板)
- name: 远程主机部署
image: appleboy/drone-ssh
settings:
host: 192.168.1.1
username: username
password: 'pasword'
port: 22
commands:
- chmod +x /home/deploy.sh
- ./home/deploy.sh

View File

@ -1,13 +1,14 @@
----
# 本地开发部署步骤
# 本地开发部署步骤 # 本地开发部署步骤
#### 1. 安装依赖包 #### 1. [安装依赖包](#安装依赖包)
```bash ```bash
bundle install bundle install
``` ```
#### 2. 配置初始化文件 #### 2. [配置初始化文件](#配置初始化文件)
进入项目根目录执行一下命令: 进入项目根目录执行一下命令:
```bash ```bash
@ -23,7 +24,8 @@ touch config/elasticsearch.yml
rails db:create rails db:create
``` ```
#### 4. 导入数据表结构 #### 4. [导入数据表结构](#配置初始化文件)
<span id = "配置初始化文件">导入数据表结构</span>
```bash ```bash
bundle exec rake sync_table_structure:import_csv bundle exec rake sync_table_structure:import_csv
@ -46,7 +48,15 @@ http://localhost:3000/projects
``` ```
--- ---
## <a name='TableOfContent'> Table of Content </a>
[1. Anchors](#Anchors)
[2. Block Elements](#BlockElements)
## <a name="Anchors"> 1. Anchors </a>
See [Table of Content](#TableOfContent) above.
## <a name="BlockElements"> 2. Block Elements </a>
---
# API文档 # API文档
@ -1998,7 +2008,7 @@ http://localhost:3000/api/18816895620/mirror_demo/contents/files/delete | jq
"author": { "author": {
"name": "18816895620", "name": "18816895620",
"email": "2456233122@qq.com", "email": "2456233122@qq.com",
"date": "2020-01-08T07:57:34Z" "date": "2020-01-08T07:57:39Z"
}, },
"committer": { "committer": {
"name": "18816895620", "name": "18816895620",

4
caishi.html Normal file
View File

@ -0,0 +1,4 @@
caicai
caicai
caicai
good luck

0
caishi.html1 Normal file
View File

1
dzadsa.ttt Normal file
View File

@ -0,0 +1 @@
sdfsdfsf

4
new.html Normal file
View File

@ -0,0 +1,4 @@
<html>
<head></head>
<body></body>
</html>

1
pr.html Normal file
View File

@ -0,0 +1 @@
fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj

7
test.rb Normal file
View File

@ -0,0 +1,7 @@
def test
puts "test1f"
puts "fff"
end

3
test_devops.rb Normal file
View File

@ -0,0 +1,3 @@
def test_devops
puts "This is good idea."
end

5
test_webhook.rb Normal file
View File

@ -0,0 +1,5 @@
def test_r
puts "fsaf"
puts "success"
end