drone-plugins / drone-ansible

Drone plugin to provision via Ansible
http://plugins.drone.io/drone-plugins/drone-ansible
Apache License 2.0
30 stars 41 forks source link

Integrate starlark and latest windows version #24

Closed tboerger closed 4 years ago

tboerger commented 4 years ago

This is the reference implementation for the plugin org.

appleboy commented 4 years ago

cloud.drone.io support build in windows now?

bradrydzewski commented 4 years ago

cloud.drone.io support build in windows now?

@appleboy drone supports a new type of agent called an ssh agent. The ssh agent executes a pipeline on a remote server that you provide using ssh. The ssh agent supports windows, linux and any posix compliant operating system.

For example:

kind: pipeline
type: ssh
name: default

server:
  host: <your server address>
  user: <your username>
  password: <your password>

steps:
- name: build
  commands:
  - go build
  - go test

The agent uses the ssh protocol to clone the repository and commit on your remote server and executes the commands defined in your pipeline steps on your remote server.

appleboy commented 4 years ago

@bradrydzewski Look good. Andy documents about all kind of type in drone ?

bradrydzewski commented 4 years ago

I have been working on the documentation (on and off) for the past couple of weeks. I am hoping to publish something early next week.

tboerger commented 4 years ago

As discussed with brad I will remove the support for windows 1803 as we anyway don't have any runner for it

appleboy commented 4 years ago

@tboerger build fail.

tboerger commented 4 years ago

This PR is blocked until we got the credentials setup. The generated .drone.yml got to be generated with drone script --source .drone.starlark --format=false, otherwise the ssh runner credentials are stripped out, we can drop the generated .drone.yml directly after Drone introduces server-side support for starlark.