
-
Build Code
+
Build and Test Code
@@ -143,4 +143,4 @@ export default function CI() {
//
);
-}
\ No newline at end of file
+}
diff --git a/src/components/LandingPage/GetStarted.tsx b/src/components/LandingPage/GetStarted.tsx
index 0602256af1a..35cc1ec46be 100644
--- a/src/components/LandingPage/GetStarted.tsx
+++ b/src/components/LandingPage/GetStarted.tsx
@@ -24,7 +24,7 @@ type FeatureItem = {
const FeaturedList: FeatureItem[] = [
{
- title: 'Build Code',
+ title: 'Build and Test Code',
module: 'ci',
Svg: '/img/icon_ci.svg',
description: (
@@ -152,4 +152,4 @@ export default function GetStarted() {
);
-}
\ No newline at end of file
+}
diff --git a/tutorials/build-code.md b/tutorials/build-code.md
index 725c9e3640f..0ad14b9e92d 100644
--- a/tutorials/build-code.md
+++ b/tutorials/build-code.md
@@ -1,10 +1,10 @@
---
hide_table_of_contents: true
hide_title: true
-title: Build Code
+title: Build and Test Code
---
-
+
From a1bc5e1473327b06eb116b3b94caa3babb6f8aa8 Mon Sep 17 00:00:00 2001
From: Sid Choudhury
Date: Sun, 20 Nov 2022 17:41:54 -0800
Subject: [PATCH 08/13] added terraform onboarding tutorial along with few
other changes
---
docs/{first-gen-docs => first-gen}/sample.md | 2 +-
docs/get-started/sample.md | 5 -
docs/{harness-platform => platform}/sample.md | 0
docusaurus.config.js | 19 +-
sidebars.js | 70 ++---
src/components/HarnessU/index.tsx | 2 +-
src/components/HomepageFeatures/index.tsx | 6 +-
src/components/LandingPage/AllTutorials.tsx | 38 +++
.../LandingPage/ContinuousDelivery.tsx | 2 +-
src/components/LandingPage/Platform.tsx | 19 +-
src/components/LearnAboutPlatform/index.tsx | 33 ++-
tutorials/get-started.md | 2 +-
tutorials/intro.md | 11 -
tutorials/platform/install-delegate.md | 4 +-
.../platform/onboard-terraform-provider.md | 243 ++++++++++++++++++
.../install-delegate/docker_delegate_type.png | Bin 321024 -> 0 bytes
.../install-delegate/helm_values_yaml.png | Bin 377675 -> 0 bytes
.../install-delegate/k8s_delegate_options.png | Bin 479544 -> 0 bytes
.../install-delegate/k8s_delegate_type.png | Bin 399692 -> 0 bytes
.../install-delegate/k8s_manifest_yaml.png | Bin 105967 -> 0 bytes
20 files changed, 360 insertions(+), 96 deletions(-)
rename docs/{first-gen-docs => first-gen}/sample.md (88%)
delete mode 100644 docs/get-started/sample.md
rename docs/{harness-platform => platform}/sample.md (100%)
delete mode 100644 tutorials/intro.md
create mode 100644 tutorials/platform/onboard-terraform-provider.md
delete mode 100644 tutorials/platform/static/install-delegate/docker_delegate_type.png
delete mode 100644 tutorials/platform/static/install-delegate/helm_values_yaml.png
delete mode 100644 tutorials/platform/static/install-delegate/k8s_delegate_options.png
delete mode 100644 tutorials/platform/static/install-delegate/k8s_delegate_type.png
delete mode 100644 tutorials/platform/static/install-delegate/k8s_manifest_yaml.png
diff --git a/docs/first-gen-docs/sample.md b/docs/first-gen/sample.md
similarity index 88%
rename from docs/first-gen-docs/sample.md
rename to docs/first-gen/sample.md
index b50878b8150..48f5dcee87c 100644
--- a/docs/first-gen-docs/sample.md
+++ b/docs/first-gen/sample.md
@@ -1,4 +1,4 @@
-# FirstGen docs coming soon
+# Harness FirstGen
FirstGen docs will be available here soon.
diff --git a/docs/get-started/sample.md b/docs/get-started/sample.md
deleted file mode 100644
index 3326c165445..00000000000
--- a/docs/get-started/sample.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Get started docs coming soon
-
-Get started docs will be available here soon.
-
-In the meantime, you can find existing docs at: [https://docs.harness.io/category/kx4hs8bn38-getting-started](https://docs.harness.io/category/kx4hs8bn38-getting-started).
\ No newline at end of file
diff --git a/docs/harness-platform/sample.md b/docs/platform/sample.md
similarity index 100%
rename from docs/harness-platform/sample.md
rename to docs/platform/sample.md
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 33964f3ea93..bec4e10829d 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -84,6 +84,11 @@ const config = {
type: "dropdown",
label: "Tutorials",
items: [
+ {
+ // type: "doc",
+ label: "All Tutorials",
+ to: "tutorials/get-started",
+ },
{
// type: "doc",
label: "Build Code",
@@ -124,8 +129,8 @@ const config = {
},
{
// type: "doc",
- label: "Install Delegate",
- to: "tutorials/platform/install-delegate",
+ label: "Administer Harness Platform",
+ to: "tutorials/platform",
},
],
},
@@ -135,8 +140,8 @@ const config = {
label: "Documentation",
items: [
{
- label: "Get started",
- to: "docs/get-started",
+ label: "Get Started",
+ to: "tutorials/get-started",
},
{
label: "Continuous Integration",
@@ -168,15 +173,15 @@ const config = {
},
{
label: "Harness Platform",
- to: "docs/harness-platform",
+ to: "docs/platform",
},
{
label: "Self-Managed Enterprise Edition",
to: "docs/self-managed-enterprise-edition",
},
{
- label: "FirstGen docs",
- to: "docs/first-gen-docs",
+ label: "Harness FirstGen",
+ to: "docs/first-gen",
},
{
label: "FAQs",
diff --git a/sidebars.js b/sidebars.js
index df0dd7db91a..470be1a9015 100644
--- a/sidebars.js
+++ b/sidebars.js
@@ -10,7 +10,7 @@ const sidebars = {
label: "Tutorials",
link: {
type: "doc",
- id: "tutorials/intro",
+ id: "tutorials/get-started",
},
collapsed: false,
items: [
@@ -149,30 +149,6 @@ const sidebars = {
},
collapsed: true,
items: [
- {
- /*
- type: "doc",
- label: "Get started",
- id: "docs/get-started",
- */
- type: "category",
- label: "Get started",
- link: {
- type: "generated-index",
- slug: "/docs/get-started",
- /* Uncomment this block while we have a lading page for module docs
- type: "doc",
- id: "docs/get-started",
- */
- },
- collapsed: true,
- items: [
- {
- type: "autogenerated",
- dirName: "docs/get-started",
- },
- ],
- },
{
/*
type: "doc",
@@ -184,7 +160,7 @@ const sidebars = {
link: {
type: "generated-index",
slug: "/docs/continuous-integration",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/continuous-integration",
*/
@@ -204,11 +180,11 @@ const sidebars = {
id: "docs/continuous-delivery",
*/
type: "category",
- label: "Continuous Delivery",
+ label: "Continuous Delivery & GitOps",
link: {
type: "generated-index",
slug: "/docs/continuous-delivery",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/continuous-delivery",
*/
@@ -232,7 +208,7 @@ const sidebars = {
link: {
type: "generated-index",
slug: "/docs/feature-flags",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/feature-flags",
*/
@@ -256,7 +232,7 @@ const sidebars = {
link: {
type: "generated-index",
slug: "/docs/cloud-cost-management",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/cloud-cost-management",
*/
@@ -280,7 +256,7 @@ const sidebars = {
link: {
type: "generated-index",
slug: "/docs/service-reliability-management",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/security-testing-orchestration",
*/
@@ -304,7 +280,7 @@ const sidebars = {
link: {
type: "generated-index",
slug: "/docs/security-testing-orchestration",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/security-testing-orchestration",
*/
@@ -328,7 +304,7 @@ const sidebars = {
link: {
type: "generated-index",
slug: "/docs/chaos-engineering",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/chaos-engineering",
*/
@@ -345,14 +321,14 @@ const sidebars = {
/*
type: "doc",
label: "Harness Platform",
- id: "docs/harness-platform",
+ id: "docs/platform",
*/
type: "category",
label: "Harness Platform",
link: {
type: "generated-index",
- slug: "/docs/harness-platform",
- /* Uncomment this block while we have a lading page for module docs
+ slug: "/docs/platform",
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/platform",
*/
@@ -361,7 +337,7 @@ const sidebars = {
items: [
{
type: "autogenerated",
- dirName: "docs/harness-platform",
+ dirName: "docs/platform",
},
],
},
@@ -372,11 +348,11 @@ const sidebars = {
id: "docs/self-managed-enterprise-edition",
*/
type: "category",
- label: "Self Managed Enterprise Edition",
+ label: "Self-Managed Enterprise Edition",
link: {
type: "generated-index",
slug: "/docs/self-managed-enterprise-edition",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/self-managed-enterprise-edition",
*/
@@ -393,23 +369,23 @@ const sidebars = {
/*
type: "doc",
label: "FirstGen docs",
- id: "docs/first-gen-docs",
+ id: "docs/first-gen",
*/
type: "category",
- label: "FirstGen docs",
+ label: "Harness FirstGen",
link: {
type: "generated-index",
- slug: "/docs/first-gen-docs",
- /* Uncomment this block while we have a lading page for module docs
+ slug: "/docs/first-gen",
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
- id: "docs/first-gen-docs",
+ id: "docs/first-gen",
*/
},
collapsed: true,
items: [
{
type: "autogenerated",
- dirName: "docs/first-gen-docs",
+ dirName: "docs/first-gen",
},
],
},
@@ -424,7 +400,7 @@ const sidebars = {
link: {
type: "generated-index",
slug: "/docs/frequently-asked-questions",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/frequently-asked-questions",
*/
@@ -448,7 +424,7 @@ const sidebars = {
link: {
type: "generated-index",
slug: "/docs/troubleshooting",
- /* Uncomment this block while we have a lading page for module docs
+ /* Uncomment this block while we have a landing page for module docs
type: "doc",
id: "docs/troubleshooting",
*/
diff --git a/src/components/HarnessU/index.tsx b/src/components/HarnessU/index.tsx
index 86ae9daf393..513f06cb6c3 100644
--- a/src/components/HarnessU/index.tsx
+++ b/src/components/HarnessU/index.tsx
@@ -44,7 +44,7 @@ export default function HarnessU(): JSX.Element {

-
4 Certifications
+
1 Certification
diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx
index c7b1f29f28d..28c8c2c64b6 100644
--- a/src/components/HomepageFeatures/index.tsx
+++ b/src/components/HomepageFeatures/index.tsx
@@ -107,16 +107,16 @@ const FeatureList: FeatureItem[] = [
link: '/tutorials/run-chaos-experiments',
},
{
- title: 'Install Delegate',
+ title: 'Administer Harness Platform',
module: 'platform',
Svg: '/img/logo.svg',
description: (
<>
- Connect your infrastructure with Harness Platform using Docker & Kubernetes Delegate.
+ Install a Kubernetes or Docker delegate, Onboard with Terraform Provider.
>
),
type: [docType.Documentation],
- link: '/tutorials/platform/install-delegate',
+ link: '/tutorials/platform',
},
];
diff --git a/src/components/LandingPage/AllTutorials.tsx b/src/components/LandingPage/AllTutorials.tsx
index 8e691bf7aa5..f342fae09cf 100755
--- a/src/components/LandingPage/AllTutorials.tsx
+++ b/src/components/LandingPage/AllTutorials.tsx
@@ -257,6 +257,35 @@ const CEList: FeatureItem[] = [{
link: '/tutorials/run-chaos-experiments/chaos-experiment-from-blank-canvas'
}];
+const PlatformList: FeatureItem[] = [{
+ title: 'Install Delegate',
+ module: 'platform',
+ description: (
+ <>
+ Install a Docker or Kubernetes Delegate on your infrastructure.
+ >
+ ),
+ ribbon: false,
+ type: [docType.Documentation],
+ time: '5 min',
+ link: '/tutorials/platform/install-delegate',
+},
+{
+ title: 'Onboard with Terraform',
+ module: 'platform',
+ description: (
+ <>
+ Automate lifecycle management of orgs, projects, services, environments, connectors and pipelines using the Harness Terraform Provider.
+ >
+ ),
+ ribbon: true,
+ type: [docType.Documentation],
+ time: '5 min',
+ link: '/tutorials/platform/onboard-terraform-provider',
+},
+
+];
+
export default function AllTutorials() {
return (
//
@@ -340,6 +369,15 @@ export default function AllTutorials() {