Local Dry Run Guide
Overview
This document describes how to execute PAS-X verification tasks locally using the PAS-X tools container without triggering the installation workflow.
All executions are performed via the PAS-X CLI inside a Docker container and produce structured verification results in the configured workspace.
Execution Model
All verification runs follow a standardized execution flow:
-
A Docker container is started via
docker run -
Required input files are mounted into the container
-
A local workspace directory is mounted for verification results and generated artifacts
-
The PAS-X CLI executes verification tasks inside the container
PAS-X Tools Container
The PAS-X tools container image name is:
io.pasx.mes.install.tools-container
The full image reference depends on the registry and repository where the image is available. Use the following format:
<registry>/<repository>/io.pasx.mes.install.tools-container:<tools-container-version>
The registry and repository path must point to a location from which the host running the dry run can pull and execute the image. The version tag must match the PAS-X tools container version that should be used for the verification.
Workspace Layout
All files inside the container are managed under a single workspace directory, which is used for both inputs and outputs:
/deployment/workspace
Recommended structure:
/deployment/workspace
├── input/
│ ├── mes-applications-values.yaml
│ └── kubeconfig
└── output/
└── <verification-results>
System Configuration
The system configuration file contains all configuration data required for verification execution.
The configuration structure is documented in the MES Applications Values Schema documentation.
|
The |
The following configuration sections are consumed during verification execution:
-
System Configuration - Environment Settings: Required environment-specific settings used by the verification checks.
-
System Configuration - Verification Settings: Configuration of enabled and disabled verification checks.
The system configuration is provided to the tools container as a mounted file:
/deployment/workspace/input/mes-applications-values.yaml
Prerequisites
The following prerequisites must be fulfilled before executing verification tasks with the PAS-X tools container.
Software
| Component | Description |
|---|---|
Docker |
Docker must be installed and running on the host system executing the dry run. |
PAS-X Tools Container Image |
Access to the PAS-X tools container image is required. The image must be reachable from the configured container registry and executable on the host system. See PAS-X Tools Container for details. |
Configuration Files
| File | Description |
|---|---|
|
System configuration file containing the verification configuration and environment-specific settings required for execution. See System Configuration for details. |
kubeconfig |
Kubernetes configuration file used by the tools container to access the target Kubernetes cluster during verification execution. The kubeconfig must have the correct target cluster set as the current active context, as the verification execution uses the active context defined in the provided kubeconfig. |
Pre-Installation Verifications
The section focuses on dry-run execution scenarios, which are used to verify system readiness prior to installation activities. For available verification checks that may be executed before installation, see Pre-Installation Verifications.
Environment Readiness Verification
The Environment Readiness Verification checks whether a target environment is prepared for installation.
The verification is executed based on the provided System Configuration.
Execution Behavior
The execution behavior corresponds to the execution model used in an Argo Workflow-based installation.
This means that some verifications are executed directly on the local host where the tools container is running, while other checks are executed as Kubernetes Jobs on the cluster nodes.
The available checks, selection rules, required configuration fields, and the assignment of which checks are executed locally versus in the cluster are documented in Environment readiness verifications.
Execution Example
docker run -it --rm \
-v <path-to-workspace>:/deployment/workspace/output \
-v <path-to-mes-applications-values.yaml>:/deployment/workspace/input/mes-applications-values.yaml \
-v <path-to-kubeconfig-file>:/deployment/workspace/input/kubeconfig \
-e KUBECONFIG=/deployment/workspace/input/kubeconfig \
-e SYSTEMCONFIGURATION_VERIFICATION_EXECUTION_TOOLSIMAGE=<tools-container-image>:<tools-container-version> \
<tools-container-image>:<tools-container-version> \
pasx environment readiness \
--verification-type all \
--operation install \
--store-result \
--verification-file=/deployment/workspace/input/mes-applications-values.yaml \
--workspace-dir=/deployment/workspace/output/verification
Placeholder Explanation
The placeholders must be replaced with actual values:
| Placeholder | Description |
|---|---|
|
Local directory that is mounted as the workspace output location inside the container. It is used by the PAS-X CLI to store all verification results and generated artifacts. No input files are written to this directory by the container. |
|
System configuration file containing all required input configuration for the verification execution. See System Configuration for details on the required configuration fields and their meaning. |
|
kubeconfig file used for Kubernetes cluster access during cluster-based verification execution. The kubeconfig must have the correct target cluster set as the current active context, as the verification execution uses the active context defined in the provided kubeconfig. |
|
Full image reference of the PAS-X tools container without the version tag, using the format See PAS-X Tools Container for details on the image reference format and required registry access. |
|
Current PAS-X tools container version. This must be replaced with the exact released image tag used for execution. See PAS-X Tools Container for details on the image reference format and required registry access. |
|
The tools container version is important because different releases may contain changes in verification logic or supported features. |
Verification Report
The PAS-X CLI writes result of the verification to the configured workspace directory.
For the example above, the result is available at <path-to-workspace>.
The generated file name follows this pattern:
environment-readiness-<timestamp>-<id>.yaml
The file contains a technical YAML representation of the verification execution. It includes the verification phase, one execution record for each executed check, timestamps, result status, node information for node-scoped checks, and the technical result message.
id: "environment-readiness"
phase: "PRE_INSTALLATION_VERIFICATION_PHASE"
executionRecords:
- id: "verify-nodes-are-in-ready-status"
name: "Nodes availability and readiness"
nodeName: null
order: 1
result: "PASSED"
message: "All nodes in the cluster are in 'Ready' status: ..."
- id: "database-connection-test"
name: "Database connectivity on node '<node-name>'"
nodeName: "<node-name>"
order: 100
result: "PASSED"
message: "PostgreSQL connection successful."
additionalInformation: {}
The result file is intended for technical verification, troubleshooting, and traceability purposes. For user-facing reporting during workflow-based installation, see Installation Report Content.