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
2 changes: 1 addition & 1 deletion COMPATIBILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Server v1.6.605 prepared, not published

Prepares Web Console **1.6.240** for native load-balancer upgrade and rollback.
Prepares Web Console **1.6.241** for native load-balancer upgrade and rollback.
Catalog Service **0.20.20**, Load Balancer Service **0.9.35**, Engine
**0.183.395**, persistent data and explicit operator settings retain their
existing contracts. No Server image identity or deployment acceptance is claimed.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ remains separate from the publication checks.

## Next source candidate

Server `v1.6.605` prepares Web Console `1.6.240` with the native load-balancer
Server `v1.6.605` prepares Web Console `1.6.241` with the native load-balancer
upgrade action so rollback retains the previous launch configuration. Its
[candidate note](docs/releases/server-1.6.605.md) records the component and
acceptance boundaries. Publication and affected UI acceptance are pending.
Expand Down
20 changes: 12 additions & 8 deletions docs/releases/server-1.6.605.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ pending. The Web Console input below is already officially published.

## Verified component inputs

Web Console [1.6.240](https://github.com/PastureStack/web-console/releases/tag/1.6.240)
is published immutably from `5064c9bb321f7e5553b0f2dbadeef9c2f3808b42` by
[exact-main producer 45305873761](https://github.com/PastureStack/web-console/actions/runs/45305873761).
Web Console [1.6.241](https://github.com/PastureStack/web-console/releases/tag/1.6.241)
is published immutably from `731f79004714150786b6e5e12d06683927a9d14e` by
[exact-main producer 45311119062](https://github.com/PastureStack/web-console/actions/runs/45311119062).
Its archive SHA-256 is
`51e7415bd2db0486c87018577a4adb2983bb5d3f8b84115d010ec8c65ddc496a`;
`ef9cc7c4b8828307c695d6d91d54356f0086bde354b0ec24d0b7f2a1d36b3ab8`;
the runtime SBOM SHA-256 is
`16c89bc7d7be37b9e3364c524888209990e32db1c7779f9f92e3eee78b8a0d1b`;
`35e7d656ca97e100a03eeea7eb6af9ad7c2e4adb6ecd78e553eb4305f8d1a08c`;
the dependency lock SHA-256 is
`53b08b5e041cfff204b94cdd0513a4b45235979db49f2643d4fef4e3464a66a8`.
`78113228da4436f01ad6c0f4561823dc76d1add75d0991bc2e1317622d63a9ff`.
The producer verified two matching builds and its SBOM/provenance attestations.
The Web CI suite passed 1164 tests, including twelve load-balancer save
regressions. These results do not establish an executed Server browser workflow.
The archive retains the existing `enabled` WebMCP ceiling with initial mode
`off`; the complete Server archive/SBOM identity verifier passed this profile
before consumption. Browser inventory coverage remains `incomplete`.
The unchanged Web application source retains the 1164-test qualification,
including twelve load-balancer save regressions. These source and artifact
results do not establish an executed Server browser workflow.

Engine v0.183.395, Catalog Service v0.20.20, Load Balancer Service v0.9.35,
Compose Executor 0.14.46 and the new-registration Agent v1.2.36 retain their
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrades/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ setting changes when its image is replaced.

### Native load-balancer upgrade and rollback

Server v1.6.605 prepares Web Console 1.6.240 with a corrected load-balancer
Server v1.6.605 prepares Web Console 1.6.241 with a corrected load-balancer
upgrade path; see its [candidate note](../releases/server-1.6.605.md) for
publication and acceptance status. The UI submits the replacement configuration
through the native service upgrade action, preserving the active launch
Expand Down
32 changes: 16 additions & 16 deletions scripts/check-server-api-explorer-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ require_marker "$release_dockerfile" \
SERVER_INCREMENTAL_RELEASE_BASE_MISSING
for web_sbom_release_marker in \
'COPY --chmod=0755 artifacts/verify-web-console-sbom.py /usr/local/bin/verify-web-console-sbom' \
'ARG WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=web-console-1.6.240-runtime.cdx.json' \
'ARG WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT=web-console-1.6.241-runtime.cdx.json' \
'"${WEB_CONSOLE_RUNTIME_SBOM_ARTIFACT}" "${WEB_CONSOLE_RUNTIME_SBOM_SHA256}" "${web_sbom}";' \
'--lock-sha256 "${WEB_CONSOLE_LOCK_SHA256}" --archive "${web_archive}"' \
'--webmcp-ceiling enabled;' \
Expand Down Expand Up @@ -631,22 +631,22 @@ require_marker "$publish_workflow" \
'bash source/server/artifacts/verify-host-api-package.sh' \
SERVER_HOST_API_PRODUCER_RELEASE_CHECK_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_RELEASE_TAG=1.6.240' \
'ARG WEB_CONSOLE_RELEASE_TAG=1.6.241' \
SERVER_INCREMENTAL_WEB_CONSOLE_VERSION_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.240.tar.gz' \
'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.241.tar.gz' \
SERVER_INCREMENTAL_WEB_CONSOLE_ARTIFACT_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_ARTIFACT_SHA256=51e7415bd2db0486c87018577a4adb2983bb5d3f8b84115d010ec8c65ddc496a' \
'ARG WEB_CONSOLE_ARTIFACT_SHA256=ef9cc7c4b8828307c695d6d91d54356f0086bde354b0ec24d0b7f2a1d36b3ab8' \
SERVER_INCREMENTAL_WEB_CONSOLE_HASH_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_COMMIT=5064c9bb321f7e5553b0f2dbadeef9c2f3808b42' \
'ARG WEB_CONSOLE_COMMIT=731f79004714150786b6e5e12d06683927a9d14e' \
SERVER_INCREMENTAL_WEB_CONSOLE_COMMIT_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_LOCK_SHA256=53b08b5e041cfff204b94cdd0513a4b45235979db49f2643d4fef4e3464a66a8' \
'ARG WEB_CONSOLE_LOCK_SHA256=78113228da4436f01ad6c0f4561823dc76d1add75d0991bc2e1317622d63a9ff' \
SERVER_INCREMENTAL_WEB_CONSOLE_LOCK_HASH_MISSING
require_marker "$release_dockerfile" \
'ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=16c89bc7d7be37b9e3364c524888209990e32db1c7779f9f92e3eee78b8a0d1b' \
'ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=35e7d656ca97e100a03eeea7eb6af9ad7c2e4adb6ecd78e553eb4305f8d1a08c' \
SERVER_INCREMENTAL_WEB_CONSOLE_SBOM_HASH_MISSING
require_marker "$release_dockerfile" \
"grep -aF 'hostsPage.permissionDenied'" \
Expand All @@ -655,22 +655,22 @@ require_marker "$release_dockerfile" \
'"hostsPage.permissionDenied":"您沒有權限在此環境中新增主機。"' \
SERVER_INCREMENTAL_WEB_CONSOLE_ZH_TW_PERMISSION_MESSAGE_MISSING
require_marker "$build_script" \
'web_console_commit=${WEB_CONSOLE_COMMIT:-5064c9bb321f7e5553b0f2dbadeef9c2f3808b42}' \
'web_console_commit=${WEB_CONSOLE_COMMIT:-731f79004714150786b6e5e12d06683927a9d14e}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_COMMIT_MISSING
require_marker "$build_script" \
'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.240}' \
'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.241}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_VERSION_MISSING
require_marker "$build_script" \
'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.240.tar.gz}' \
'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.241.tar.gz}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_ARTIFACT_MISSING
require_marker "$build_script" \
'web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-51e7415bd2db0486c87018577a4adb2983bb5d3f8b84115d010ec8c65ddc496a}' \
'web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-ef9cc7c4b8828307c695d6d91d54356f0086bde354b0ec24d0b7f2a1d36b3ab8}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_HASH_MISSING
require_marker "$build_script" \
'web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-53b08b5e041cfff204b94cdd0513a4b45235979db49f2643d4fef4e3464a66a8}' \
'web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-78113228da4436f01ad6c0f4561823dc76d1add75d0991bc2e1317622d63a9ff}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_LOCK_HASH_MISSING
require_marker "$build_script" \
'web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-16c89bc7d7be37b9e3364c524888209990e32db1c7779f9f92e3eee78b8a0d1b}' \
'web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-35e7d656ca97e100a03eeea7eb6af9ad7c2e4adb6ecd78e553eb4305f8d1a08c}' \
SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_SBOM_HASH_MISSING
require_marker "$release_dockerfile" \
'ARG CATALOG_SERVICE_VERSION=0.20.20' \
Expand Down Expand Up @@ -2483,8 +2483,8 @@ done
for native_asset_marker in \
'ARG ORCHESTRATION_ENGINE_ASSET_API_URL=https://api.github.com/repos/PastureStack/orchestration-engine/releases/assets/733683735' \
'ARG COMPOSE_EXECUTOR_ASSET_API_URL=https://api.github.com/repos/PastureStack/compose-cli/releases/assets/741756962' \
'ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/785271974' \
'ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/785271952'; do
'ARG WEB_CONSOLE_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/785372449' \
'ARG WEB_CONSOLE_SBOM_ASSET_API_URL=https://api.github.com/repos/PastureStack/web-console/releases/assets/785372423'; do
require_marker "$release_dockerfile" "$native_asset_marker" SERVER_OFFICIAL_ASSET_API_COORDINATE_MISSING
done
require_marker server/artifacts/fetch-server-component.sh "--header 'Accept: application/octet-stream' --header 'Range: bytes=0-'" SERVER_OFFICIAL_ASSET_API_HEADERS_MISSING
Expand All @@ -2495,4 +2495,4 @@ require_marker server/artifacts/fetch-server-component.sh 'Component response mu
# Execute the shared archive verifier controls before starting an image build.
python3 -B "$repo_root/scripts/test-engine-archive-contract.py"

printf 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.605 base=v1.6.460 engine=0.183.395 web_console=1.6.240 catalog_service=0.20.20 webhook_automation_service=0.10.6 authentication_service=0.4.47 curl=8.18.0-1ubuntu2.8 freemarker=2.3.35 artifact_scan=required vendor_pending=exact-set role_matrix=qa-required locale_layout=qa-required\n'
printf 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.605 base=v1.6.460 engine=0.183.395 web_console=1.6.241 catalog_service=0.20.20 webhook_automation_service=0.10.6 authentication_service=0.4.47 curl=8.18.0-1ubuntu2.8 freemarker=2.3.35 artifact_scan=required vendor_pending=exact-set role_matrix=qa-required locale_layout=qa-required\n'
24 changes: 12 additions & 12 deletions scripts/test-current-server-packaging-contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
PUBLISHED_508 = 'Server `v1.6.508` 已正式發布,封裝 Web Console `1.6.171`。'
STALE_508_CANDIDATE = 'Server `v1.6.508` candidate packages Web Console `1.6.171`'
COMPATIBILITY_CODE = 'SERVER_CREATE_RESPONSE_ORDER_COMPATIBILITY_MISSING'
WEB_SHA = '51e7415bd2db0486c87018577a4adb2983bb5d3f8b84115d010ec8c65ddc496a'
WEB_SOURCE = '5064c9bb321f7e5553b0f2dbadeef9c2f3808b42'
WEB_SBOM_SHA = '16c89bc7d7be37b9e3364c524888209990e32db1c7779f9f92e3eee78b8a0d1b'
WEB_LOCK_SHA = '53b08b5e041cfff204b94cdd0513a4b45235979db49f2643d4fef4e3464a66a8'
WEB_SHA = 'ef9cc7c4b8828307c695d6d91d54356f0086bde354b0ec24d0b7f2a1d36b3ab8'
WEB_SOURCE = '731f79004714150786b6e5e12d06683927a9d14e'
WEB_SBOM_SHA = '35e7d656ca97e100a03eeea7eb6af9ad7c2e4adb6ecd78e553eb4305f8d1a08c'
WEB_LOCK_SHA = '78113228da4436f01ad6c0f4561823dc76d1add75d0991bc2e1317622d63a9ff'
CATALOG_COMMIT = '8c1c28318580d5ec18c14a13b224ce0e02e40bf8'
ENGINE_SHA = '0c446a67b9a11fb9018045be0b114b328365e4c3da314d1db6e4e4421d07fcfa'
ENGINE_SOURCE = '9611a0abde9b8e13a21182b544b98cdac92b7c6a'
OLD_COORDINATES = {
'v1.6.605': 'v1.6.521',
'1.6.240': '1.6.181',
'1.6.241': '1.6.181',
WEB_SHA: '9199681f2c4311f3fbe8727fcf0f6fa136c9bafe9fbe9d13878c55df442a7a03',
WEB_SOURCE: '7f2bdad0c90a3241693c2ddd4475202ababba550',
CATALOG_COMMIT: '7670ffd81d5f0b5570197fb03c7e55b46da45bf3',
Expand All @@ -73,15 +73,15 @@
'SERVER_INCREMENTAL_RELEASE_DEFAULT_MISSING': (DOCKER, 'ARG SERVER_RELEASE_TAG=v1.6.605'),
'SERVER_INCREMENTAL_RELEASE_VERSION_MISSING': (DOCKER, 'org.opencontainers.image.version="${SERVER_RELEASE_TAG}"'),
'SERVER_INCREMENTAL_RELEASE_RUNTIME_VERSION_MISSING': (DOCKER, 'ENV CATTLE_RANCHER_SERVER_VERSION=${SERVER_RELEASE_TAG}'),
'SERVER_INCREMENTAL_WEB_CONSOLE_VERSION_MISSING': (DOCKER, 'ARG WEB_CONSOLE_RELEASE_TAG=1.6.240'),
'SERVER_INCREMENTAL_WEB_CONSOLE_ARTIFACT_MISSING': (DOCKER, 'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.240.tar.gz'),
'SERVER_INCREMENTAL_WEB_CONSOLE_VERSION_MISSING': (DOCKER, 'ARG WEB_CONSOLE_RELEASE_TAG=1.6.241'),
'SERVER_INCREMENTAL_WEB_CONSOLE_ARTIFACT_MISSING': (DOCKER, 'ARG WEB_CONSOLE_ARTIFACT=web-console-1.6.241.tar.gz'),
'SERVER_INCREMENTAL_WEB_CONSOLE_HASH_MISSING': (DOCKER, 'ARG WEB_CONSOLE_ARTIFACT_SHA256=' + WEB_SHA),
'SERVER_INCREMENTAL_WEB_CONSOLE_COMMIT_MISSING': (DOCKER, 'ARG WEB_CONSOLE_COMMIT=' + WEB_SOURCE),
'SERVER_INCREMENTAL_WEB_CONSOLE_LOCK_HASH_MISSING': (DOCKER, 'ARG WEB_CONSOLE_LOCK_SHA256=' + WEB_LOCK_SHA),
'SERVER_INCREMENTAL_WEB_CONSOLE_SBOM_HASH_MISSING': (DOCKER, 'ARG WEB_CONSOLE_RUNTIME_SBOM_SHA256=' + WEB_SBOM_SHA),
'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_COMMIT_MISSING': (BUILD, 'web_console_commit=${WEB_CONSOLE_COMMIT:-' + WEB_SOURCE + '}'),
'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_VERSION_MISSING': (BUILD, 'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.240}'),
'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_ARTIFACT_MISSING': (BUILD, 'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.240.tar.gz}'),
'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_VERSION_MISSING': (BUILD, 'web_console_release_tag=${WEB_CONSOLE_RELEASE_TAG:-1.6.241}'),
'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_ARTIFACT_MISSING': (BUILD, 'web_console_artifact=${WEB_CONSOLE_ARTIFACT:-web-console-1.6.241.tar.gz}'),
'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_HASH_MISSING': (BUILD, 'web_console_artifact_sha256=${WEB_CONSOLE_ARTIFACT_SHA256:-' + WEB_SHA + '}'),
'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_LOCK_HASH_MISSING': (BUILD, 'web_console_lock_sha256=${WEB_CONSOLE_LOCK_SHA256:-' + WEB_LOCK_SHA + '}'),
'SERVER_INCREMENTAL_WEB_CONSOLE_BUILD_SBOM_HASH_MISSING': (BUILD, 'web_console_runtime_sbom_sha256=${WEB_CONSOLE_RUNTIME_SBOM_SHA256:-' + WEB_SBOM_SHA + '}'),
Expand Down Expand Up @@ -621,7 +621,7 @@ def verify(files, gate=GATE):
raise AssertionError('CURRENT_VEX_RELEASE_MISMATCH')
if json.loads(files[VENDOR]).get('release') != 'v1.6.605':
raise AssertionError('CURRENT_VENDOR_RELEASE_MISMATCH')
if 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.605 base=v1.6.460 engine=0.183.395 web_console=1.6.240 catalog_service=0.20.20 ' not in gate:
if 'SERVER_API_EXPLORER_PATCH_OK release=v1.6.605 base=v1.6.460 engine=0.183.395 web_console=1.6.241 catalog_service=0.20.20 ' not in gate:
raise AssertionError('CURRENT_SUMMARY_MISMATCH')
verify_incremental_contract(files, gate)
verify_load_balancer_contract(files, gate)
Expand All @@ -640,7 +640,7 @@ def previous_gate(gate=GATE):
'and .["@id"] == "https://github.com/PastureStack/server/security/openvex/v1.6.521"',
'"$vendor_pending_fixture" v1.6.605 >/dev/null':
'"$vendor_pending_fixture" v1.6.521 >/dev/null',
'SERVER_API_EXPLORER_PATCH_OK release=v1.6.605 base=v1.6.460 engine=0.183.395 web_console=1.6.240 catalog_service=0.20.20 ':
'SERVER_API_EXPLORER_PATCH_OK release=v1.6.605 base=v1.6.460 engine=0.183.395 web_console=1.6.241 catalog_service=0.20.20 ':
'SERVER_API_EXPLORER_PATCH_OK release=v1.6.521 base=v1.6.460 engine=0.183.340 web_console=1.6.181 catalog_service=0.20.12 ',
})
for marker, stale_marker in replacements.items():
Expand Down Expand Up @@ -1381,7 +1381,7 @@ def test_previous_gate_and_each_old_component_pin_rejected(self):

def test_previous_server566_engine367_web206_component_pins_cannot_mix(self):
previous = {
'v1.6.605': 'v1.6.566', '1.6.240': '1.6.206', '0.183.395': '0.183.367',
'v1.6.605': 'v1.6.566', '1.6.241': '1.6.206', '0.183.395': '0.183.367',
ENGINE_SHA: '4435aec3508fafeb1b1d88f455b7cef815c026957820b9127a391728130aa86c',
ENGINE_SOURCE: '7cdacb4aad8cfbee3db239bb602a6a047da31fcf',
WEB_SHA: 'c385bd89cb9458650259a9fc46baa5a46e60dd6a67fd116a3ed13bcf372a2075',
Expand Down
6 changes: 3 additions & 3 deletions scripts/test-server-component-native-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_release_fallback_only_recovers_an_http_failure(self):
end = docker.index(' web_archive=', start)
fetch = docker[start:end].replace('\\\n', ' ')
primary = 'https://api.github.com/repos/PastureStack/web-console/releases/assets/123'
alternate = 'https://github.com/PastureStack/web-console/releases/download/1.6.240/fixture.bin'
alternate = 'https://github.com/PastureStack/web-console/releases/download/1.6.241/fixture.bin'
for mode, error, fallback in (('remote', 22, True), ('remote', 1, False),
('local', 22, False), ('remote', 0, False)):
with self.subTest(mode=mode, error=error):
Expand Down Expand Up @@ -122,8 +122,8 @@ def test_exact_shared_jdk_and_component_api_sources_are_wired(self):
for source in (docker, build):
self.assertIn(api+'PastureStack/orchestration-engine/releases/assets/733683735', source)
self.assertIn(api+'PastureStack/compose-cli/releases/assets/741756962', source)
self.assertIn(api+'PastureStack/web-console/releases/assets/785271974', source)
self.assertIn(api+'PastureStack/web-console/releases/assets/785271952', source)
self.assertIn(api+'PastureStack/web-console/releases/assets/785372449', source)
self.assertIn(api+'PastureStack/web-console/releases/assets/785372423', source)
self.assertIn('WEB_CONSOLE_ASSET_API_URL', source)
self.assertIn('WEB_CONSOLE_SBOM_ASSET_API_URL', source)
self.assertIn('"${WEB_CONSOLE_ASSET_API_URL}"', docker)
Expand Down
Loading