Versions Compared

Key

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

...

  1. Install and setup Docker

    sudo apt update -y

    sudo apt install -y apt-transport-https ca-certificates curl software-properties-common wget zip

    sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

    sudo apt update -y

    sudo apt install -y docker-ce

    sudo apt-get install -y docker-compose

    sudo usermod -aG docker $USER

    Note: You should logout and login back to execute docker commands

  2. Install Java & Maven 

    sudo apt update

    sudo apt install openjdk-8-jdk openjdk-8-jre -y

    sudo apt install maven -y

    bash -c 'echo  export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 >> ~/.bashrc'

  3. Setup local maven repository

    mkdir -p $HOME/.m2

    Download and copy settings.xml settings.xml to $HOME/.m2 folder
  4. Clone APPC git repository

    mkdir -p $HOME/ONAP-APPC

    cd $HOME/ONAP-APPC


    # APPC Core projects


    # TODO : For now we are using the Casablanca maintenance release tag  3.0.1-ONAP Master branch

    git clone git clone -b 3.0.1-ONAP https://github.com/onap/appc-parent

    git clone -b 3.0.1-ONAP clone https://gerrit.onap.org/r/appc

    # This for building APPC docker images

    git clone -b 3.0.1-ONAP clone https://gerrit.onap.org/r/appc/deployment

  5. Build appc-parent

    cd $HOME/ONAP-APPC/appc-parent

    # We need to increment minor version in the following POM files

    # Execute the following command to increment the minor version from 1.4.1-SNAPSHOT to 1.4.2-SNAPSHOT

...