Skip to content
Snippets Groups Projects

Updated hackfest_multivdu_vnf: changed image from US1604 to ubuntu20.04

Merged aguilarherna requested to merge hackfest_multivdu into master
+ 14
10
@@ -10,17 +10,19 @@ publish-repository:
- git submodule update
- python3 -m pip install wheel pyang pyangbind
- git clone https://osm.etsi.org/gerrit/osm/IM.git
- pip3 install -r IM/requirements.txt
- pip3 install IM/
- git clone https://osm.etsi.org/gerrit/osm/osmclient.git
- pip3 install -r osmclient/requirements.txt
- pip3 install osmclient/
- rm -rf osmclient/ IM/
- mv magma/* .
- mv charm-packages/* .
- 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
put -r vnf-catalog/* Testing
EOF
# - 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
# put -r vnf-catalog/* Testing
# EOF
rules:
- if: '$CI_COMMIT_REF_PROTECTED == "true"'
when: on_success
@@ -38,17 +40,19 @@ build-local-repository:
- git submodule update
- python3 -m pip install wheel pyang pyangbind
- git clone https://osm.etsi.org/gerrit/osm/IM.git
- pip3 install -r IM/requirements.txt
- pip3 install IM/
- git clone https://osm.etsi.org/gerrit/osm/osmclient.git
- pip3 install -r osmclient/requirements.txt
- pip3 install osmclient/
- rm -rf osmclient/ IM/
- mv magma/* .
- mv charm-packages/* .
- 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
put -r vnf-catalog/* Testing/Premerge
EOF
# - 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
# put -r vnf-catalog/* Testing/Premerge
# EOF
rules:
- if: '$CI_COMMIT_REF_PROTECTED == "false"'
when: on_success
Loading