forked from WebGoat/WebGoat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:misfir2/WebGoat into develop
- Loading branch information
Showing
181 changed files
with
2,323 additions
and
1,504 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
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,29 @@ | ||
## Release WebGoat | ||
|
||
|
||
### Version numbers | ||
|
||
For WebGoat we use milestone releases first before we release the official version, we use `v8.0.0.M3` while tagging | ||
and 8.0.0.M3 in the `pom.xml`. When we create the final release we remove the milestone release and use | ||
`v8.0.0` and 8.0.0 in the `pom.xml` | ||
|
||
At the moment we use Gitflow, for a release you create a new release branch and take the following steps: | ||
|
||
``` | ||
git checkout develop | ||
git flow release start <version> | ||
mvn versions:set <<version> | ||
git commit -am "New release, updaing pom.xml" | ||
git flow release publish | ||
``` | ||
|
||
Now we can make a new release, be sure you committed all your changes. | ||
|
||
``` | ||
git tag v8.0.0.M3 | ||
git push origin v8.0.0.M3 | ||
``` | ||
|
||
Now Travis takes over and will create the release in Github and on Docker Hub. | ||
|
||
|
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,35 @@ | ||
version: '2.0' | ||
|
||
services: | ||
webgoat: | ||
image: webgoat/webgoat-8.0 | ||
user: webgoat | ||
environment: | ||
- WEBWOLF_HOST=webwolf | ||
- spring.datasource.url=jdbc:postgresql://webgoat_db:5432/webgoat | ||
- spring.datasource.username=webgoat | ||
- spring.datasource.password=webgoat | ||
- spring.datasource.driver-class-name=org.postgresql.Driver | ||
- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL94Dialect | ||
ports: | ||
- "8080:8080" | ||
webwolf: | ||
image: webgoat/webwolf | ||
environment: | ||
- spring.datasource.url=jdbc:postgresql://webgoat_db:5432/webgoat | ||
- spring.datasource.username=webgoat | ||
- spring.datasource.password=webgoat | ||
- spring.datasource.driver-class-name=org.postgresql.Driver | ||
- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL94Dialect | ||
ports: | ||
- "8081:8081" | ||
db: | ||
container_name: webgoat_db | ||
image: postgres:latest | ||
environment: | ||
- POSTGRES_PASSWORD=webgoat | ||
- POSTGRES_USER=webgoat | ||
- POSTGRES_DB=webgoat | ||
ports: | ||
- "5432:5432" | ||
|
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 |
---|---|---|
@@ -1,40 +1,28 @@ | ||
version: '2.0' | ||
version: '2.1' | ||
|
||
services: | ||
activemq: | ||
image: webcenter/activemq:latest | ||
ports: | ||
- 8161:8161 | ||
- 61616:61616 | ||
- 61613:61613 | ||
mongo: | ||
image: mongo:latest | ||
expose: | ||
- "27017" | ||
volumes: | ||
- './mongo-data:/data/db' | ||
webgoat: | ||
build: webgoat-server/ | ||
command: "sh /home/webgoat/start.sh" | ||
image: webgoat/webgoat-8.0 | ||
environment: | ||
- WEBWOLF_HOST=webwolf | ||
- spring.datasource.url=jdbc:hsqldb:hsql://webgoat_db:9001/webgoat | ||
ports: | ||
- "8080:8080" | ||
depends_on: | ||
[mongo, activemq] | ||
environment: | ||
WG_MONGO_PORT: 27017 | ||
WG_MONGO_HOST: mongo | ||
WG_MQ_HOST: activemq | ||
WG_MQ_PORT: 61616 | ||
WG_INTERNAL_MONGO: "false" | ||
- db | ||
webwolf: | ||
build: webwolf/ | ||
command: "sh /home/webwolf/start.sh" | ||
depends_on: | ||
- webgoat | ||
image: webgoat/webwolf | ||
environment: | ||
- spring.datasource.url=jdbc:hsqldb:hsql://webgoat_db:9001/webgoat | ||
ports: | ||
- "8081:8081" | ||
depends_on: | ||
- db | ||
db: | ||
image: blacklabelops/hsqldb | ||
container_name: webgoat_db | ||
environment: | ||
WG_MONGO_PORT: 27017 | ||
WG_MONGO_HOST: mongo | ||
WG_MQ_HOST: activemq | ||
WG_MQ_PORT: 61616 | ||
- HSQLDB_TRACE=false | ||
- HSQLDB_SILENT=true | ||
- HSQLDB_DATABASE_NAME=webgoat | ||
- HSQLDB_DATABASE_ALIAS=webgoat |
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
Oops, something went wrong.