blob: 81e3e4f485308e8515fcfebfbf6ca2af9e66dfdc [file] [log] [blame]
Instrumental7a1817b2018-11-05 11:11:15 -06001#########
2## ============LICENSE_START====================================================
3## org.onap.aaf
4## ===========================================================================
5## Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6## ===========================================================================
7## Licensed under the Apache License, Version 2.0 (the "License");
8## you may not use this file except in compliance with the License.
9## You may obtain a copy of the License at
10##
11## http://www.apache.org/licenses/LICENSE-2.0
12##
13## Unless required by applicable law or agreed to in writing, software
14## distributed under the License is distributed on an "AS IS" BASIS,
15## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16## See the License for the specific language governing permissions and
17## limitations under the License.
18## ============LICENSE_END====================================================
19##
Sai Gandham67a6d892018-10-10 04:31:59 -050020
Instrumentala4c60432018-11-02 06:07:31 -050021The CSIT functions are started by Jenkins, starting with the "setup.sh"
22in the csit/plans/aaf/aafapi directory (where 'csit' is an ONAP Project)
Sai Gandham67a6d892018-10-10 04:31:59 -050023
Instrumentala4c60432018-11-02 06:07:31 -050024You can emulate the JENKINS build locally
Sai Gandham67a6d892018-10-10 04:31:59 -050025
Instrumentala4c60432018-11-02 06:07:31 -0500261) Start in the directory you put your ONAP source in
27 cd <root onap source dir>
282) If not exist, create a "workspace" directory.
29 mkdir -p workspace
Instrumentalce76c7d2019-02-21 07:18:51 -0600303) cd to workspace
314) export WORKSPACE="${PWD}"
325) Create an empty common functions script
33 > common_functions.sh
346) cd to the plans
35 cd ../csit/plans/aaf/aafapi
367) Run setup with variables set to the Workspace you created
37SCRIPTS=$WORKSPACE; export WORKSPACE SCRIPTS; bash setup.sh
Sai Gandham67a6d892018-10-10 04:31:59 -050038
Instrumentalce76c7d2019-02-21 07:18:51 -0600398) To practice the Shutdown, do:
40SCRIPTS=$WORKSPACE; export WORKSPACE SCRIPTS; bash teardown.sh
Instrumentala4c60432018-11-02 06:07:31 -050041
Instrumentalce76c7d2019-02-21 07:18:51 -060042OTHER) If nexus isn't working (and you have the latest images to test with), you can
43 export SKIP_PULL=true
Sai Gandham67a6d892018-10-10 04:31:59 -050044