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
@@ -36,7 +36,7 @@ the guide in published form, view it on the https://kabanero.io/guides/{projecti
36
36
== What you will learn
37
37
38
38
You will learn how to create a local Kabanero Collection Hub for your organisation. After learning about
39
-
the general structure of a Collection, you will apply some changes for an application stack. You will then
39
+
the general structure of Collections, you will apply some changes for an application stack. You will then
40
40
build, test, and publish your own customised Kabanero Collection.
41
41
42
42
This guide does not cover working with Tekton pipelines, which is the subject of a separate guide.
@@ -65,14 +65,14 @@ https://pypi.org/project/PyYAML/[pyyaml] for processing YAML files.
65
65
A Kabanero Collection Hub contains a set of Kabanero Collections that organisations can use to develop, build, and deploy
66
66
containerized, microservice-based applications.
67
67
68
-
A Kabanero Collection includes an Appsody stack, together with build and deployment artifacts, such as Tekton pipelines. Stacks
69
-
consist of base container images and project templates for different language runtimes and framework, such as Eclipse Microprofile
70
-
with Open Liberty, or Node.js with Express.
68
+
A Kabanero Collection includes an Appsody stack, together with build and deployment artifacts, such as Tekton pipelines along with an enterprise-grade Kubernetes operator for deployment and day2 operations of the runtime and framework. Appsody Stacks
69
+
consist of base container images and project templates for a specific language runtime and framework, such as Eclipse Microprofile
70
+
with Open Liberty, Spring Boot with Tomcat or Node.js with Express.
71
71
72
72
== Creating a local Kabanero Collection Hub
73
73
74
74
The *public* Kabanero Collection Hub contains all the latest collections from the Kabanero project. Before working with
75
-
Kabanero Collections, you must create a Kabanero Collection Hub locally by cloning the public GitHub repository.
75
+
Kabanero Collections, you must create a Kabanero Collection Hub locally by cloning the public GitHub repository. This will allow you to customize, enable or disable individual Collections for your enterprise. Customizations you make can be merged with future updates from the public Collection Hub using standard Git.
76
76
77
77
Run the following commands to clone the public Kabanero Collection Hub and push a copy of your repository (`private-org`) to your
@@ -97,8 +99,7 @@ Kabanero Collections are categorized into one of the following collection types:
97
99
98
100
- **stable** collections meet a set of predefined technical requirements.
99
101
- **incubator** collections are actively being worked on to meet the requirements for a **stable** collection.
100
-
- **experimental** collections are just that! You can use them for proof of concept work or to try out specific
101
-
scenarios, but these collections are not being actively worked on.
102
+
- **experimental** collections are just that! Early delivery of experimental collections allow for testing and socialization of new technologies and approaches to solving problems. Quality may vary.
102
103
103
104
Although three categories are available, Kabanero builds only **incubator** collections.
104
105
@@ -144,9 +145,9 @@ collection-1
144
145
└── [example files as a starting point for a more complex application]
145
146
```
146
147
147
-
When you build a collection, the build processes some files in this structure to generate a Docker image for the collection.
148
-
Other files, such as templates and pipelines, are compressed and stored as `tar` files in an Appsody repository. The Docker
149
-
images are used by the Appsody CLI to generate a development Docker container for local application development.
148
+
When you build a collection, the build processes some files in this structure to generate a container image for the collection.
149
+
Other files, such as templates and pipelines, are compressed and stored as `tar` files in an Appsody repository. The container
150
+
images are used by the Appsody CLI to generate a container for local application development.
150
151
151
152
By modifying the files in a collection you can customize a collection for your organisation. The following list describes each
152
153
file and its purpose:
@@ -158,14 +159,14 @@ Defines the different attributes of the stack and which template the stack shoul
158
159
`collection.yaml`::
159
160
Defines the different attributes of the collection and which container image and pipeline the collection should use by default.
160
161
`app-deploy.yaml`::
161
-
Defines the configuration for deploying an Appsody project that uses the Appsody Operator. The Appsody Operator can install,
162
+
Defines the configuration for deploying an Appsody project that uses the Appsody Operator. The Appsody Operator is a Kubernetes operator that can install,
162
163
upgrade, remove, and monitor application deployments on Kubernetes clusters.
163
164
`Dockerfile`::
164
-
Defines the deployment Docker image that is created by the `appsody build` command. The Dockerfile contains the content
165
+
Defines the deployment container image that is created by the `appsody build` command. The Dockerfile contains the content
165
166
from the stack and the application that is created by a developer, which is typically based on one of the templates. The image
166
-
can be used to run the final application in a test or production environment where the Appsody CLI is not present.
167
+
can be used to run the final application in a test or production Kubernetes environment where the Appsody CLI is not present.
167
168
`Dockerfile-stack`::
168
-
Defines the development Docker image for the stack, exposed ports, and a set of Appsody environment variables that can be used during
169
+
Defines the development container image for the stack, exposed ports, and a set of Appsody environment variables that can be used during
169
170
local application development.
170
171
`LICENSE`::
171
172
Details the license terms for the Collection.
@@ -177,18 +178,20 @@ This directory contains pre-configured templates for applications that can be us
177
178
a developer get started with a development project.
If there are Kabanero Collections that you never need, you can delete them. Simply delete the directory that contains the collection
308
+
If there are Collections that you never need, you can delete them. Simply delete the directory that contains the collection
306
309
before you build. As an alternative, you can set environment variables to exclude collections from the build
307
310
process, which is covered later in the build section.
308
311
309
312
== Setting up a local build environment
310
313
311
-
In addition to the tools that are defined in the **pre-requisites** section of this guide, to correctly build a
312
-
Kabanero Collection, set the following environment variables by running `export <ENVIRONMENT_VARIABLE=option>` on the command line:
314
+
In addition to the tools that are defined in the **pre-requisites** section of this guide, to correctly build a Collection, set the following environment variables by running `export <ENVIRONMENT_VARIABLE=option>` on the command line:
313
315
314
316
`IMAGE_REGISTRY_ORG=kabanero`::
315
317
Defines the organization for images
316
318
`CODEWIND_INDEX=false`::
317
319
Defines whether to build the Codewind index file for application development in VS Code, Eclipse, or Eclipse Che. If you
318
320
want to build and test a collection for use with Codewind in an IDE, change this value to `true`.
Now that you've built your customized Kabanero Collection Hub, remember to do the following tasks:
448
+
Now that you've built your local Collection Hub and customized your Collections, remember to do the following tasks:
447
449
448
-
. Publish the release URL to your developers so that they can set up Appsody CLI or Codewind to point at the new Collection Hub.
449
-
. Activate the collections in the target Kabanero instance so that the Tekton pipelines can be installed in that environment.
450
+
. Publish the release URL to your developers so that they can set up Appsody CLI or Eclipse Codewind IDE Extensions to point at the new Collection Hub.
451
+
. Activate the Collections in the target Kabanero instance so that the Tekton pipelines can be installed in that environment.
0 commit comments