Loading .gitlab-ci.yml +16 −21 Changes for .gitlab-ci.yml: 16 added lines, 21 removed lines. Original line number Diff line number Diff line Loading @@ -455,7 +455,6 @@ PyPi: before_script: - python3 -m pip install --user --upgrade twine script: - export - rm $CI_PROJECT_DIR/dist/version - python3 -m twine upload --verbose --username __token__ --password $NFC_TOKEN_PYPI dist/* dependencies: Loading @@ -464,18 +463,16 @@ PyPi: - GitLab-Release rules: - if: $CI_COMMIT_TAG when: on_success - if: $CI_MERGE_REQUEST_IID when: never - if: $CI_COMMIT_BRANCH - if: $CI_MERGE_REQUEST_IID when: never # - if: '$CI_COMMIT_BRANCH == "master"' # when: on_success # - if: '$CI_COMMIT_BRANCH == "development"' # when: on_success # allow_failure: true # - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development"' # when: on_success - if: '$CI_COMMIT_BRANCH == "master"' when: on_success - if: '$CI_COMMIT_BRANCH == "development"' when: on_success - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development"' when: manual allow_failure: true environment: name: Release-PyPi Loading @@ -501,18 +498,16 @@ Docker Hub: - docker push nofusscomputing/gitlab-management:$Release_TAG rules: - if: $CI_COMMIT_TAG when: on_success - if: $CI_MERGE_REQUEST_IID when: never - if: $CI_COMMIT_BRANCH - if: $CI_MERGE_REQUEST_IID when: never # - if: '$CI_COMMIT_BRANCH == "master"' # when: on_success # - if: '$CI_COMMIT_BRANCH == "development"' # when: on_success # allow_failure: true # - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development"' # when: on_success - if: '$CI_COMMIT_BRANCH == "master"' when: on_success - if: '$CI_COMMIT_BRANCH == "development"' when: on_success - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development"' when: manual allow_failure: true dependencies: - gitlab-management_package - Docker_Build-Alpine Loading gitlab_management/base.py +0 −1 Changes for gitlab_management/base.py: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -613,4 +613,3 @@ class GitlabManagement: if line.startswith("__" + ItemName + "__"): return(str(line.split("=")[-1]).replace('"', '').replace("\n", '').replace(" ", '')) Loading
.gitlab-ci.yml +16 −21 Changes for .gitlab-ci.yml: 16 added lines, 21 removed lines. Original line number Diff line number Diff line Loading @@ -455,7 +455,6 @@ PyPi: before_script: - python3 -m pip install --user --upgrade twine script: - export - rm $CI_PROJECT_DIR/dist/version - python3 -m twine upload --verbose --username __token__ --password $NFC_TOKEN_PYPI dist/* dependencies: Loading @@ -464,18 +463,16 @@ PyPi: - GitLab-Release rules: - if: $CI_COMMIT_TAG when: on_success - if: $CI_MERGE_REQUEST_IID when: never - if: $CI_COMMIT_BRANCH - if: $CI_MERGE_REQUEST_IID when: never # - if: '$CI_COMMIT_BRANCH == "master"' # when: on_success # - if: '$CI_COMMIT_BRANCH == "development"' # when: on_success # allow_failure: true # - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development"' # when: on_success - if: '$CI_COMMIT_BRANCH == "master"' when: on_success - if: '$CI_COMMIT_BRANCH == "development"' when: on_success - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development"' when: manual allow_failure: true environment: name: Release-PyPi Loading @@ -501,18 +498,16 @@ Docker Hub: - docker push nofusscomputing/gitlab-management:$Release_TAG rules: - if: $CI_COMMIT_TAG when: on_success - if: $CI_MERGE_REQUEST_IID when: never - if: $CI_COMMIT_BRANCH - if: $CI_MERGE_REQUEST_IID when: never # - if: '$CI_COMMIT_BRANCH == "master"' # when: on_success # - if: '$CI_COMMIT_BRANCH == "development"' # when: on_success # allow_failure: true # - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development"' # when: on_success - if: '$CI_COMMIT_BRANCH == "master"' when: on_success - if: '$CI_COMMIT_BRANCH == "development"' when: on_success - if: '$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development"' when: manual allow_failure: true dependencies: - gitlab-management_package - Docker_Build-Alpine Loading
gitlab_management/base.py +0 −1 Changes for gitlab_management/base.py: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -613,4 +613,3 @@ class GitlabManagement: if line.startswith("__" + ItemName + "__"): return(str(line.split("=")[-1]).replace('"', '').replace("\n", '').replace(" ", ''))