Global InfraGlobal Infra Cloud

Assets

Asset reference for Artifactory.

Edit

This page documents the following assets:

  • Remote Repository — Represents a remote repository — a proxy in front of a third-party upstream (public registry, vendor mirror, …). When upstream authentication is needed, prefer pointing vault_secret_id at a secret asset that carries the username / password entries instead of inlining them as plain attributes.

  • Repository — Represents a repository in Artifactory

Remote Repository

Represents a remote repository — a proxy in front of a third-party upstream (public registry, vendor mirror, …). When upstream authentication is needed, prefer pointing vault_secret_id at a secret asset that carries the username / password entries instead of inlining them as plain attributes.

Schema

The following properties describe a Remote Repository:

PropertyTypeDescription
assumed_offline_period_seconds
integerWindow after which the upstream is considered offline (default 300).
block_mismatching_mime_types
booleanReject upstream responses whose MIME type doesn't match the expected format.
bypass_head_requests
booleanSkip HEAD requests against the upstream (workaround for non-compliant proxies).
description
stringFree-form description of the repository.
disable_proxy
booleanWhen true, force the remote to bypass any proxy even if proxy is set.
docker_options
objectDocker-specific options. Ignored when package_type != docker.
excludes_pattern
stringArtefact exclude pattern. Defaults to empty.
hard_fail
booleanWhen true, a 5xx from the upstream is propagated as a hard failure.
includes_pattern
stringArtefact include pattern. Defaults to **/* when omitted.
key
Computed
stringFully qualified repository key. Computed at create time.
list_remote_folder_items
booleanAllow browsing of upstream folders. Anti-DoS recommendation: keep false.
maven_options
objectMaven/Gradle-specific options. Ignored when package_type is neither maven nor gradle.
missed_retrieval_cache_period_seconds
integerNegative-result cache TTL in seconds (default 1800).
name
Required
stringShort repository name (e.g. `adoptium`, `centos`, `pypi-public`).
Examples:adoptium
offline
booleanWhen true, the remote serves only its cache (no upstream fetch).
package_type
Required
stringPackage type stored in this repository (rpm, npm, docker, maven, ...).
password
stringPassword used to authenticate against the upstream URL.
proxy
stringRegistered outbound proxy key (e.g. proxy-infra) to use for upstream calls.
repo_layout_ref
stringRepository layout reference. Auto-discovered from package_type when omitted.
retrieval_cache_period_seconds
integerMetadata TTL in seconds (default 7200).
rpm_options
objectRPM-specific options. Ignored when package_type != rpm.
scope
Required
stringScope tag appended to the key (dev / ci / release).
socket_timeout_millis
integerConnection timeout in milliseconds (default 15000).
store_artifacts_locally
booleanWhen true, fetched artefacts are cached locally (default true).
synchronize_properties
booleanPropagate repository properties to the upstream when caching.
url
Required
stringUpstream URL proxied by this remote repository (e.g. https://repo1.maven.org/maven2).
Examples:https://repo1.maven.org/maven2
username
stringUsername used to authenticate against the upstream URL.
vault_secret_id
stringOptional secret asset id whose `username` / `password` entries are read at create time and applied to this remote. Takes precedence over the inline username/password fields when both are set.

Examples


Repository

Represents a repository in Artifactory

Schema

The following properties describe a Repository:

PropertyTypeDescription
key
Required
stringThe unique identifier for the repository.
package_type
Required
stringThe type of packages stored in this repository (e.g., maven, npm, docker, rpm).
type
Required
stringThe type of the repository (e.g., local, remote, virtual).
url
stringThe URL endpoint of the repository.

Examples

On this page