You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will deploy the charm with the rock image you just uploaded attached as a resource.
28
28
29
-
once`juju status` reports the charm as `active`, you can test the webserver:
29
+
Once`juju status` reports the charm as `active`, you can test the webserver:
30
30
31
31
```bash
32
32
curl {IP_OF_SNAPCRAFT_IO_UNIT}:8000
33
33
```
34
34
35
-
to connect using a browser, the easiest way is to integrate with `nginx-ingress-integrator`:
35
+
To connect using a browser, the easiest way is to integrate with `nginx-ingress-integrator`:
36
36
37
37
```bash
38
38
juju deploy nginx-ingress-integrator --trust
@@ -47,9 +47,9 @@ multipass ls # Get the IP of the VM
47
47
echo"{IP_OF_VM} snapcraft.local"| sudo tee -a /etc/hosts
48
48
```
49
49
50
-
> Note: login will not work using this setup, if you'd like to access publisher pages, change the domain to `staging.snapcraft.io`, but make sure to remove the line from `/etc/hosts/` after you're done.
50
+
> Note: login will not work using this setup, if you'd like to access publisher pages, change the domain to `staging.snapcraft.io`, but make sure to remove the line from `/etc/hosts` after you're done.
51
51
52
52
53
53
## Design Decisions:
54
-
- To keep the codebase clean and charm libraries updated, they are only fetched before packing the charm in the [Github Actions workflow](https://github.com/canonical/snapcraft.io/blob/main/.github/workflows/publish_charm.yaml#L25).
54
+
- To keep the codebase clean and charm libraries updated, they are only fetched before packing the charm in the [GitHub Actions workflow](https://github.com/canonical/webteam-devops/blob/7041da8810758715a73e1f8be67b2e68f0e1d58f/.github/workflows/deploy.yaml#L97).
55
55
- As all our work is open source, the charm is publicly available on [snapcraft](https://charmhub.io/snapcraft-io), the rock image is also included as a resource. This significantly simplifies deployment.
0 commit comments