Commit 090f70b3 authored by Jon's avatar Jon
Browse files

#7 artifacts not avail

parent cceaab6f
Loading
Loading
Loading
Loading
Loading
+16 −21
Changes for .gitlab-ci.yml: 16 added lines, 21 removed lines.
Original line number Diff line number Diff line
@@ -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:
@@ -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

@@ -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
+0 −1
Changes for gitlab_management/base.py: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -613,4 +613,3 @@ class GitlabManagement:
            if line.startswith("__" + ItemName + "__"):
                return(str(line.split("=")[-1]).replace('"', '').replace("\n", '').replace(" ", ''))