Replies: 1 comment
-
Yeah this page could be so much better: https://concourse-ci.org/implementing-resource-types.html If you want to get started quickly then I'd use another resource to start writing from. The mock resource is simple enough to parse and do your own stuff with: https://github.com/concourse/mock-resource
There are two ways to add resource types to your worker which are how you define the name/type of your resource type. 1 - Locally on the workerBasically following this guide: https://concourse-ci.org/concourse-worker.html#installing-or-upgrading-bundled-resource-types 2 - In your pipelinesThis way is faster since you don't have to do anything on the worker. You do need to build a container image of your resource type and push it somewhere that concourse can fetch it from. Then in the Example from this page: https://concourse-ci.org/resource-types.html#resource-types resource_types:
- name: rss
type: registry-image
source:
repository: suhlig/concourse-rss-resource
tag: latest
resources:
- name: booklit-releases
type: rss
source:
url: http://www.qwantz.com/rssfeed.php Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Hello! We are planning to use Concourse at our company. We will use it on FreeBSD, and use Fossil as VCS. So far so good, but I need to create a resource type for Fossil.
Unfortunately, the documentation is extremely sparse beyond saying "you need
check
,in
, andout
". Do these three files just need to be in the root of the repository?Also, what do I specify as
type
inresource_type
? Obviously, since we intend to run Concourse on FreeBSD, a Docker image is not an option.Beta Was this translation helpful? Give feedback.
All reactions