Sai Gandham | 67a6d89 | 2018-10-10 04:31:59 -0500 | [diff] [blame] | 1 | |
Instrumental | a4c6043 | 2018-11-02 06:07:31 -0500 | [diff] [blame] | 2 | The CSIT functions are started by Jenkins, starting with the "setup.sh" |
| 3 | in the csit/plans/aaf/aafapi directory (where 'csit' is an ONAP Project) |
Sai Gandham | 67a6d89 | 2018-10-10 04:31:59 -0500 | [diff] [blame] | 4 | |
Instrumental | a4c6043 | 2018-11-02 06:07:31 -0500 | [diff] [blame] | 5 | You can emulate the JENKINS build locally |
Sai Gandham | 67a6d89 | 2018-10-10 04:31:59 -0500 | [diff] [blame] | 6 | |
Instrumental | a4c6043 | 2018-11-02 06:07:31 -0500 | [diff] [blame] | 7 | 1) Start in the directory you put your ONAP source in |
| 8 | cd <root onap source dir> |
| 9 | 2) If not exist, create a "workspace" directory. |
| 10 | mkdir -p workspace |
| 11 | 3) Create an empty common functions script |
| 12 | > workspace/common_functions.sh |
| 13 | 4) cd to the plans |
| 14 | cd csit/plans/aaf/aafapi |
| 15 | 5) Run setup with variables set to the Workspace you created |
| 16 | WORKSPACE=/workspace; SCRIPTS=$WORKSPACE; export WORKSPACE SCRIPTS; bash setup.sh |
Sai Gandham | 67a6d89 | 2018-10-10 04:31:59 -0500 | [diff] [blame] | 17 | |
Instrumental | a4c6043 | 2018-11-02 06:07:31 -0500 | [diff] [blame] | 18 | 6) To practice the Shutdown, do: |
| 19 | WORKSPACE=/workspace; SCRIPTS=$WORKSPACE; export WORKSPACE SCRIPTS; bash teardown.sh |
| 20 | |
Sai Gandham | 67a6d89 | 2018-10-10 04:31:59 -0500 | [diff] [blame] | 21 | |