Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 92197ca

Browse files
authored
Merge pull request #441 from silvin-lubecki/clean-examples
Clean examples
2 parents 87bb12f + 0a881da commit 92197ca

13 files changed

Lines changed: 18 additions & 18 deletions

File tree

e2e/commands_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ name: app-test
100100
# A short description of the application
101101
description: my cool app
102102
# Namespace to use when pushing to a registry. This is typically your Hub username.
103-
#namespace: myHubUsername
103+
#namespace: myhubusername
104104
# List of application maintainers with name and email for each
105105
maintainers:
106106
- name: bob

e2e/testdata/init-singlefile.dockerapp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: tac
66
# A short description of the application
77
description: my cool app
88
# Namespace to use when pushing to a registry. This is typically your Hub username.
9-
#namespace: myHubUsername
9+
#namespace: myhubusername
1010
# List of application maintainers with name and email for each
1111
maintainers:
1212
- name: bob

examples/hello-world/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ name: hello-world
2222
# A short description of the application
2323
description:
2424
# Namespace to use when pushing to a registry. This is typically your Hub username.
25-
#namespace: myHubUsername
25+
#namespace: myhubusername
2626
# List of application maintainers with name and email for each
2727
maintainers:
2828
- name: user

examples/hello-world/hello-world.dockerapp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: hello-world
66
# A short description of the application
77
description: "Hello, World!"
88
# Namespace to use when pushing to a registry. This is typically your Hub username.
9-
namespace: myHubUsername
9+
namespace: myhubusername
1010
# List of application maintainers with name and email for each
1111
maintainers:
1212
- name: user

examples/voting-app/voting-app.dockerapp/metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: voting-app
55
# A short description of the application
66
description: "Dogs or cats?"
77
# Namespace to use when pushing to a registry. This is typically your Hub username.
8-
namespace: myHubUsername
8+
namespace: myhubusername
99
# List of application maintainers with name and email for each
1010
maintainers:
1111
- name: user

examples/wordpress/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
overlay: null
2222
volumes:
2323
- type: volume
24-
source: db_data
24+
source: db-data
2525
target: /var/lib/mysql
2626
wordpress:
2727
depends_on:
@@ -47,8 +47,8 @@ services:
4747
networks:
4848
overlay: {}
4949
volumes:
50-
db_data:
51-
name: db_data
50+
db-data:
51+
name: db-data
5252
```
5353
5454
**Override default parameters with file**. This example sets `debug` to `"false"` and the wordpress service published port to 80 as defined in `prod-parameters.yml`.
@@ -114,7 +114,7 @@ mysql.scale.mode replicated
114114
mysql.scale.replicas 1
115115
mysql.user.name wordpress
116116
mysql.user.password wordpress
117-
volumes.db_data.name db_data
117+
volumes.db_data.name db-data
118118
wordpress.port 8080
119119
wordpress.scale.endpoint_mode vip
120120
wordpress.scale.mode replicated

examples/wordpress/wordpress.dockerapp/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
MYSQL_USER: ${mysql.user.name}
1111
MYSQL_PASSWORD: ${mysql.user.password}
1212
volumes:
13-
- source: db_data
13+
- source: db-data
1414
target: /var/lib/mysql
1515
type: volume
1616
networks:
@@ -40,7 +40,7 @@ services:
4040
- mysql
4141

4242
volumes:
43-
db_data:
43+
db-data:
4444
name: ${volumes.db_data.name}
4545

4646
networks:

examples/wordpress/wordpress.dockerapp/parameters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ wordpress:
1919
port: 8080
2020
volumes:
2121
db_data:
22-
name: db_data
22+
name: db-data

integrations/gradle/example/simple.dockerapp/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
MYSQL_USER: ${mysql.user.name}
99
MYSQL_PASSWORD: ${mysql.user.password}
1010
volumes:
11-
- source: db_data
11+
- source: db-data
1212
target: /var/lib/mysql
1313
type: volume
1414
deploy:
@@ -27,5 +27,5 @@ services:
2727
replicas: ${wordpress.scale.replicas}
2828

2929
volumes:
30-
db_data:
30+
db-data:
3131
name: ${volumes.db_data.name}

integrations/gradle/example/simple.dockerapp/parameters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ wordpress:
1313
replicas: 0
1414
volumes:
1515
db_data:
16-
name: db_data
16+
name: db-data

0 commit comments

Comments
 (0)