You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software-catalog/items-management/miactl.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: miactl
4
4
sidebar_label: miactl
5
5
---
6
6
7
-
One of the possible ways to interact with the Catalog is through [`miactl`](/cli/miactl/10_overview.md), the Mia-Platform Command Line Interface.
7
+
One of the possible ways to interact with the Catalog is through [`miactl`](/cli/miactl/10_overview.md), the Mia-Platform Command Line Interface.
8
8
9
9
:::tip
10
10
Before getting started, make sure you have completed the [setup guide](/cli/miactl/20_setup.md).
@@ -75,7 +75,7 @@ The idea behind the automation of the managing process is to leverage a CI/CD to
75
75
76
76
Any CI/CD tool will do the trick, but in this example we will focus on a Gitlab pipeline.
77
77
78
-
First of all, you need to create a **service account** on the Console, using, for example, the [Client Secret Basic authentication](/development_suite/identity-and-access-management/manage-service-accounts.md#adding-a-service-account).
78
+
First of all, you need to create a **service account** on the Console, using, for example, the [Client Secret Basic authentication](/development_suite/identity-and-access-management/manage-service-accounts.md#adding-a-service-account).
79
79
80
80
With the account in place, create a `CLIENT_ID` and a `CLIENT_SECRET`[Gitlab CI/CD Variable](https://docs.gitlab.com/ee/ci/variables/) in your project and set the respective `client-id` and `client-secret` values you obtained during the setup of the service account.
@@ -139,4 +139,4 @@ In this way, even users without the permission to manage the Catalog directly ca
139
139
140
140
When deleting an item or an item's version from the Catalog, keep in mind that you need to work both on the repository and on the Catalog itself, since a declarative approach usually works only in addition (i.e., deleting a manifest from the repository will not remove the item from the Catalog).
141
141
142
-
Therefore, remove the manifest from Git and use the `miactl marketplace delete` command to clean the Catalog.
142
+
Therefore, remove the manifest from Git and use the `miactl catalog delete` command to clean the Catalog.
- In the linked repository create the Jenkins pipeline template at `services/node.xml`, this will instruct Jenkins to build the service when a new commit is pushed to the repository and run the
@@ -199,15 +199,15 @@ pipeline as defined in the linked `Jenkinsfile`. This template will be interpola
199
199
- `mia_template_service_name_placeholder`name of the service, as specified in the Project
200
200
- `mia_template_project_id_placeholder`the identifier of the Project
201
201
- `mia_template_image_name_placeholder`the image name of the service, as specified in the Project
202
-
- `%CUSTOM_PLUGIN_PROJECT_NAME%`name of the Project
202
+
- `%CUSTOM_PLUGIN_PROJECT_NAME%`name of the Project
Copy file name to clipboardExpand all lines: docs/software-catalog/tutorials/software-catalog.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ For a detailed explanation of the required metadata please refere to [this guide
57
57
5.`Name` that is the name of the service
58
58
6.`Description`
59
59
7.`Repository Url` which is the url to the source code of the service
60
-
8.`Docker Image`
60
+
8.`Docker Image`
61
61
62
62
:::caution
63
63
The `Asstes` object have a different spec based on the `Item Type` the exaple provided in this guide is related to the components of item `plugin`
@@ -122,7 +122,7 @@ For reference this is the `Assets` object configuration for an hypothetical plug
122
122
```
123
123
124
124
:::caution
125
-
The `componentId` and `name` fields must be equal.
125
+
The `componentId` and `name` fields must be equal.
126
126
:::
127
127
128
128
1.**Complete the process** – Follow the on-screen instructions, then save and submit the item to add it to the Catalog.
@@ -136,7 +136,7 @@ Using `miactl` requires setting up the CLI beforehand. For more details, refer t
136
136
:::
137
137
138
138
:::info
139
-
For testing purpose you can use your own account to create context and log-in the Mia-Platform Console using miactl.
139
+
For testing purpose you can use your own account to create context and log-in the Mia-Platform Console using miactl.
140
140
For production purpose the use of a `Service Account` with the `Company Owner` permission is recommended. To know more about service accounts follow this [documentation page](/development_suite/identity-and-access-management/manage-service-accounts.md).
141
141
:::
142
142
@@ -199,7 +199,7 @@ Once the `manifest.json` is ready, the following commands are needed to release
0 commit comments