A Concourse resource for the Apache directory index page
1M+
A Concourse resource for the Apache Directory Index.
resource_types:
- name: apache-directory-index
type: docker-image
source:
repository: mastertinner/apache-directory-index-resource
resources:
- name: tomcat-8
type: apache-directory-index
source:
directory: https://archive.apache.org/dist/tomcat/tomcat-8/
folder_pattern: v$VERSION
file_pattern: bin/apache-tomcat-$VERSION.tar.gz
expand: true
directory is the path of where the your versioned folders residefolder_pattern describes the pattern of how the folders are named (use $VERSION as a placeholder for the version)file_pattern describes the pattern of where the file resides and how it's named (use $VERSION as a placeholder for the version)expand if true the the downloaded file will be expanded into the expanded directory.Important: Your version needs to follow the version_pattern defined in <scripts/check> (e.g. 1.2.3-beta.4).
check: Check for new versionsChecks if there are new versions of the source.
in: Download a versionPlaces the following files in the destination:
(filename): The file fetched from the directory indexurl: Contains the URL of the downloaded fileversion: The version identified in the file nameexpanded: The expanded file contentsjobs:
- name: download-tomcat-8
plan:
- get: tomcat-8
trigger: true
Content type
Image
Digest
Size
7.7 MB
Last updated
over 5 years ago
docker pull mastertinner/apache-directory-index-resource