Commit 00b4e5c
Move examples to fission/examples; vendor minimal CI fixtures (#454)
* Move examples to fission/examples; vendor minimal CI fixtures
Runnable examples now live canonically in the fission/examples repo.
This removes the duplicated examples/ directory from every environment.
To keep the environment test suites self-contained, the minimal function
code each test needs is vendored under that environment's test dir as
tests/fixtures/ (or test/fixtures/), and the test scripts are repointed:
- binary, python, python-fastapi, rust, jvm, tensorflow-serving
- jvm: adjusted the install-fission-java-core.sh mount depth for the new
fixture path
README "ready-to-run examples" links now point at github.com/fission/examples.
Updated CLAUDE.md and the release-process note accordingly.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Fix CI: repoint e2e tests and catalog links after examples removal
The first pass missed the e2e suites (test_go_env.sh, test_rust_env.sh,
test_binary_env.sh, test_dotnet8_env.sh) because they `cd $ROOT/<env>/examples`
without a trailing slash. They now build from vendored fixtures:
- go/tests/fixtures (hello.go + module-example)
- rust/tests/fixtures (hello.rs + project-example)
- binary/test/fixtures (hello.sh + module-example, alongside echo.sh)
- dotnet8/tests/fixtures (HelloWorld + MultiFileExample)
Also repoint the `examples` URL in every envconfig.json to fission/examples
(fixing two pre-existing copy-paste bugs: python-fastapi pointed at python,
php7 pointed at perl) and regenerate environments.json.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0250b82 commit 00b4e5c
181 files changed
Lines changed: 606 additions & 2388 deletions
File tree
- .claude/resources
- binary
- examples
- test
- fixtures
- module-example
- dotnet20
- examples
- dotnet8
- examples
- AsyncFunctionExample
- HttpTriggerExample
- tests
- fixtures
- HelloWorld
- MultiFileExample
- Controllers
- Models
- Services
- dotnet
- examples
- go
- examples
- module-example
- specs
- tests
- fixtures
- module-example
- jvm-jersey
- examples/java
- specs
- src
- main/java/io/fission
- test/java/io/fission
- jvm
- examples/java
- specs
- tests
- fixtures/java
- specs
- src
- main/java/io/fission
- test/java/io/fission
- nodejs
- examples
- perl
- examples
- php7
- examples
- multifile
- handlers
- python-fastapi
- examples
- guestbook
- multifile
- sourcepkg
- tests
- fixtures
- python
- examples
- guestbook
- multifile
- sourcepkg
- tests
- fixtures
- websocket
- ruby
- examples
- parse
- rust
- examples
- tests
- fixtures
- project-example
- src
- test
- fixtures/project-example
- src
- tensorflow-serving
- examples
- tests
- fixtures/half_plus_two/00000123
- variables
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments