Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: Remove 'tectonic.' prefixes #261

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pkg_tar(
name = "tectonic-%s" % TECTONIC_VERSION,
srcs = [
"//:template_resources",
"//examples:tectonic_cli_examples",
"//examples:config_examples",
],
extension = "tar.gz",
mode = "0666",
Expand Down
4 changes: 2 additions & 2 deletions Documentation/dev/libvirt-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ iptables -I INPUT -p tcp -s 192.168.124.0/24 -d 192.168.124.1 --dport 16509 \
```

#### 1.7 Prepare the configuration file
1. `cp examples/tectonic.libvirt.yaml ./`
1. `cp examples/libvirt.yaml ./`
1. Edit the configuration file:
1. Set an email and password in the `admin` section
1. Set a `baseDomain` (to `tt.testing`)
Expand Down Expand Up @@ -132,7 +132,7 @@ alias tectonic="${PWD}/tectonic-dev/installer/tectonic"

Initialize (the environment variables are a convenience):
```sh
tectonic init --config=../tectonic.libvirt.yaml
tectonic init --config=../libvirt.yaml
export CLUSTER_NAME=<the cluster name>
export BASE_DOMAIN=<the base domain>
```
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ These instructions can be used for AWS:

5. Edit Tectonic configuration file including the $CLUSTER_NAME
```sh
$EDITOR examples/tectonic.aws.yaml
$EDITOR examples/aws.yaml
```

6. Prepare a local configuration.
The structure behind the YAML input is described [here][godoc-InstallConfig].
```sh
tectonic init --config=examples/tectonic.aws.yaml
tectonic init --config=examples/aws.yaml
```

7. Install Tectonic cluster
Expand All @@ -51,7 +51,7 @@ These instructions can be used for AWS:

8. Visit `https://{$CLUSTER_NAME}-api.${BASE_DOMAIN}:6443/console/`.
You may need to ignore a certificate warning if you did not configure a CA known to your browser.
Log in with the admin credentials you configured in `tectonic.aws.yaml`.
Log in with the admin credentials you configured in `aws.yaml`.

9. Teardown Tectonic cluster
```sh
Expand Down
8 changes: 4 additions & 4 deletions examples/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
example_cli_configs = glob(["tectonic.*.yaml"])
config_examples = glob(["*.yaml"])

filegroup(
name = "tectonic_cli_examples",
srcs = example_cli_configs,
name = "config_examples",
srcs = config_examples,
visibility = ["//visibility:public"],
)

exports_files(example_cli_configs)
exports_files(config_examples)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ python <<-EOF >"${CLUSTER_NAME}.yaml"

import yaml

with open('examples/tectonic.${BACKEND}.yaml') as f:
with open('examples/${BACKEND}.yaml') as f:
config = yaml.load(f)
config['name'] = '${CLUSTER_NAME}'
with open(os.path.expanduser(os.path.join('~', '.ssh', 'id_rsa.pub'))) as f:
Expand Down