Skip to content

Commit

Permalink
Merge pull request #17 from consag/develop
Browse files Browse the repository at this point in the history
Fix for FitNesse
  • Loading branch information
jacbeekers authored May 6, 2020
2 parents 767af1f + da04285 commit 42cb6b5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,42 @@
# CI-CD Pipeline, Provisioning and Maintenance components for Informatica projects

## Dependencies

* Crypto module for password encryption. Depending on the method you want to use, you need to install one of the following packages:
pip install pycryptodome
pip install cryptography
pip install pycryptodome
pip install cryptography
* setuptools for upload and download of Nexus artifacts
pip install setuptools
pip install setuptools

## Checks after installation
#### Check if encryption works:
- Create a virtualenv
- Run: python3 supporting/encryption.py
Output: Hello encrypted world!

### Check if encryption works

* Create a virtualenv
* Run: python3 supporting/encryption.py
Output: Hello encrypted world!

## License

MIT

## Principles

### deploy lists

* All components expect a deploylist text file as input. You should keep deploylists in your source code Git. Suggested location:
<root>/<feature>/config/<deploylist> where <root> is the base location within your Git, <feature> is your submodule (if any), and <deploylist> is the text file that contains the items to be deployed.
For example:
<myGit>/demo/config/oracle_deploylist.txt
<myGit>/demo/config/infa_deploylist.txt

### environment variables

* The python scripts use environment variables to determine locations, features and many other parameters. The environment variables that can or at times must be set can be found in:
* generalSettings: log directory, artifact directory, configuration directory and more
* infaSettings: deploy list location, Informatica source and target variables like INFA_HOME, location infacmd, connectivity to domain and Model Repository
* dbSettings: deploy list location, location of sql files, sqlprefix

## Examples
Check the examples folder for more info on the structure of deploy lists.

Check the examples folder for more info on the structure of deploy lists.
2 changes: 2 additions & 0 deletions cicd/fitnesse/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
from supporting.generatezip import generate_zip
from supporting.generatezip import addto_zip
from supporting.filehandling import copy_file
from supporting import filehandling
import supporting.generalSettings as generalSettings

logger = logging.getLogger(__name__)
Expand All @@ -48,6 +49,7 @@ def processList(deployFile):
latestError = err.OK
result, deployItems = supporting.deploylist.getWorkitemList(deployFile)
if result.rc == err.OK.rc:
filehandling.create_directory(settings.targetfitnessedir)
copy_file(deployFile, generalSettings.artifactDir)
for deployEntry in supporting.deploylist.deployItems:
result = processEntry(deployEntry)
Expand Down
2 changes: 1 addition & 1 deletion version/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.13"
__version__ = "1.2.15"

0 comments on commit 42cb6b5

Please sign in to comment.