Skip to content
Snippets Groups Projects
Commit 78cb36b8 authored by Guillermo Gomez Chavez's avatar Guillermo Gomez Chavez
Browse files

Ignoring packages pending to fix

parent ba861d50
No related branches found
No related tags found
1 merge request!165Draft: Packages testing with osm client
Pipeline #2114 failed with stage
in 2 minutes and 42 seconds
...@@ -14,13 +14,17 @@ before_script: # TODO: how to reuse installation? ...@@ -14,13 +14,17 @@ before_script: # TODO: how to reuse installation?
- pip3 install IM/ - pip3 install IM/
- git clone https://osm.etsi.org/gerrit/osm/osmclient.git - git clone https://osm.etsi.org/gerrit/osm/osmclient.git
- cd osmclient - cd osmclient
- git fetch origin refs/changes/43/11146/2 && git checkout FETCH_HEAD - git fetch origin refs/changes/78/11178/1 && git checkout FETCH_HEAD
- cd ../ - cd ../
- pip3 install -r osmclient/requirements.txt - pip3 install -r osmclient/requirements.txt
- pip3 install osmclient/ - pip3 install osmclient/
- rm -rf osmclient/ IM/ - rm -rf osmclient/ IM/
- mv magma/* . - 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")
- mv charm-packages/* . - >
for nfv in "${PACKAGES_TO_REVIEW[@]}"; do
echo "Ignoring $nfv until it is revised"
rm -rf $nfv
done
############################################################################### ###############################################################################
...@@ -32,25 +36,22 @@ build-local-repository: ...@@ -32,25 +36,22 @@ build-local-repository:
only: only:
- merge_requests - merge_requests
script: script:
- echo "Build OK" - echo "Using OSM CLI repo-index tool to validate packages"
- export LC_ALL=C.UTF-8 - export LC_ALL=C.UTF-8
- export LANG=C.UTF-8 - export LANG=C.UTF-8
- osm -vvv repo-index --origin . --destination vnf-catalog - osm -vvv repo-index --origin . --destination vnf-catalog
# - LC_ALL=C.UTF-8 oLANG=C.UTF-8 osm -vvv repo-index --origin . --destination vnf-catalog - echo "Packages validated"
# - |
# sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P 29419 osmsupport@vnf-catalog.etsi.org << EOF
# put -r vnf-catalog/* Testing/Premerge
# EOF
publish-repository: # TODO: Create and push to FTP repo
# Builds the repository and pushes it to ftp site when a MR is accepted # TODO: how is it pushed? #publish-repository:
image: ubuntu:18.04 # # Builds the repository and pushes it to ftp site when a MR is accepted
stage: deploy # image: ubuntu:18.04
only: # stage: deploy
- master # only:
script: # - master
- echo "Build OK" # script:
# - echo "Build OK"
# - LC_ALL=C.UTF-8 oLANG=C.UTF-8 osm -vvv repo-index --origin . --destination vnf-catalog # - LC_ALL=C.UTF-8 oLANG=C.UTF-8 osm -vvv repo-index --origin . --destination vnf-catalog
# - | # - |
# sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P 29419 osmsupport@vnf-catalog.etsi.org << EOF # sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P 29419 osmsupport@vnf-catalog.etsi.org << EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment