summaryrefslogtreecommitdiff
path: root/tests/integration/env_vars.rs
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2026-02-15 21:27:00 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2026-02-15 21:27:00 +0100
commitce0dbf6b249956700c6a1705bf4ad85a09d53e8c (patch)
treed7c3236807cfbf75d7f3a355eb5df5a5e2cc4ad7 /tests/integration/env_vars.rs
parent064a1d01c5c14f5ecc032fa9b8346a4a88b893f6 (diff)
feat: witryna 0.2.0HEADv0.2.0main
Switch, cleanup, and status CLI commands. Persistent build state via state.json. Post-deploy hooks on success and failure with WITRYNA_BUILD_STATUS. Dependency diet (axum→tiny_http, clap→argh, tracing→log). Drop built-in rate limiting. Nix flake with NixOS module. Arch Linux PKGBUILD. Centralized version management. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'tests/integration/env_vars.rs')
-rw-r--r--tests/integration/env_vars.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/integration/env_vars.rs b/tests/integration/env_vars.rs
index 44f74fa..5638149 100644
--- a/tests/integration/env_vars.rs
+++ b/tests/integration/env_vars.rs
@@ -159,4 +159,8 @@ async fn env_vars_passed_to_post_deploy_hook() {
content.contains("WITRYNA_BUILD_TIMESTAMP="),
"WITRYNA_BUILD_TIMESTAMP should be set"
);
+ assert!(
+ content.contains("WITRYNA_BUILD_STATUS=success"),
+ "WITRYNA_BUILD_STATUS should be set to success"
+ );
}