Skip to content

Commit

Permalink
Merge pull request #104 from databrickslabs/website-fix
Browse files Browse the repository at this point in the history
fixed website links to new repo
  • Loading branch information
stikkireddy committed Jun 15, 2020
2 parents 86f53be + 4ea78e1 commit 8b42563
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions website/config.toml
@@ -1,4 +1,4 @@
baseURL = "//databrickslabs.github.io/databricks-terraform/"
baseURL = "//databrickslabs.github.io/terraform-provider-databricks/"
languageCode = "en-US"
defaultContentLanguage = "en"

Expand All @@ -14,7 +14,7 @@ home = [ "HTML", "RSS", "JSON"]
[[Languages.en.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> GitHub repo"
identifier = "ds"
url = "https://github.com/databrickslabs/databricks-terraform"
url = "https://github.com/databrickslabs/terraform-provider-databricks"
weight = 10

linenos = true
Expand Down
12 changes: 6 additions & 6 deletions website/content/Installation/_index.md
Expand Up @@ -11,7 +11,7 @@ chapter = false
* To quickly install the binary please execute the following curl command in your shell.

```bash
$ curl https://raw.githubusercontent.com/databrickslabs/databricks-terraform/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins
$ curl https://raw.githubusercontent.com/databrickslabs/terraform-provider-databricks/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins
```

* The command should have moved the binary into your `~/.terraform.d/plugins` folder.
Expand All @@ -24,7 +24,7 @@ $ curl https://raw.githubusercontent.com/databrickslabs/databricks-terraform/mas
* After installing `golang`, `terraform`, and `make` you will now build the artifact.

```bash
$ go get -v -u github.com/databrickslabs/databricks-terraform && cd $GOPATH/src/github.com/databrickslabs/databricks-terraform
$ go get -v -u github.com/databrickslabs/terraform-provider-databricks && cd $GOPATH/src/github.com/databrickslabs/terraform-provider-databricks
```

* When you are in the root directory of the repository please run:
Expand Down Expand Up @@ -55,17 +55,17 @@ $ mkdir -p ~/.terraform.d/plugins/ && cp terraform-provider-databricks ~/.terraf
* Then build the docker image with this command (this command will trigger a multi-stage docker build):

```bash
$ docker build -t databricks-terraform .
$ docker build -t terraform-provider-databricks .
```

* Then run the execute the terraform binary via the following command and volume mount. Make sure that you are in the directory
with the terraform code. The following command you can execute the following commands and additional ones as part of
the terraform binary.

```bash
$ docker run -it -v $(pwd):/workpace -w /workpace databricks-terraform init
$ docker run -it -v $(pwd):/workpace -w /workpace databricks-terraform plan
$ docker run -it -v $(pwd):/workpace -w /workpace databricks-terraform apply
$ docker run -it -v $(pwd):/workpace -w /workpace terraform-provider-databricks init
$ docker run -it -v $(pwd):/workpace -w /workpace terraform-provider-databricks plan
$ docker run -it -v $(pwd):/workpace -w /workpace terraform-provider-databricks apply
```

{{% /tab %}}
Expand Down
2 changes: 1 addition & 1 deletion website/content/Overview/_index.md
Expand Up @@ -12,7 +12,7 @@ chapter = false
To quickly install the binary please execute the following curl command in your shell.

```bash
$ curl https://raw.githubusercontent.com/databrickslabs/databricks-terraform/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins
$ curl https://raw.githubusercontent.com/databrickslabs/terraform-provider-databricks/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins
```

The command should have moved the binary into your `~/.terraform.d/plugins` folder.
Expand Down
4 changes: 2 additions & 2 deletions website/content/_index.md
Expand Up @@ -13,7 +13,7 @@ pre = ""
To quickly install the binary please execute the following curl command in your shell.

```bash
$ curl https://raw.githubusercontent.com/databrickslabs/databricks-terraform/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins
$ curl https://raw.githubusercontent.com/databrickslabs/terraform-provider-databricks/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins
```

The command should have moved the binary into your `~/.terraform.d/plugins` folder.
Expand All @@ -24,4 +24,4 @@ You can `ls` the previous directory to verify.

Please provide feedback in github issues. There is a template for this:

{{% button href="https://github.com/databrickslabs/databricks-terraform/issues/new?assignees=stikkireddy&labels=question&template=feedback.md&title=%5BFEEDBACK%2FQUESTION%5D+Short+Description+of+feedback" icon="fas fa-comment-dots" %}}Please provide feedback!{{% /button %}}
{{% button href="https://github.com/databrickslabs/terraform-provider-databricks/issues/new?assignees=stikkireddy&labels=question&template=feedback.md&title=%5BFEEDBACK%2FQUESTION%5D+Short+Description+of+feedback" icon="fas fa-comment-dots" %}}Please provide feedback!{{% /button %}}
2 changes: 1 addition & 1 deletion website/layouts/partials/logo.html
@@ -1,3 +1,3 @@
<a id="logo" href="/databricks-terraform/">
<a id="logo" href="/terraform-provider-databricks/">
<img src={{"img/databricks2.png" | relURL}}>
</a>
8 changes: 4 additions & 4 deletions website/layouts/partials/menu-footer.html
@@ -1,15 +1,15 @@
<center>
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/databrickslabs/databricks-terraform/releases/download/v0.1.0/databricks-terraform_0.1.0_Linux_64-bit.tar.gz" data-icon="octicon-cloud-download" aria-label="Download matcornic/hugo-theme-learn on GitHub">v0.1.0</a>
<a class="github-button" href="https://github.com/databrickslabs/terraform-provider-databricks/releases/" data-icon="octicon-cloud-download" aria-label="Download matcornic/hugo-theme-learn on GitHub">v0.1.0</a>

<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/databrickslabs/databricks-terraform" data-icon="octicon-star" data-show-count="true" aria-label="Star matcornic/hugo-theme-learn on GitHub">Star</a>
<a class="github-button" href="https://github.com/databrickslabs/terraform-provider-databricks" data-icon="octicon-star" data-show-count="true" aria-label="Star matcornic/hugo-theme-learn on GitHub">Star</a>

<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/databrickslabs/databricks-terraform/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork matcornic/hugo-theme-learn on GitHub">Fork</a>
<a class="github-button" href="https://github.com/databrickslabs/terraform-provider-databricks/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork matcornic/hugo-theme-learn on GitHub">Fork</a>

<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/databrickslabs/databricks-terraform/issues/new" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Issue databrickslabs/databricks-terraform on GitHub">Issue</a>
<a class="github-button" href="https://github.com/databrickslabs/terraform-provider-databricks/issues/new" data-color-scheme="no-preference: light; light: light; dark: dark;" data-show-count="true" aria-label="Issue databrickslabs/terraform-provider-databricks on GitHub">Issue</a>
</center>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>

0 comments on commit 8b42563

Please sign in to comment.