OpenSSL source code is made available via openssl.org/source or the artfiles.org mirror. This Concourse resource allows you to watch for new releases and fetch them.
You can use the Docker image by defining a resource type in your pipeline YAML definition.
For example:
resource_types:
- name: openssl-source-code
type: docker-image
source:
repository: gstack/openssl-source-code-resource
resources:
- name: openssl-tarball
type: openssl-source-code
source:
family: "1.1.1"
To get the latest OpenSSL v1.1.1 tarball, use such following get step in
your job's build plan.
jobs:
- name: compile
plan:
- get: openssl-tarball
# ...
family: Required. The OpenSSL version family, like 3.0 or 1.1.1
(recommended), or the non-recommended 1.1.0, 1.0.2, 1.0.1, 1.0.0,
0.9.8, 0.9.7 and 0.9.6.check Step (check script): Check for new release versionsGet the latest version of OpenSSL source code in the defined version family.
get Step (in script): Fetch releaseDownloads the source code tarball for a version.
Also creates these files in the output artifact directory:
version file with the current versionfamily file with the version familysha256 file with the SHA256 checksum from OpenSSL site (already verified at
download by the resource)Whenever the sha256 is not provided by the openssl.org download site, then
sha1 is tried and checked, then md5. Which fingerprint is checked is
detailed in the resource logs, and related files are kept in the output artifact
directory. When non is ab-vailable, the resource fails. Whenever the sha256
file is missing, it is computed from the downloaded file, in order to honor the
resource contract.
put Step (out script): Not implementedUploading a new OpenSSL source code tarball is not possible.
Copyright © 2021-present, Benjamin Gandon, Gstack
Like Concourse, the OpenSSL source code resource is released under the terms of the Apache 2.0 license.
Content type
Image
Digest
sha256:207a36d5a…
Size
7.5 MB
Last updated
about 1 year ago
docker pull gstack/openssl-source-code-resource