Commit a3159909 authored by Guillermo Gomez Chavez's avatar Guillermo Gomez Chavez
Browse files

testing dev installation of charm

parent 8609b8ca
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -20,6 +20,11 @@ before_script: # TODO: how to reuse installation?
    - pip3 install -r osmclient/requirements.txt
    - pip3 install osmclient/
    - rm -rf osmclient/ IM/
    - echo "Installing charm"
    - git clone https://github.com/canonical/charmcraft.git
    - cd charmcraft
    - pip3 install -e .[dev]
    - cd ../
    - declare -a PACKAGES_TO_REVIEW=("charm-packages" "nscharm_policy_vnf" "hackfest_vyos_vnf" "nscharm_ns" "several_volumes_vnf" "magma" "k8s_jujucontroller_vnf" "simple_nopassword_vnf" "slice_basic_nst" "nschram_user_vnf")
    - >
        for nfv in "${PACKAGES_TO_REVIEW[@]}"; do
@@ -40,6 +45,7 @@ build-local-repository:
    - echo "Using OSM CLI repo-index tool to validate packages"
    - export LC_ALL=C.UTF-8
    - export LANG=C.UTF-8
    - export CHARMCRAFT_DEVELOPER=y
    - osm -vvv repo-index --origin . --destination vnf-catalog
    - echo "Packages validated"