-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from fission/standalone-proxy
Extract environment proxy
- Loading branch information
Showing
32 changed files
with
530 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Development and Testing of Fission Workflows | ||
|
||
## Development | ||
|
||
To test with local builds of the workflow engine in the Kubernetes cluster in the current context. First [install a | ||
workflow version to your cluster](../INSTALL.md). After that you can swap the deployed workflow engine with a local one | ||
using [telepresence](https://telepresence.io): | ||
|
||
```bash | ||
telepresence --method=vpn-tcp --namespace fission --swap-deployment workflows:workflows --expose 5555 --expose 8080 | ||
``` | ||
|
||
## Testing | ||
|
||
To run local unit and integration tests: | ||
|
||
```bash | ||
bash tests/runtests.sh | ||
``` | ||
|
||
If you have an instance of Workflows deployed in the Kubernetes cluster in the current context, you can also run | ||
end-to-end tests (the same that are used by the CI): | ||
|
||
```bash | ||
bash tests/e2e/runtests.sh | ||
``` | ||
|
||
Since each e2e test is standalone, you can also run a single e2e test: | ||
|
||
```bash | ||
bash tests/e2e/tests/test_inputs.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ARG BUNDLE_IMAGE=fission-workflows-bundle | ||
ARG BUNDLE_TAG=latest | ||
FROM $BUNDLE_IMAGE:$BUNDLE_TAG as workflows-bundle | ||
|
||
FROM scratch | ||
|
||
COPY --from=workflows-bundle /fission-workflows-proxy /fission-workflows-proxy | ||
|
||
ENTRYPOINT ["/fission-workflows-proxy"] | ||
CMD ["-h"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.