Skip to content

Commit

Permalink
Update version to 1.5.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuancelin committed Aug 6, 2021
1 parent 4123671 commit 3bb39bc
Show file tree
Hide file tree
Showing 28 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion clients/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["Mathieu <[email protected]>"]
license = "ASL-2.0"
name = "otoroshi-cli"
readme = "readme.md"
version = "1.5.0-dev"
version = "1.5.0-beta.3"

[[bin]]
name = "otoroshicli"
Expand Down
2 changes: 1 addition & 1 deletion clients/tcp-udp-tunnel-client/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ function ProxyServer(options, optionalConfigFile) {

function displayHeader() {
console.log('')
console.log('Otoroshi TCP tunnel CLI, version 1.5.0-dev'.yellow)
console.log('Otoroshi TCP tunnel CLI, version 1.5.0-beta.3'.yellow)
console.log('')
}

Expand Down
4 changes: 2 additions & 2 deletions demos/basic-setup/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
- postgres-prod

otoroshi-instance-1:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- basicsetup
environment:
Expand All @@ -53,7 +53,7 @@ services:
- redis-slave

otoroshi-instance-2:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- basicsetup
environment:
Expand Down
10 changes: 5 additions & 5 deletions demos/service-mesh/docker-compose-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
- config-server

otoroshi-service-1:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
environment:
Expand All @@ -59,7 +59,7 @@ services:
- config-server

otoroshi-service-2:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
environment:
Expand All @@ -72,7 +72,7 @@ services:
- config-server

otoroshi-service-3:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
environment:
Expand All @@ -85,7 +85,7 @@ services:
- config-server

otoroshi-service-frontend:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
ports:
Expand All @@ -99,7 +99,7 @@ services:
- service-frontend

otoroshi-gateway:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
ports:
Expand Down
10 changes: 5 additions & 5 deletions demos/service-mesh/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ services:
ipv4_address: 172.16.239.44

otoroshi-service-1:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
environment:
Expand All @@ -75,7 +75,7 @@ services:
ipv4_address: 172.16.239.31

otoroshi-service-2:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
environment:
Expand All @@ -101,7 +101,7 @@ services:
ipv4_address: 172.16.239.32

otoroshi-service-3:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
environment:
Expand All @@ -127,7 +127,7 @@ services:
ipv4_address: 172.16.239.33

otoroshi-service-frontend:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
ports:
Expand Down Expand Up @@ -155,7 +155,7 @@ services:
ipv4_address: 172.16.239.34

otoroshi-gateway:
image: maif/otoroshi:1.5.0-dev
image: maif/otoroshi:1.5.0-beta.3
networks:
- mesh
ports:
Expand Down
12 changes: 6 additions & 6 deletions docker/build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ prepare_build () {
sbt dist
sbt assembly
cd $LOCATION
cp ../../otoroshi/target/universal/otoroshi-1.5.0-dev.zip ./otoroshi-dist.zip
cp ../../otoroshi/target/universal/otoroshi-1.5.0-beta.3.zip ./otoroshi-dist.zip
cp ../../otoroshi/target/scala-2.12/otoroshi.jar ./otoroshi.jar
fi
unzip otoroshi-dist.zip
mv otoroshi-1.5.0-dev otoroshi
mv otoroshi-1.5.0-beta.3 otoroshi
rm -rf otoroshi-dist.zip
chmod +x ./otoroshi/bin/otoroshi
mkdir -p ./otoroshi/imports
Expand Down Expand Up @@ -141,13 +141,13 @@ case "${1}" in
;;
build-and-push-snapshot)
NBR=`date +%s`
echo "Will build version 1.5.0-dev-$NBR"
echo "Will build version 1.5.0-beta.3-$NBR"
cp ../../otoroshi/target/scala-2.12/otoroshi.jar otoroshi.jar
docker build --no-cache -f ./Dockerfile-jdk11-jar -t otoroshi-jdk11 .
docker tag otoroshi-jdk11 "maif/otoroshi:1.5.0-dev-$NBR"
docker tag otoroshi-jdk11 "maif/otoroshi:1.5.0-beta.3-$NBR"
docker tag otoroshi-jdk11 "maif/otoroshi:dev"
cleanup
docker push "maif/otoroshi:1.5.0-dev-$NBR"
docker push "maif/otoroshi:1.5.0-beta.3-$NBR"
docker push "maif/otoroshi:dev"
;;
build-and-push-local)
Expand All @@ -164,7 +164,7 @@ case "${1}" in
cleanup
;;
prepare)
cp ../../otoroshi/target/universal/otoroshi-1.5.0-dev.zip ./otoroshi-dist.zip
cp ../../otoroshi/target/universal/otoroshi-1.5.0-beta.3.zip ./otoroshi-dist.zip
cp ../../otoroshi/target/scala-2.12/otoroshi.jar ./otoroshi.jar
;;
*)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h2>high productivity</h2>
</a>
</div>
<div class="col-md-12 col-xs-4">
<a href="https://github.com/MAIF/otoroshi/releases/download/v1.5.0-beta.2/otoroshi.jar">
<a href="https://github.com/MAIF/otoroshi/releases/download/v1.5.0-beta.3/otoroshi.jar">
<div class="outer-circle">
<div class="inner-circle">
<p class="inner-circle--lowerText">DOWNLOAD</p>
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/helm/otoroshi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: otoroshi
description: An Otoroshi based Kubernetes ingress controller
type: application
version: 1.0.0
appVersion: 1.5.0-dev
appVersion: 1.5.0-beta.3
keywords:
- otoroshi
- ingress
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/helm/otoroshi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ serviceAccount:

