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 e2e/fixtures/k8s-workspace/chant.workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pins": [
{
"package": "@intentius/chant-lexicon-k8s",
"version": "0.124.98"
"version": "0.124.100"
}
],
"members": [
Expand Down
2 changes: 1 addition & 1 deletion e2e/fixtures/pulumi-workspace/chant.workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pins": [
{
"package": "@intentius/chant-lexicon-pulumi",
"version": "0.124.98"
"version": "0.124.100"
}
],
"members": [
Expand Down
4 changes: 2 additions & 2 deletions e2e/multi-engine-demo-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ mkdir -p "$TARGET"
tar -C example-three-cloud --exclude node_modules --exclude .front-door --exclude export --exclude .terraform --exclude .tofu-records \
--exclude .plunge --exclude stack-export.json --exclude Pulumi.local.yaml -cf - . | tar -C "$TARGET" -xf -
npm --prefix "$TARGET" install --no-audit --no-fund --silent
if [ ! -f "$TARGET/node_modules/@intentius/chant/src/components/verbs/member-outputs.ts" ] || [ ! -f "$TARGET/node_modules/@intentius/chant-lexicon-pulumi/workspace-kinds.json" ]; then
fail "the copy's npm install has no chant with member-outputs or no @intentius/chant-lexicon-pulumi; example-three-cloud depends on chant 0.124.54, which has both"
if [ ! -f "$TARGET/node_modules/@intentius/chant/dist/components/verbs/member-outputs.js" ] || [ ! -f "$TARGET/node_modules/@intentius/chant-lexicon-pulumi/workspace-kinds.json" ]; then
fail "the copy's npm install has no chant with member-outputs or no @intentius/chant-lexicon-pulumi; example-three-cloud depends on chant 0.124.100, which has both"
fi
# The export a live `front-door.ts apply-aws` writes after `plunge up`.
cp "$FIX/aws-stack-export.json" "$TARGET/aws/stack-export.json"
Expand Down
6 changes: 3 additions & 3 deletions e2e/three-cloud-change-set-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ mkdir -p "$TARGET"
tar -C example-three-cloud --exclude node_modules --exclude .front-door --exclude export --exclude .terraform --exclude .tofu-records \
--exclude .plunge --exclude stack-export.json --exclude Pulumi.local.yaml -cf - . | tar -C "$TARGET" -xf -
npm --prefix "$TARGET" install --no-audit --no-fund --silent
if [ ! -f "$TARGET/node_modules/@intentius/chant/src/components/verbs/member-outputs.ts" ] || [ ! -f "$TARGET/node_modules/@intentius/chant-lexicon-pulumi/workspace-kinds.json" ]; then
echo "FAIL: the copy's npm install has no chant with member-outputs (chant#4455) or no @intentius/chant-lexicon-pulumi, which dns's components import; example-three-cloud depends on chant 0.124.54, which has both" >&2
if [ ! -f "$TARGET/node_modules/@intentius/chant/dist/components/verbs/member-outputs.js" ] || [ ! -f "$TARGET/node_modules/@intentius/chant-lexicon-pulumi/workspace-kinds.json" ]; then
echo "FAIL: the copy's npm install has no chant with member-outputs (chant#4455) or no @intentius/chant-lexicon-pulumi, which dns's components import; example-three-cloud depends on chant 0.124.100, which has both" >&2
exit 1
fi
# The aws member's engine: the fake plunge, for front-door's calls and chant's.
Expand All @@ -111,7 +111,7 @@ echo "→ plan the four members into one change set"
( cd "$TARGET" && ./node_modules/.bin/tsx scripts/front-door.ts plan --out "$WORK/change-set.json" ) | tee "$WORK/plan.log"
# behold#1017: a chant whose terraform lexicon has the choudoufuPlanSet Op
# activity (chant#4483) plans azure through it, never through the fallback.
if grep -q choudoufuPlanSetContract "$TARGET/node_modules/@intentius/chant-lexicon-terraform/src/op/activity-contracts.ts" 2>/dev/null; then
if grep -q choudoufuPlanSetContract "$TARGET/node_modules/@intentius/chant-lexicon-terraform/dist/op/activity-contracts.js" 2>/dev/null; then
if grep -q "has no choudoufuPlanSet Op activity" "$WORK/plan.log"; then echo "FAIL: azure was planned by the fallback although the copy's chant has the Op activity" >&2; exit 1; fi
echo " ✓ azure was planned through the choudoufuPlanSet Op activity"
fi
Expand Down
2 changes: 1 addition & 1 deletion example-choudoufu-estate/chant.workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pins": [
{
"package": "@intentius/chant-lexicon-terraform",
"version": "0.124.98"
"version": "0.124.100"
}
],
"members": [
Expand Down
4 changes: 2 additions & 2 deletions example-terraform-estate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ naming both packages, the ranges behold declares, where it looked, and the line
that puts them back:

```sh
npm install @intentius/chant-lexicon-terraform@^0.124.98 @cdktn/hcl2json@^0.24.0
npm install @intentius/chant-lexicon-terraform@^0.124.100 @cdktn/hcl2json@^0.24.0
```

The estate is a declared chant workspace, and chant reads a member's kind from
Expand All @@ -105,7 +105,7 @@ copy and sets the copy's pin to that version (#484). It says so as it loads:
your own declared workspace is different: install the pinned lexicon in its
root, the way `chant workspace check` asks.

The pin in `chant.workspace.json` names chant 0.124.98, the release behold
The pin in `chant.workspace.json` names chant 0.124.100, the release behold
depends on (`CHANT_RELEASE` in src/chant-release.ts, behold#1005), so a plain
`npm ci` beside behold installs what it pins. That release also carries what
promote's dry run on a real root with a `terraform.tfstate` and the drift
Expand Down
2 changes: 1 addition & 1 deletion example-terraform-estate/chant.workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pins": [
{
"package": "@intentius/chant-lexicon-terraform",
"version": "0.124.98"
"version": "0.124.100"
}
],
"members": [
Expand Down
4 changes: 2 additions & 2 deletions example-three-cloud/chant.workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"pins": [
{
"package": "@intentius/chant-lexicon-terraform",
"version": "0.124.98"
"version": "0.124.100"
},
{
"package": "@intentius/chant-lexicon-pulumi",
"version": "0.124.98"
"version": "0.124.100"
}
],
"members": [
Expand Down
Loading
Loading