Skip to content

Commit 844a5e6

Browse files
author
Dina Nimrodi
committed
don't upload to pypi
1 parent 94be2df commit 844a5e6

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

Jenkinsfile

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -126,32 +126,6 @@ podTemplate(label: "${git_project}-${label}", inheritFrom: "jnlp-docker-golang-p
126126
github.upload_asset(git_project, git_project_user, "framesd-${github.TAG_VERSION}-windows-amd64", RELEASE_ID, GIT_TOKEN)
127127
}
128128
},
129-
'upload to pypi': {
130-
container('python37') {
131-
if( "${github.TAG_VERSION}" != "unstable" ) {
132-
withCredentials([
133-
usernamePassword(credentialsId: "iguazio-prod-pypi-credentials", passwordVariable: 'V3IO_PYPI_PASSWORD', usernameVariable: 'V3IO_PYPI_USER')
134-
]) {
135-
dir("${github.BUILD_FOLDER}/src/github.com/${git_project_upstream_user}/${git_project}") {
136-
FRAMES_PYPI_VERSION = sh(
137-
script: "echo ${github.DOCKER_TAG_VERSION} | awk -F - '{print \$1}'",
138-
returnStdout: true
139-
).trim()
140-
common.shellc("pip install pipenv")
141-
common.shellc("make python-deps")
142-
common.shellc("make test-py")
143-
try {
144-
common.shellc("TRAVIS_REPO_SLUG=v3io/frames V3IO_PYPI_USER=${V3IO_PYPI_USER} V3IO_PYPI_PASSWORD=${V3IO_PYPI_PASSWORD} TRAVIS_TAG=${FRAMES_PYPI_VERSION} make pypi")
145-
} catch (err) {
146-
echo "Can not upload to pypi"
147-
}
148-
}
149-
}
150-
} else {
151-
echo "Uploading to pypi only stable version"
152-
}
153-
}
154-
},
155129
)
156130

157131
container('docker-cmd') {

0 commit comments

Comments
 (0)