Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples to zip creation process and fix broken download commands #112

Merged
merged 1 commit into from
Mar 5, 2024
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
14 changes: 11 additions & 3 deletions .tools/prepare_release_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ create_release_zip templates/java-gradle java-hello-world-gradle
create_release_zip templates/kotlin-gradle kotlin-hello-world-gradle
create_release_zip templates/scala-sbt scala-hello-world-sbt
create_release_zip templates/typescript typescript-hello-world

create_release_zip basics/basics-typescript typescript-basics
create_release_zip templates/typescript-lambda-cdk typescript-hello-world-lambda-cdk
create_release_zip templates/kotlin-lambda-cdk kotlin-hello-world-lambda-cdk

create_release_zip tutorials/tour-of-restate-java java-tour-of-restate
create_release_zip tutorials/tour-of-restate-typescript typescript-tour-of-restate
create_release_zip tutorials/tour-of-restate-typescript typescript-tour-of-restate

create_release_zip patterns-use-cases/ticket-reservation/ticket-reservation-typescript typescript-ticket-reservation
create_release_zip patterns-use-cases/payment-state-machine/payment-state-machine-typescript typescript-payment-state-machine

create_release_zip end-to-end-applications/java/food-ordering java-food-ordering
create_release_zip end-to-end-applications/typescript/food-ordering typescript-food-ordering
create_release_zip end-to-end-applications/typescript/ecommerce-store typescript-ecommerce-store
create_release_zip end-to-end-applications/typescript/ai-image-workflows typescript-ai-image-workflows
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ workflow to suspend while the steps are running.

You can clone the example repository (`git clone https://github.com/restatedev/examples`) or just download this example via

- **CLI:** `restate example typescript-dynamic-workflow-executor`
- **CLI:** `restate example typescript-ai-image-workflows`

- **Zip archive:** https://github.com/restatedev/examples/releases/latest/download/typescript-dynamic-workflow-executor.zip
- **Zip archive:** https://github.com/restatedev/examples/releases/latest/download/typescript-ai-image-workflows.zip


## Running the example
Expand Down
4 changes: 2 additions & 2 deletions templates/java-gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Sample project configuration of a Restate service using the Java interface and H

- Via the CLI:
```shell
restate example java-hello-world-http && cd java-hello-world-http
restate example java-hello-world-gradle && cd java-hello-world-gradle
```

- Via git clone:
Expand All @@ -23,7 +23,7 @@ Sample project configuration of a Restate service using the Java interface and H

- Via `wget`:
```shell
wget https://github.com/restatedev/examples/releases/latest/download/java-hello-world-http.zip && unzip java-hello-world-http.zip -d java-hello-world-http && rm java-hello-world-http.zip
wget https://github.com/restatedev/examples/releases/latest/download/java-hello-world-gradle.zip && unzip java-hello-world-gradle.zip -d java-hello-world-gradle && rm java-hello-world-gradle.zip
```

## Running the example
Expand Down
4 changes: 2 additions & 2 deletions templates/kotlin-gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Sample project configuration of a Restate service using the Kotlin coroutines in

- Via the CLI:
```shell
restate example kotlin-hello-world-http && cd kotlin-hello-world-http
restate example kotlin-hello-world-gradle && cd kotlin-hello-world-gradle
```

- Via git clone:
Expand All @@ -23,7 +23,7 @@ Sample project configuration of a Restate service using the Kotlin coroutines in

- Via `wget`:
```shell
wget https://github.com/restatedev/examples/releases/latest/download/kotlin-hello-world-http.zip && unzip kotlin-hello-world-http.zip -d kotlin-hello-world-http && rm kotlin-hello-world-http.zip
wget https://github.com/restatedev/examples/releases/latest/download/kotlin-hello-world-gradle.zip && unzip kotlin-hello-world-gradle.zip -d kotlin-hello-world-gradle && rm kotlin-hello-world-gradle.zip
```

## Running the example
Expand Down
Loading