Step 1: Create a component

Prerequisite: Before you begin

This step explains how to create a component and import the first component version for the helloWorld deployment.

Note: Components represent deployable artifacts such as files, images, databases, configuration materials, or other items in a software project. A component can contain a single or multiple artifacts. Components have versions, which ensures that proper component instances are deployed. For details, see Managing Components.

To create a component for the helloWorld deployment:

  1. In Deployment Automation, navigate to Management > Components.
  2. Click Create at the top right of the screen. The Create Component dialog box opens.

  3. In the Name field, enter the component’s name, for example, helloWorld.

  4. (Optional) In the Description field, enter additional information about the component.

  5. In the Template field, accept the default value (None).

    Templates enable you to reuse component configurations. For details, see Creating Component Templates.

  6. From the Source Config Type list, select File System (Versioned). Additional fields are displayed.

    File System (Versioned) treats each subdirectory in the source directory as a component version. For details, see File System (Versioned).

    In this deployment, your component version is the TestVersion01 subdirectory, which contains the artifacts.

  7. In the Base Path field, specify the path to the source directory of your artifacts, for example, /helloWorld.
  8. Select the Import Versions Automatically check box to set up periodic imports. Additional fields are displayed.
  9. Set Quiet Period to 60 and Polling Period to 300 to give time for adding new files between automatic imports.

    With these settings, Deployment Automation will poll for new versions every 300 seconds. After detecting and importing changes, it will pause polling for 60 minutes.

  10. Ensure the Copy to CodeStation check box is selected.

    This option creates a copy of imported artifacts and stores them in an artifact repository called CodeStation.

  11. Accept the default values for the remaining options. For details about these options, see Creating Components.

  12. Click Save.

  13. Check that the artifacts were imported. Navigate to Management > Components > helloWorld > Versions > TestVersion01. Verify that the five files, TestArtifact01.txt through TestArtifact05.txt, are present.

Back to top

Next steps: