Skip to content

Commit

Permalink
chore(examples): rename jworker/javaworker modules to worker
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald authored and thsig committed Jan 18, 2021
1 parent 03d3c50 commit 4e168fc
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/advanced/using-remote-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ services:
You can import the source code for a _single_ Garden module from another repository via the `repositoryUrl` directive in the module-level `garden.yml` like so:

```yaml
# examples/remote-sources/jworker/garden.yml
# examples/remote-sources/worker/garden.yml
kind: Module
description: Java Worker
type: container
name: jworker
repositoryUrl: https://github.com/garden-io/garden-example-remote-module-jworker.git#v0.1.0
name: worker
services:
- name: jworker
- name: worker
...
```

Expand All @@ -91,7 +91,7 @@ $ tree .
.
├── garden.yml
└── jworker
└── worker
└── garden.yml
```

Expand Down
2 changes: 1 addition & 1 deletion examples/remote-sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ garden deploy
```
Garden will continue to use the version originally downloaded. Use the `update-remote sources|modules|all` command to fetch the latest version of your remote sources and modules:
```sh
garden update-remote modules jworker
garden update-remote modules worker
```
If you however change the repository URL of your remote source or module (e.g. switch to a different tag or branch), Garden will automatically fetch the correct version.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
kind: Module
description: Java Worker
type: container
name: jworker
name: worker
repositoryUrl: https://github.com/garden-io/garden-example-remote-module-jworker.git#v0.2.0
services:
- name: javaworker
- name: worker
dependencies:
- redis
2 changes: 1 addition & 1 deletion examples/vote/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ garden dev
Good afternoon! Let's get your environment wired up...
✔ local-kubernetes → Configured
jworker → Building jworker:8bbc389b3e... → Done (took 0.6 sec)
worker → Building worker:8bbc389b3e... → Done (took 0.6 sec)
✔ postgres → Building → Done (took 0.4 sec)
✔ result → Building result:8bbc389b3e... → Done (took 0.5 sec)
✔ vote → Building vote:8bbc389b3e-1543837972... → Done (took 0.5 sec)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
kind: Module
description: The worker that collects votes and stores results in a postgres table
type: container
name: jworker
name: worker
services:
- name: javaworker
- name: worker
dependencies:
- redis
- db-init
Expand Down
File renamed without changes.

0 comments on commit 4e168fc

Please sign in to comment.