Resources provide the information that steps need in order to execute or store information generated by a step. For example, a resource might point to a source code repository, a Docker image, or a Helm chart. A list of all supported resources is available in Resources overview.
The basic format of each
resources declaration is:
A globally unique friendly name for the resource.
A predefined string that specifies the type of resource.
For more information, see Resource Types.
Begins the section of settings required by the resource
Resource definitions are global and can be used by all pipelines in a Project that is in at least one of the same environments. This means that resource names must be unique across all pipeline config files in a Project.
resources: - name: my_Git_Repository type: GitRepo configuration: gitProvider: my_GitHub_Integration path: ~johndoe/demo branches: include: master - name: my_Docker_Image type: Image configuration: registry: my_Docker_Registry_Integration imageName: johndoe/demo_image imageTag: latest