无人机无法收到gitea的推送事件

时间:2019-06-28 06:17:58

标签: docker

Drone无法收到gitea的推送事件

我怀疑Drone的安装配置错误

我尝试了多次推送代码,但无法接收推送事件并完成构建。

Drone安装配置:

  

docker run --volume = / var / run / docker.sock:/var/run/docker.sock
  --volume = / var / lib / drone:/ data --env = DRONE_GITEA_SERVER = https://git.xxx.com:3000 --env = DRONE_GIT_ALWAYS_AUTH = false --env = DRONE_SERVER_HOST = xx.xx.xx.xx:8000 --env = DRONE_RUNNER_CAPACITY = 2 --env = DRONE_SERVER_PROTO = http --env = DRONE_TLS_AUTOCERT = false --publish = 8000:80 --publish = 4430:443 --restart = always --detach = true --name = drone无人机/无人机: 1

.drone.yml

kind: pipeline
name: chasing-test

steps:
- name: install
  image: composer
  commands:
  - composer install

- name: test
  image: php:7.1
  commands:
  - ls -al
  - vendor/bin/codecept run
  when:
    branch:
    - dev_unit
    event:
    - push

我不知道我怎么了。

0 个答案:

没有答案