Loading csp-lmc-common/.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -17,13 +17,16 @@ COMMON_BUILD_PATH: csp-lmc-common # # Build the pyton package for branches. This package is # uploaded on the Gitlab Package Registry and used to # build the mid and low images # build:csp-lmc-common_pkg_dev: # Executed on a commit extends: .build_python_common script: - cd $COMMON_BUILD_PATH - python3 setup.py egg_info -b+dev.$CI_COMMIT_SHORT_SHA sdist bdist_wheel except: - master build:csp-lmc-common_pkg: extends: .build_python_common Loading @@ -32,7 +35,6 @@ build:csp-lmc-common_pkg: - python3 setup.py egg_info -b+$CI_COMMIT_SHORT_SHA sdist bdist_wheel only: - tags - master # # Build csp-lmc-common image Loading Loading @@ -148,8 +150,6 @@ publish:csp-lmc-common: - twine upload --repository-url $PYPI_REPOSITORY_URL dist/* || true - twine upload --skip-existing -u $PYPI_USER -p $PYPI_PASS dist/* || true # # Release csp-lmc-common image on nexus # Loading Loading
csp-lmc-common/.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -17,13 +17,16 @@ COMMON_BUILD_PATH: csp-lmc-common # # Build the pyton package for branches. This package is # uploaded on the Gitlab Package Registry and used to # build the mid and low images # build:csp-lmc-common_pkg_dev: # Executed on a commit extends: .build_python_common script: - cd $COMMON_BUILD_PATH - python3 setup.py egg_info -b+dev.$CI_COMMIT_SHORT_SHA sdist bdist_wheel except: - master build:csp-lmc-common_pkg: extends: .build_python_common Loading @@ -32,7 +35,6 @@ build:csp-lmc-common_pkg: - python3 setup.py egg_info -b+$CI_COMMIT_SHORT_SHA sdist bdist_wheel only: - tags - master # # Build csp-lmc-common image Loading Loading @@ -148,8 +150,6 @@ publish:csp-lmc-common: - twine upload --repository-url $PYPI_REPOSITORY_URL dist/* || true - twine upload --skip-existing -u $PYPI_USER -p $PYPI_PASS dist/* || true # # Release csp-lmc-common image on nexus # Loading