ibmyes's People
Forkers
kimigood inpowerchiu ywhh8210 jeff7129 blueplanet20120 zyrise zhaiyuanhou dtyang769 huyan985 lookibm007 hopelee8964 beautifulhsb jacklee2020 fangshanwei2020 bestfun88 dvdfans winorlose4 wanxyer hexibao qymm2020 castiellian pandy003 xhack911 cnxzp angelamo1 wunai203 bigwang2021 kkxx3388 sxw2010 dalezi0915 plybb landenzhang kk38qwer he88ming crosspace luckyreny cztwf folkss lizhunxin sylanlee jiaci369 zlsf9 llldc666 xg1716271 stevenyang69 lijing1216 nayrauw ly19811105 zhouliming11 yt524 stren-top sjqboss2020 higithub2025 frosty008 abombsex agenting2020 ch0502xgw mwygfhvk yeqingyuefan cailu541 jtl201979 mason-wei chenwangnec yx0037 hmily1010 speedmrl lzzyes jamesd7212 wukonggt hnjjw mayuri404 frankiezhou7 liyao663 wgh7612 true2016 xnxy2022 king4107 yifan2378 dahuilanggit my7816004 a1314151617 qttlzbcc tonyoki cicil2020 stonexp fiverg gosocn lz0423 gaohxzy0823 ckteasina fang2022 atu6688 shenjingmuma lili205 simonyu135 hsb888 iulover yifan2323 mozixuan390 jacky023ibmyes's Issues
一个账号多APP部署的workflow修改问题
我试着修改了deploy.sh和ibm.yml,结果发现执行workflow之后更新了3遍app1,后面的app2和app3动都没动,请问大神还要修改哪些地方啊?
增加和修改的代码如下:
deploy.sh
mkdir -p $IBM_APP_NAME2
mkdir -p $IBM_APP_NAME3
cloudfoundry2 config
cp -rvf ./config/manifest.yml ./$IBM_APP_NAME2/
sed "s/IBM_APP_NAME/${IBM_APP_NAME2}/" ./$IBM_APP_NAME2/manifest.yml -i
sed "s/IBM_MEMORY/${IBM_MEMORY2}/" ./$IBM_APP_NAME2/manifest.yml -i
v2ray2 config
cp -vf ./config/v2ray ./$IBM_APP_NAME2/$IBM_APP_NAME2
cp -vf ./config/v2ctl ./$IBM_APP_NAME2/
{
echo "#! /bin/bash"
echo "wget https://raw.githubusercontent.com/$GITHUB_REPOSITORY/master/config/config.json"
echo "sed 's/V2_ID/$V2_ID2/' config.json -i"
echo "sed 's/V2_PATH/$V2_PATH2/' config.json -i"
echo "sed 's/ALTER_ID/$ALTER_ID2/' config.json -i"
} > ./$IBM_APP_NAME2/d.sh
chmod +x ./$IBM_APP_NAME2/d.sh
cloudfoundry3 config
cp -rvf ./config/manifest.yml ./$IBM_APP_NAME3/
sed "s/IBM_APP_NAME/${IBM_APP_NAME3}/" ./$IBM_APP_NAME3/manifest.yml -i
sed "s/IBM_MEMORY/${IBM_MEMORY3}/" ./$IBM_APP_NAME3/manifest.yml -i
v2ray3 config
cp -vf ./config/v2ray ./$IBM_APP_NAME3/$IBM_APP_NAME3
cp -vf ./config/v2ctl ./$IBM_APP_NAME3/
{
echo "#! /bin/bash"
echo "wget https://raw.githubusercontent.com/$GITHUB_REPOSITORY/master/config/config.json"
echo "sed 's/V2_ID/$V2_ID3/' config.json -i"
echo "sed 's/V2_PATH/$V2_PATH3/' config.json -i"
echo "sed 's/ALTER_ID/$ALTER_ID3/' config.json -i"
} > ./$IBM_APP_NAME3/d.sh
chmod +x ./$IBM_APP_NAME3/d.sh
cd ./$IBM_APP_NAME2
#echo "${BLUE}ibmcloud cf push${END}"
#$IBMCLOUD cf push
echo "${BLUE}cf push${END}"
$CF push
cd ./$IBM_APP_NAME3
#echo "${BLUE}ibmcloud cf push${END}"
#$IBMCLOUD cf push
echo "${BLUE}cf push${END}"
$CF push
if [ $? -ne 0 ]; then
echo "${BLUE}print error${END}"
$CF logs $IBM_APP_NAME --recent
$CF logs $IBM_APP_NAME2 --recent
$CF logs $IBM_APP_NAME3 --recent
exit 1
fi
ibm.yml
IBM_APP_NAME2: ${{ secrets.IBM_APP_NAME2 }}
IBM_MEMORY2: ${{ secrets.IBM_MEMORY2 }}
V2_ID2: ${{ secrets.V2_ID2 }}
V2_PATH2: ${{ secrets.V2_PATH2 }}
ALTER_ID2: ${{ secrets.ALTER_ID2 }}
IBM_APP_NAME3: ${{ secrets.IBM_APP_NAME3 }}
IBM_MEMORY3: ${{ secrets.IBM_MEMORY3 }}
V2_ID3: ${{ secrets.V2_ID3 }}
V2_PATH3: ${{ secrets.V2_PATH3 }}
ALTER_ID3: ${{ secrets.ALTER_ID3 }}
Errors when deploy
cf push===================================
Pushing from manifest to org *** / space dev as ***...
Using manifest file /home/runner/work/IBMYes-new/IBMYes-new/v2ray-cloudfoundry/manifest.yml
Getting app info...
Updating app with these attributes...
name: ***
path: /home/runner/work/IBMYes-new/IBMYes-new/v2ray-cloudfoundry
command: ./v2ray/v2ray
disk quota: 1G
health check type: port
instances: 1
memory: 256M
stack: cflinuxfs3
routes:
***.us-south.cf.appdomain.cloud
Updating app ***...
Mapping routes...
Comparing local files to remote cache...
Packaging files to upload...
Uploading files...
0 B / 1.28 KiB 0.00%
The app is invalid: Invalid application source code found
1.28 KiB / 1.28 KiB 100.00%FAILED
##[error]Process completed with exit code 1.
有误 修改字节执行不成功,无它方法了
Some error print when deploy actions
Run ./deploy.sh
./deploy.sh
shell: /bin/bash --noprofile --norc -e -o pipefail {0}
env:
IBM_ACCOUNT: ***
RESOURSE_ID:
IBM_APP_NAME: ***
IBM_MEMORY: ***
BIN_NAME: ***
V2_ID: ***
V2_PATH: ***
ALTER_ID: ***
Saved in /home/runner/.bluemix/tmp/cf_005572877/cf-cli_6.51.0_linux_x86-64.tgz
Installing Cloud Foundry CLI...
OK
Cloud Foundry CLI is successfully installed
cf login===================================
API endpoint: https://api.us-south.cf.cloud.ibm.com
Email: ***
Password:
Authenticating...
OK
Targeted org ***
Targeted space dev
API endpoint: https://api.us-south.cf.cloud.ibm.com (API version: 3.87.0)
User: ***
Org: ***
Space: dev
cf push===================================
Pushing from manifest to org *** / space dev as ...
Byte quantity must be a positive integer with a unit of measurement like M, MB, G, or GB
Using manifest file /home/runner/work/IBMYes-new/IBMYes-new//manifest.yml
FAILED
print error===================================
Retrieving logs for app *** in org *** / space dev as ***...
启用vless,VLESS_EN填什么?true会失败
启用vless,VLESS_EN填什么?true会失败
Actions后无法使用
APP/PROC/WEB bash: /app/htdocs/v2ray: No such file or directory
作者能否使用v2ray最新的Vless协议
谢谢
IBM爆了
机器启动不了,又爆炸了?
布署是不是还是用CCChieh的安装脚本,只是用这个进行IBM服务器定时重启呢?
readme里只写了ibmcloud的申请及项目建立,没有写如何部署v2ray的方法。
是不是部署v2ray还是用CCChieh的安装脚本,只是用这个进行IBM服务器定时重启呢?
Errors when deploy run the workflow at IBM cloud interface
类型
实例
日志
时间
APP/PROC/WEB 0 2020/09/09 04:00:43 Using config from env: /home/vcap/app/v2ray/config.json
2020年9月9日 下午12:00:43
APP/PROC/WEB 0 2020/09/09 04:06:36 Using config from env: /home/vcap/app/v2ray/config.json
2020年9月9日 下午12:06:36
After deploying secrets, what if actions is empty?
我actions那里为什么是空的,没有IBM deploy
actions报错
Installing Cloud Foundry CLI...
OK
Cloud Foundry CLI is successfully installed
cf login===================================
./deploy.sh: line 91: /home/runner/.bluemix/cfcli/cf: No such file or directory
./deploy.sh: line 99: /home/runner/.bluemix/cfcli/cf: No such file or directory
cf push===================================
print error===================================
./deploy.sh: line 103: /home/runner/.bluemix/cfcli/cf: No such file or directory
没有找到对应路径
Error IBM Cloud Deploy / deploy
154 Updating app ***...
155 Mapping routes...
156 Comparing local files to remote cache...
157 Packaging files to upload...
158 Uploading files...
159
160 The app is invalid: Invalid application source code found
161 0 B / 1.27 KiB 0.00%FAILED
162 ##[error]Process completed with exit code 1.
ibm cloud账号已被封
读不到仓库内config.json
2020-09-24T05:18:20.***6+0000 [APP/PROC/WEB/0] ERR --2020-09-24 05:18:20-- https://raw.githubusercontent.com/bk1412/***/master/config/config.json
2020-09-24T05:18:20.91+0000 [APP/PROC/WEB/0] ERR Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.232.8.133
2020-09-24T05:18:20.91+0000 [APP/PROC/WEB/0] ERR Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.232.8.133|:443... connected.
2020-09-24T05:18:20.99+0000 [APP/PROC/WEB/0] ERR HTTP request sent, awaiting response... 404 Not Found
2020-09-24T05:18:20.99+0000 [APP/PROC/WEB/0] ERR 2020-09-24 05:18:20 ERROR 404: Not Found.
2020-09-24T05:18:21.03+0000 [APP/PROC/WEB/0] ERR sed: can't read config.json: No such file or directory
2020-09-24T05:18:21.05+0000 [APP/PROC/WEB/0] ERR sed: can't read config.json: No such file or directory
2020-09-24T05:18:21.08+0000 [APP/PROC/WEB/0] ERR sed: can't read config.json: No such file or directory
Questions: Why BIN_NAME was removed?
Any impact to the IBM service?
Can u explain..
The app is invalid: Invalid application source code found
2020年9月26日21:07:36
几个小时前,我看到大佬的项目更新了,就拉了更新一下,然后就报错了.
好像是更严格了,我部署了三个项目作为一个负载均衡,三个都进行了最新的更新,
前两个都是好的,第三个就报错了,然后再执行了一次前两个,也都报错了.
The app is invalid: Invalid application source code found
***0.40 MiB / ***0.40 MiB ***00.00%FAILED
print cf push error===================================
Retrieving logs for app *** in org *** / space dev as ***...
2020-09-26T***:50:07.08+0000 [API/6] OUT Updated app with guid 0ff42e76-4ab-442-9ca0-b0cbda6b084 ({"buildpack"=>"binary_buildpack", "command"=>"[PRIVATE DATA HIDDEN]", "disk_quota"=>28, "health_check_http_endpoint"=>"", "health_check_type"=>"port", "instances"=>, "memory"=>256, "name"=>"***", "space_guid"=>"ee785de2-eb59-4be3-b48f-5f209663e382"})
Error: Process completed with exit code ***.
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.