Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Update layer with systemd + nginx layer #2
Merged
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d2a6f1f
Update layer with systemd + nginx layer
jamesbeedy 959102e
make owner str
jamesbeedy 33025f5
import from hookenv
jamesbeedy f6e1ac8
add separate port for mattermost
jamesbeedy 31bfb79
make mattermost port static
jamesbeedy 8abd2e3
Lots up updates
jamesbeedy 06011ed
template mods
jamesbeedy 81eb40c
add fqdn to config.yaml
jamesbeedy d054a76
s/config/config_file/
jamesbeedy a373960
moar reactive
jamesbeedy 3c5e716
abstract the setup function
jamesbeedy 4098457
fix spelling for layer option
jamesbeedy 6935dd5
added requirements.txt
jamesbeedy 084f0cb
pull crt/key locations out to global
jamesbeedy
Jump to file or symbol
Failed to load files and symbols.
| @@ -1,2 +1,3 @@ | ||
| bdist | ||
| .*.swp | ||
| +.tox/ |
| @@ -1,26 +1,3 @@ | ||
| - | ||
| -ifndef JUJU_REPOSITORY | ||
| - $(error JUJU_REPOSITORY is undefined) | ||
| -endif | ||
| - | ||
| -CHARM=cs:~cmars/mattermost | ||
| -CHARMS=$(JUJU_REPOSITORY)/trusty/mattermost $(JUJU_REPOSITORY)/xenial/mattermost | ||
| -BDIST_VERSION=2.2.0 | ||
| - | ||
| -all: $(CHARMS) | ||
| - | ||
| -$(JUJU_REPOSITORY)/%/mattermost: bdist/mattermost.tar.gz | ||
| - charm build -s $* | ||
| - | ||
| -bdist/mattermost.tar.gz: | ||
| - -mkdir -p $(shell dirname $@) | ||
| - wget -O $@ https://releases.mattermost.com/$(BDIST_VERSION)/mattermost-team-$(BDIST_VERSION)-linux-amd64.tar.gz | ||
| - | ||
| -push: $(JUJU_REPOSITORY)/trusty/mattermost bdist/mattermost.tar.gz | ||
| - charm push $(JUJU_REPOSITORY)/trusty/mattermost $(CHARM) --resource bdist=bdist/mattermost.tar.gz | ||
| - | ||
| -grant: | ||
| - charm grant $(CHARM) --acl read everyone | ||
| - | ||
| -clean: | ||
| - $(RM) -r $(CHARMS) | ||
| +.PHONY: test | ||
| +test: | ||
| + @tox |
14
layer.yaml
| @@ -1,9 +1,17 @@ | ||
| includes: | ||
| - 'layer:basic' | ||
| + - 'layer:nginx' | ||
| + - 'layer:tls-client' | ||
| - 'interface:pgsql' | ||
| - 'interface:http' | ||
| repo: https://github.com/cmars/juju-charm-mattermost.git | ||
| options: | ||
| - basic: | ||
| - packages: | ||
| - - '--no-install-recommends' | ||
| + tls-client: | ||
| + ca_certificate_path: "/etc/ssl/certs/ca.crt" | ||
| + server_certificate_path: "/etc/ssl/certs/server.crt" | ||
| + server_key_path: "/etc/ssl/certs/server.key" | ||
| + client_certificate_path: "/etc/ssl/certs/client.crt" | ||
| + client_key_path: "/etc/ssl/certs/client.key" | ||
| + basic: | ||
| + packages: | ||
| + - '--no-install-recommends' |
| @@ -0,0 +1,3 @@ | ||
| +tox | ||
| +flake8 | ||
| +pep8 |
Oops, something went wrong.