Commit 562b513c authored by garciadeblas's avatar garciadeblas
Browse files

Merge branch 'disable-repo-generation' into 'master'

Disable repo generation in gitlab ci pipeline

See merge request !146
parents 4d42a6b9 b30d2b23
Loading
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -18,11 +18,11 @@ publish-repository:
    - 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
@@ -48,11 +48,11 @@ build-local-repository:
    - 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