Skip to content

Commit

Permalink
Merge pull request #230 from apecloud/support/apecloud_api
Browse files Browse the repository at this point in the history
chore: adjust run cloud server way
  • Loading branch information
linghan-hub authored Nov 28, 2023
2 parents f99cffd + ba9426f commit b12c2ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test-cloud-k3s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ jobs:
go mod tidy
touch ./cn.env
echo "${{ env.CLOUD_CN_ENV }}" > ./cn.env
cat << EOF > run.sh
#!/bin/bash
while IFS='=' read -r name value
do
if [[ ! $name =~ ^\# && -n $name ]]; then
Expand All @@ -151,6 +153,9 @@ jobs:
done < ./cn.env
echo "DSN:"$DSN
nohup make run > ./make_run.log 2>&1 &
EOF
chmod +x run.sh
./run.sh
times=1
while true; do
if [[ $times -gt 600 ]]; then
Expand Down

0 comments on commit b12c2ac

Please sign in to comment.