test-ci
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
bb41c58cd0
commit
f3e8c3d1f7
10
.drone.yml
10
.drone.yml
|
@ -11,9 +11,13 @@ steps: # 定义管道的执行步骤
|
|||
- hostname
|
||||
- echo "********************"
|
||||
|
||||
# - name: "测试Python用例"
|
||||
# image: python:3.10
|
||||
|
||||
- name: "测试Python用例"
|
||||
image: "lzwang/python3.10:tsinghua"
|
||||
commands:
|
||||
- pip -V
|
||||
- python -V
|
||||
- date
|
||||
|
||||
|
||||
- name: "测试微信推送"
|
||||
# https://plugins.drone.io/plugins/wechat-2
|
||||
|
|
|
@ -27,11 +27,6 @@ RUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib
|
|||
&& echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free" >> /etc/apt/sources.list \
|
||||
&& echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free" >> /etc/apt/sources.list
|
||||
|
||||
# update apt packages
|
||||
RUN apt-get update -y && apt-get upgrade -y \
|
||||
&& apt-get install apt-utils -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# setup alias
|
||||
RUN echo "alias ll='ls -la'" >> /root/.bashrc
|
||||
|
||||
|
|
Loading…
Reference in New Issue