Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Follow these steps to get up and running with MettleCI as quickly and easily as possible with one of your existing DataStage Projects.

1. Gather your required information

Note that before you proceed with MettleCI installation and configuration you should have the following information to hand:

...

Perhaps you’ll need to create your first project Git repository. This will depend upon the Git technology you use, and will be subtly different for GitHub, GitLab, Bitbucket, Azure DevOps, etc. Follow the instructions for your preferred system and ensure you capture the information.

Status
colourGreen
titleMilestone
: You’ve verified that you can connect to DataStage, Git, and Work Item Management using your credentials/SSH keys.

2. Install MettleCI Workbench

Start by installing MettleCI Workbench on your DataStage development Engine tier host.

See our super-simple instructions for Engine tiers hosted on Unix and Windows platforms.

Status
colourGreen
titleMilestone
: You can log in to the MettleCI Workbench using your DataStage credentials.

3.

...

On-board your first DataStage project

...

3a. Establish version control baseline

Extract a whole-of-Project archive (.isx) containing only the design information. Do not include any executables (i.e. binaries) nor any dependent items. See IBM’s instructions on using the istool to perform ISX exports here.

Process the archive and check it into the corresponding Git repository by following the instructions for Bulk Check-in Using MettleCI Command Shell and Git.

3b. Register the Project in MettleCI Workbench

MettleCI Workbench uses a selected DataStage Project for its working context. A DataStage project needs to be registered with the Workbench before you can use MettleCI with it. Follow the instructions for registering a DataStage Project with MettleCI Workbench.

Status
colourGreen
titleMilestone
: MettleCI Workbench can operate on the DataStage project, and it is listed in the drop-down project list at the top of the Workbench.

4. Try MettleCI Compliance

4a. Create your compliance rule Git repository

???

Configure your Compliance Rules

???

...

Follow the steps required to create your Compliance Rule Git repository.

Status
colourGreen
titleMilestone
: You have an operational Git repository containing a set of template MettleCI Compliance Rules.

4b. Execute Compliance against a DataStage Job

Follow the steps to execute compliance against a selected DataStage job.

Note that you’ll definitely get some Compliance failures with your first execution! At the very least expect the supplied Job and Stage naming standards to differ to yours!

Status
colourGreen
titleMilestone
: Compliance results for one of your DataStage jobs.

5. Try MettleCI Unit Testing

5a. Install the Parallel Unit Test Harness

...

???

(if you use Parallel jobs)

Follow the steps to install the Parallel Unit Test harness.

5b. Create your first Unit Test???

Follow the steps to configure your environment for Unit Testing, then create your first Unit Test.

You’ll then need to either manually create Unit Test data, or capture it from existing Unit Test data, after which you can execute your Unit Test.

Status
colourGreen
titleMilestone
: You can use MettleCI Workbench to observe Unit Test results for your selected DataStage job.

Panel
borderColorblack
bgColorwhite
borderWidth5
borderStylesolid

Now you’re ready to start exploring MettleCI!