image:
name: maif/otoroshi
tag: 1.5.0-dev-jdk11
tag: 1.5.0-beta.3-jdk11
pullPolicy: IfNotPresent
https: 8443
http: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
hostNetwork: false
restartPolicy: Always
containers:
- image: maif/otoroshi:1.5.0-dev-jdk11
- image: maif/otoroshi:1.5.0-beta.3-jdk11
imagePullPolicy: IfNotPresent
name: otoroshi-leader
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
hostNetwork: false
restartPolicy: Always
containers:
- image: maif/otoroshi:1.5.0-dev-jdk11
- image: maif/otoroshi:1.5.0-beta.3-jdk11
imagePullPolicy: IfNotPresent
name: otoroshi-leader
ports:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/kustomize/overlays/cluster/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
hostNetwork: false
restartPolicy: Always
containers:
- image: maif/otoroshi:1.5.0-dev-jdk11
- image: maif/otoroshi:1.5.0-beta.3-jdk11
imagePullPolicy: IfNotPresent
name: otoroshi-leader
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
restartPolicy: Always
hostNetwork: false
containers:
- image: maif/otoroshi:1.5.0-dev-jdk11
- image: maif/otoroshi:1.5.0-beta.3-jdk11
imagePullPolicy: IfNotPresent
name: otoroshi
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
terminationGracePeriodSeconds: 60
hostNetwork: false
containers:
- image: maif/otoroshi:1.5.0-dev-jdk11
- image: maif/otoroshi:1.5.0-beta.3-jdk11
imagePullPolicy: IfNotPresent
name: otoroshi
ports:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/kustomize/overlays/simple/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
terminationGracePeriodSeconds: 60
hostNetwork: false
containers:
- image: maif/otoroshi:1.5.0-dev-jdk11
- image: maif/otoroshi:1.5.0-beta.3-jdk11
imagePullPolicy: IfNotPresent
name: otoroshi
ports:
Expand Down
2 changes: 1 addition & 1 deletion manual/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := """otoroshi-manual"""
organization := "fr.maif"
version := "1.5.0-dev"
version := "1.5.0-beta.3"
scalaVersion := "2.13.1"

