Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Comprehensive automated testing and validation pipeline that runs on every push

#### **Environment Configuration**

- **Python**: 3.14.0
- **Python**: 3.14.6
- **Terraform**: 1.14.6
- **Kubectl**: v1.34.2
- **Operating System**: Ubuntu 24.04
Expand Down Expand Up @@ -348,7 +348,7 @@ Controlled release management system that allows manual version bumping and rele

#### **Environment Configuration**

- **Python**: 3.14.0
- **Python**: 3.14.6
- **Semver Package**: 3.0.4
- **Operating System**: Ubuntu 24.04

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ on:

# Environment variables for consistent tool versions
env:
PYTHON_VERSION: '3.14.0' # Python version for semantic versioning
PYTHON_VERSION: '3.14.6' # Python version for semantic versioning (semver_packages.python_version)
SEMVER_PYTHON_PACKAGE_VERSION: "3.0.4" # Specific semver package version

# Required permissions for release operations
Expand Down
2 changes: 1 addition & 1 deletion docs/MANUAL_RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ The manual release workflow is located at:

| Variable | Description | Default |
|----------|---------------------------------------------------------------------------------------------|--------|
| `PYTHON_VERSION` | Python [version](https://www.python.org/doc/versions/) used | `3.14.0` |
| `PYTHON_VERSION` | Python [version](https://www.python.org/doc/versions/) used | `3.14.6` |
| `SEMVER_PYTHON_PACKAGE_VERSION` | Version of the PyPi ["semver"](https://pypi.org/project/semver/) package to use | `3.0.4` |

### Secrets
Expand Down
16 changes: 16 additions & 0 deletions tests/bats/contract-tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ _all_tf_output_names() {
[[ "$output" == *"$yaml_ver"* ]]
}

@test "CONTRACT: manual-releases workflow PYTHON_VERSION matches versions.yaml semver_packages" {
if ! command -v yq >/dev/null 2>&1; then skip "yq not installed"; fi
local yaml_ver
yaml_ver=$(yq eval '.semver_packages.python_version.current' "$VERSIONS_FILE")
run grep "PYTHON_VERSION:" "${PROJECT_ROOT}/.github/workflows/manual-releases.yml"
[[ "$output" == *"$yaml_ver"* ]]
}

@test "CONTRACT: warp CI workflow PYTHON_VERSION matches versions.yaml semver_packages" {
if ! command -v yq >/dev/null 2>&1; then skip "yq not installed"; fi
local yaml_ver
yaml_ver=$(yq eval '.semver_packages.python_version.current' "$VERSIONS_FILE")
run grep "PYTHON_VERSION:" "${PROJECT_ROOT}/warp/.github/workflows/ci.yml"
[[ "$output" == *"$yaml_ver"* ]]
}

@test "CONTRACT: CI workflow TERRAFORM_VERSION matches versions.yaml" {
if ! command -v yq >/dev/null 2>&1; then skip "yq not installed"; fi
local yaml_ver
Expand Down
2 changes: 1 addition & 1 deletion warp/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ permissions:

# Environment variables for consistent tool versions across all jobs
env:
PYTHON_VERSION: '3.14.0' # Python version (matches main CI/CD workflow)
PYTHON_VERSION: '3.14.6' # Python version (matches versions.yaml semver_packages.python_version)
WARP_DIR: 'warp' # Warp project directory

jobs:
Expand Down
Loading