Skip to content

Commit 7894885

Browse files
committed
fix: rm e2e smoke
1 parent d2226bf commit 7894885

File tree

9 files changed

+2
-393
lines changed

9 files changed

+2
-393
lines changed

.bcr/presubmit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bcr_test_module:
2-
module_path: "e2e/smoke"
2+
module_path: ""
33
matrix:
44
platform: ["debian10", "macos", "ubuntu2004"]
55
bazel: ["8.x"]

.github/workflows/release_prep.sh

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,7 @@ ARCHIVE="rules_formatjs-$TAG.tar.gz"
1313

1414
# NB: configuration for 'git archive' is in /.gitattributes
1515
# Create the main archive
16-
git archive --format=tar --prefix=${PREFIX}/ ${TAG} > "${ARCHIVE%.gz}"
17-
18-
# Add e2e/smoke test to the archive (examples are excluded by .gitattributes but we want smoke test included)
19-
# Create a temporary directory with the smoke test in the right structure
20-
TMPDIR=$(mktemp -d)
21-
mkdir -p "${TMPDIR}/${PREFIX}/e2e"
22-
# Copy smoke test but exclude bazel output directories and lock files
23-
rsync -a --exclude='bazel-*' --exclude='MODULE.bazel.lock' e2e/smoke/ "${TMPDIR}/${PREFIX}/e2e/smoke/"
24-
tar -rf "${ARCHIVE%.gz}" -C "${TMPDIR}" .
25-
rm -rf "${TMPDIR}"
26-
27-
# Compress the archive
28-
gzip "${ARCHIVE%.gz}"
16+
git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > "${ARCHIVE}"
2917

3018
SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}')
3119

@@ -48,15 +36,4 @@ bazel_dep(name = "rules_formatjs", version = "${TAG:1}")
4836
\`\`\`
4937
5038
That's it! The toolchains are automatically registered.
51-
52-
## Testing the Installation
53-
54-
A smoke test is included in the release at \`e2e/smoke/\`. To verify the rules work in your environment:
55-
56-
\`\`\`bash
57-
cd e2e/smoke
58-
bazel build //:extract
59-
\`\`\`
60-
61-
This will extract messages from a simple React component and verify that the FormatJS CLI toolchain is working correctly.
6239
EOF

e2e/smoke/.bazelrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

e2e/smoke/BUILD.bazel

Lines changed: 0 additions & 8 deletions
This file was deleted.

e2e/smoke/MODULE.bazel

Lines changed: 0 additions & 12 deletions
This file was deleted.

e2e/smoke/MODULE.bazel.lock

Lines changed: 0 additions & 295 deletions
This file was deleted.

e2e/smoke/README.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

e2e/smoke/REPO.bazel

Lines changed: 0 additions & 1 deletion
This file was deleted.

e2e/smoke/src/Hello.tsx

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)