diff --git a/README.md b/README.md index 7adb825..6be13d1 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,41 @@ Where: - `` is the path to the file where to log the hash of the downloaded artifact. - `` is the path to the cache directory, where downloaded artifacts will be stored for future usage. If not specified, cache is disabled. +## Output + +### Package list + +The list of packages installed in the container, depending on the package managers, Git packages and other miscellaneous packages given in the config file, in the form of a CSV file, with the following columns in order: + +| Package name | Version | Package manager | + +For Git packages, the hash of the last commit is used as version number. For miscellaneous packages, the hash of the file that has been used to install the package is used as version number. + +### Log file + +Just a plain text file containing the output of the script. + +### Build status file + +The log of the failed attempts to build the Docker image, in the form of a CSV file, with the following columns in order: + +| Config file path | Timestamp | Reason category | + +The timestamp corresponds to when the error is being logged, not to when it happened. + +The following are the categories of reasons explaining why the building failed: +- "package_unavailable": A command requested the installation of a package that is not available. +- "baseimage_unavailable": The base image needed for this container is not available. +- "unknown_error": Any other error. + +### Artifact hash log + +The log of the hash of the artifact archive file, in the form of a CSV file, with the following columns in order: + +| Timestamp | Hash | + +The timestamp corresponds to when the hash has been logged, not to when the artifact has been downloaded. + ## License This project is licensed under the GNU General Public License version 3. You can find the terms of the license in the file LICENSE. \ No newline at end of file diff --git a/blacklists/blacklist.csv b/blacklists/blacklist.csv index 19a3b65..d213eb2 100644 --- a/blacklists/blacklist.csv +++ b/blacklists/blacklist.csv @@ -1 +1,2 @@ -template, IMAGE_NOT_FOUND, 0 +template, unknown_error, 0 +test, unknown_error, 0 \ No newline at end of file diff --git a/workflow/nickel/artifact_contract.ncl b/workflow/nickel/artifact_contract.ncl index 9b8d363..2ca511e 100644 --- a/workflow/nickel/artifact_contract.ncl +++ b/workflow/nickel/artifact_contract.ncl @@ -37,10 +37,7 @@ in | String, url | doc "URL of the package. Will be used to compute the hash" - | URL, - type - | doc "Type of the archive (zip, tar, ...)" - | ArchiveType, + | URL }, Artifact = { artifact_url