lazy val docs = (project in file("."))
Expand Down
2 changes: 1 addition & 1 deletion manual/src/main/paradox/code/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info" : {
"title" : "Otoroshi Admin API",
"description" : "Admin API of the Otoroshi reverse proxy",
"version" : "1.5.0-dev",
"version" : "1.5.0-beta.3",
"contact" : {
"name" : "Otoroshi Team",
"email" : "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions manual/src/main/paradox/deploy/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can also create a `kustomization.yaml` file with a remote base

```yaml
bases:
- github.com/MAIF/otoroshi/kubernetes/kustomize/overlays/simple/?ref=v1.5.0-dev
- github.com/MAIF/otoroshi/kubernetes/kustomize/overlays/simple/?ref=v1.5.0-beta.3
```
Then deploy it with `kubectl apply -k ./overlays/myoverlay`.
Expand Down Expand Up @@ -87,7 +87,7 @@ spec:
terminationGracePeriodSeconds: 60
hostNetwork: false
containers:
- image: maif/otoroshi:1.5.0-dev-jdk11
- image: maif/otoroshi:1.5.0-beta.3-jdk11
imagePullPolicy: IfNotPresent
name: otoroshi
args: ['-Dconfig.file=/usr/app/otoroshi/conf/oto.conf']
Expand Down
12 changes: 6 additions & 6 deletions manual/src/main/paradox/getotoroshi/fromdocker.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ If you're a Docker aficionado, Otoroshi is provided as a Docker image that your
first, fetch the last Docker image of Otoroshi :

```sh
docker pull maif/otoroshi:1.5.0-dev
docker pull maif/otoroshi:1.5.0-beta.3
# or
docker pull maif/otoroshi:latest
# or
docker pull maif/otoroshi:jdk8-1.5.0-dev
docker pull maif/otoroshi:jdk8-1.5.0-beta.3
# or
docker pull maif/otoroshi:jdk11-1.5.0-dev
docker pull maif/otoroshi:jdk11-1.5.0-beta.3
# or
docker pull maif/otoroshi:jdk12-1.5.0-dev
docker pull maif/otoroshi:jdk12-1.5.0-beta.3
# or
docker pull maif/otoroshi:jdk13-1.5.0-dev
docker pull maif/otoroshi:jdk13-1.5.0-beta.3
# or
docker pull maif/otoroshi:jdk14-1.5.0-dev
docker pull maif/otoroshi:jdk14-1.5.0-beta.3
```
8 changes: 4 additions & 4 deletions manual/src/main/paradox/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
> *The <a href="https://en.wikipedia.org/wiki/Gazu_Hyakki_Yagy%C5%8D#/media/File:SekienOtoroshi.jpg" target="blank">Otoroshi</a> is a large hairy monster that tends to lurk on the top of the torii gate in front of Shinto shrines. It's a hostile creature, but also said to be the guardian of the shrine and is said to leap down from the top of the gate to devour those who approach the shrine for only self-serving purposes.*
@@@ div { .centered-img }
[![build](https://github.com/MAIF/otoroshi/actions/workflows/server_build_and_test.yaml/badge.svg)](https://github.com/MAIF/otoroshi/actions/workflows/server_build_and_test.yaml) [![Join the chat at https://gitter.im/MAIF/otoroshi](https://badges.gitter.im/MAIF/otoroshi.svg)](https://gitter.im/MAIF/otoroshi?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [ ![Download](https://img.shields.io/github/release/MAIF/otoroshi.svg) ](hhttps://github.com/MAIF/otoroshi/releases/download/v1.5.0-dev/otoroshi.jar)
[![build](https://github.com/MAIF/otoroshi/actions/workflows/server_build_and_test.yaml/badge.svg)](https://github.com/MAIF/otoroshi/actions/workflows/server_build_and_test.yaml) [![Join the chat at https://gitter.im/MAIF/otoroshi](https://badges.gitter.im/MAIF/otoroshi.svg)](https://gitter.im/MAIF/otoroshi?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [ ![Download](https://img.shields.io/github/release/MAIF/otoroshi.svg) ](hhttps://github.com/MAIF/otoroshi/releases/download/v1.5.0-beta.3/otoroshi.jar)
@@@

@@@ div { .centered-img }
Expand All @@ -15,19 +15,19 @@

## Installation

You can download the latest build of Otoroshi as a [fat jar](https://github.com/MAIF/otoroshi/releases/download/v1.5.0-dev/otoroshi.jar), as a [zip package](https://github.com/MAIF/otoroshi/releases/download/v1.5.0-dev/otoroshi-dist.zip) or as a @ref:[docker image](./getotoroshi/fromdocker.md).
You can download the latest build of Otoroshi as a [fat jar](https://github.com/MAIF/otoroshi/releases/download/v1.5.0-beta.3/otoroshi.jar), as a [zip package](https://github.com/MAIF/otoroshi/releases/download/v1.5.0-beta.3/otoroshi-dist.zip) or as a @ref:[docker image](./getotoroshi/fromdocker.md).

You can install and run Otoroshi with this little bash snippet

```sh
curl -L -o otoroshi.jar 'https://github.com/MAIF/otoroshi/releases/download/v1.5.0-dev/otoroshi.jar'
curl -L -o otoroshi.jar 'https://github.com/MAIF/otoroshi/releases/download/v1.5.0-beta.3/otoroshi.jar'
java -jar otoroshi.jar
```

or using docker

```sh
docker run -p "8080:8080" maif/otoroshi:1.5.0-dev
docker run -p "8080:8080" maif/otoroshi:1.5.0-beta.3
```

now open your browser to <a href="http://otoroshi.oto.tools:8080/" target="_blank">http://otoroshi.oto.tools:8080/</a>, **log in with the credential generated in the logs** and explore by yourself, if you want better instructions, just go to the @ref:[Quick Start](./quickstart.md) or directly to the @ref:[installation instructions](./getotoroshi/index.md)
Expand Down
4 changes: 2 additions & 2 deletions manual/src/main/paradox/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Otoroshi is an awesome reverse proxy built with Scala that handles all the calls
## Download otoroshi

```sh
curl -L -o otoroshi.jar 'https://github.com/MAIF/otoroshi/releases/download/v1.5.0-dev/otoroshi.jar'
curl -L -o otoroshi.jar 'https://github.com/MAIF/otoroshi/releases/download/v1.5.0-beta.3/otoroshi.jar'
```

If you don’t/can’t have these tools on your machine, you can start a sandboxed environment using here with the following command
Expand Down Expand Up @@ -48,7 +48,7 @@ as the result, you will see something like
```log
$ java -jar otoroshi.jar
[info] otoroshi-env - Otoroshi version 1.5.0-dev
[info] otoroshi-env - Otoroshi version 1.5.0-beta.3
[info] otoroshi-env - Admin API exposed on http://otoroshi-api.oto.tools:8080
[info] otoroshi-env - Admin UI exposed on http://otoroshi.oto.tools:8080
[warn] otoroshi-env - Scripting is enabled on this Otoroshi instance !
Expand Down
4 changes: 2 additions & 2 deletions manual/src/main/paradox/snippets/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

dependencies {
compile group: 'fr.maif', name: 'otoroshi_2.12', version: '1.5.0-dev'
compile group: 'fr.maif', name: 'otoroshi_2.12', version: '1.5.0-dev', classifier 'assets'
compile group: 'fr.maif', name: 'otoroshi_2.12', version: '1.5.0-beta.3'
compile group: 'fr.maif', name: 'otoroshi_2.12', version: '1.5.0-beta.3', classifier 'assets'
}
4 changes: 2 additions & 2 deletions manual/src/main/paradox/snippets/build.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
libraryDependencies += "fr.maif" %% "otoroshi" % "1.5.0-dev"
libraryDependencies += "fr.maif" %% "otoroshi" % "1.5.0-dev" classifier "assets"
libraryDependencies += "fr.maif" %% "otoroshi" % "1.5.0-beta.3"
libraryDependencies += "fr.maif" %% "otoroshi" % "1.5.0-beta.3" classifier "assets"
2 changes: 1 addition & 1 deletion otoroshi/app/controllers/SwaggerController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2886,7 +2886,7 @@ class SwaggerController(cc: ControllerComponents, assetsBuilder: AssetsBuilder)(
Json.obj(
"openapi" -> "3.0.0",
"info" -> Json.obj(
"version" -> "1.5.0-dev",
"version" -> "1.5.0-beta.3",
"title" -> "Otoroshi Admin API",
"description" -> "Admin API of the Otoroshi reverse proxy",
"contact" -> Json.obj(
Expand Down
2 changes: 1 addition & 1 deletion otoroshi/app/env/Env.scala
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ class Env(
useAkkaHttpClient = true
)

lazy val otoroshiVersion = "1.5.0-dev"
lazy val otoroshiVersion = "1.5.0-beta.3"
lazy val otoroshiVersionSem = Version(otoroshiVersion)
lazy val checkForUpdates = configuration.getOptionalWithFileSupport[Boolean]("app.checkForUpdates").getOrElse(true)

Expand Down
2 changes: 1 addition & 1 deletion otoroshi/app/openapi/openapi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ class OpenApiGenerator(routerPath: String, configFilePath: String, specFiles: Se
"info" -> Json.obj(
"title" -> "Otoroshi Admin API",
"description" -> "Admin API of the Otoroshi reverse proxy",
"version" -> "1.5.0-dev",
"version" -> "1.5.0-beta.3",
"contact" -> Json.obj(
"name" -> "Otoroshi Team",
"email" -> "[email protected]"
Expand Down
Loading

0 comments on commit 3bb39bc

Please sign in to comment.