From c98f0f25832a94e13483cbb8cac7fcf993c340ff Mon Sep 17 00:00:00 2001 From: Scott Jungling Date: Mon, 28 Feb 2022 20:23:55 +0000 Subject: [PATCH] GitBook: [#52] No subject --- SUMMARY.md | 4 ++-- how-to/importing-external-recipes.md | 2 +- how-to/{on-premise-agent.md => on-premise-agent/README.md} | 6 +++--- .../{ => on-premise-agent}/configure-bitbucket-to-agent.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) rename how-to/{on-premise-agent.md => on-premise-agent/README.md} (96%) rename how-to/{ => on-premise-agent}/configure-bitbucket-to-agent.md (92%) diff --git a/SUMMARY.md b/SUMMARY.md index d1fecfb7..394a92f5 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -13,8 +13,8 @@ * [Integrating private code with Moderne SaaS](how-to/integrating-private-code.md) * [Importing external recipes](how-to/importing-external-recipes.md) * [Terraform Cloud integration](how-to/terraform-cloud-integration.md) -* [On-Premise Agent](how-to/on-premise-agent.md) -* [Configure BitBucket with Agent](how-to/configure-bitbucket-to-agent.md) +* [On-Premise Agent](how-to/on-premise-agent/README.md) + * [Configure BitBucket with Agent](how-to/on-premise-agent/configure-bitbucket-to-agent.md) * [🚀 Accessing the Moderne API](how-to/accessing-the-moderne-api.md) ## Releases diff --git a/how-to/importing-external-recipes.md b/how-to/importing-external-recipes.md index 9c2355ce..fca60524 100644 --- a/how-to/importing-external-recipes.md +++ b/how-to/importing-external-recipes.md @@ -18,7 +18,7 @@ Click on _Deploy_ in the left-hand menu. The artifact information will appear in the table if Moderne.io successfully locates the requested artifact. -**Note:** If you have an [on-premise agent](on-premise-agent.md) connected to an Artifactory instance, we will look up recipes in your Artifactory repositories in addition to [Nexus](https://oss.sonatype.org/) and [Maven Central](https://search.maven.org/). +**Note:** If you have an [on-premise agent](on-premise-agent/) connected to an Artifactory instance, we will look up recipes in your Artifactory repositories in addition to [Nexus](https://oss.sonatype.org) and [Maven Central](https://search.maven.org). ## Step 3: View recipes in the catalog diff --git a/how-to/on-premise-agent.md b/how-to/on-premise-agent/README.md similarity index 96% rename from how-to/on-premise-agent.md rename to how-to/on-premise-agent/README.md index 8bc7d8b7..0fc8d06e 100644 --- a/how-to/on-premise-agent.md +++ b/how-to/on-premise-agent/README.md @@ -14,7 +14,7 @@ The purpose of the Moderne on-premise agent is to encrypt and ship AST artifacts ### Run the agent container -The Moderne on-premise agent is available as an OCI image or as a spring-boot executable jar artifact. Contact Moderne to obtain access. Moderne will provide access details appropriate for your chosen platform. In example commands below we will refer to this as `${MODERNE_AGENT_IMAGE_NAME}.` The latest one will be displayed in the "Agent" section of [the releases page](releases/releases.md). +The Moderne on-premise agent is available as an OCI image or as a spring-boot executable jar artifact. Contact Moderne to obtain access. Moderne will provide access details appropriate for your chosen platform. In example commands below we will refer to this as `${MODERNE_AGENT_IMAGE_NAME}.` The latest one will be displayed in the "Agent" section of [the releases page](../releases/releases.md). {% tabs %} {% tab title="OCI Container" %} @@ -77,11 +77,11 @@ java -jar moderne-agent-{version}.jar \ {% tabs %} {% tab title="OCI Container" %} -To upgrade your version of the OCI container, just follow the instructions above, but change `${MODERNE_AGENT_IMAGE_NAME}` to the latest release of Agent on [the releases page](../releases/releases.md). +To upgrade your version of the OCI container, just follow the instructions above, but change `${MODERNE_AGENT_IMAGE_NAME}` to the latest release of Agent on [the releases page](../../releases/releases.md). {% endtab %} {% tab title="Executable JAR" %} -To update your version of the Executable JAR, change the numbered version of {agent} in the instructions above to the latest on [the releases page](../releases/releases.md). +To update your version of the Executable JAR, change the numbered version of {agent} in the instructions above to the latest on [the releases page](../../releases/releases.md). {% endtab %} {% endtabs %} diff --git a/how-to/configure-bitbucket-to-agent.md b/how-to/on-premise-agent/configure-bitbucket-to-agent.md similarity index 92% rename from how-to/configure-bitbucket-to-agent.md rename to how-to/on-premise-agent/configure-bitbucket-to-agent.md index 53805f92..257467ad 100644 --- a/how-to/configure-bitbucket-to-agent.md +++ b/how-to/on-premise-agent/configure-bitbucket-to-agent.md @@ -23,7 +23,7 @@ openssl x509 -pubkey -noout -in bitbucket_publickey.cer > bitbucket_publickey.p 2. Select _Application Links_ from the _System_ section 3. Click on "Create link" 4. Ensure that the _Application Type_ is set to _Atlassian product_ -5. Enter the the URL for your Moderne instances as the _Application URL_ ![create link](../.gitbook/assets/agent-bitbucket-create-link.png) +5. Enter the the URL for your Moderne instances as the _Application URL_ ![create link](../../.gitbook/assets/agent-bitbucket-create-link.png) 6. Click _Continue_ 7. Define a new Incoming Application with the following settings: @@ -56,7 +56,7 @@ To complete the set-up of BitBucket with the agent we will need to define the pr 2. Remove the first and last line (header and footer) of the private key. 1. First and last lines would be: `-----BEGIN PRIVATE KEY-----` and `-----END PRIVATE KEY-----` 3. Remove all newline and return characters and copy the contents of the file as a single-line string. -4. [Depending on how you run your Agent](on-premise-agent.md#run-the-agent-container), you will define the run-time variables `moderne.agent.bitbucket.private-key` with the single-line private key. +4. [Depending on how you run your Agent](./#run-the-agent-container), you will define the run-time variables `moderne.agent.bitbucket.private-key` with the single-line private key. {% hint style="info" %} **Using Bash or other shells?**