Skip to content

Commit

Permalink
Merge pull request #1127 from FedML-AI/dev/v0.7.0
Browse files Browse the repository at this point in the history
[DevOps] release 0.8.4
  • Loading branch information
fedml-alex authored Jun 20, 2023
2 parents 8057b3a + 30c4990 commit 23fbb84
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 3 additions & 2 deletions devops/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ pipeline {
sh 'docker push $REGISTRY_DEV/$DOCKER_NAMESPACE$APP_NAME_PREMISE_SLAVE:$VERSION_DEV'

withCredentials([usernamePassword(passwordVariable : 'DOCKERHUB_PASSWORD' ,usernameVariable : 'DOCKERHUB_USERNAME' ,credentialsId : "$DOCKERHUB_CREDENTIAL_ID" ,)]) {
sh 'docker logout'
sh 'docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD'

sh 'docker tag $REGISTRY_DEV/$DOCKER_NAMESPACE$APP_NAME_EDGE_CLIENT_SERVER:$VERSION_DEV fedml/fedml-edge-client-server:latest'
Expand Down Expand Up @@ -406,7 +407,7 @@ pipeline {
credentialsId: env.DEV_KUBECONFIG_CREDENTIAL_ID,
variable: 'KUBECONFIG')
]) {
sh 'kubectl rollout restart -n $DEPLOY_NAMESPACE_DEV deployment/fedml-cloud-server'
//sh 'kubectl rollout restart -n $DEPLOY_NAMESPACE_DEV deployment/fedml-cloud-server'

sh 'kubectl scale -n $DEPLOY_NAMESPACE_DEV --replicas=0 deployment/$DEPLOY_NAME'
sh 'kubectl scale -n $DEPLOY_NAMESPACE_DEV --replicas=1 deployment/$DEPLOY_NAME'
Expand Down Expand Up @@ -469,7 +470,7 @@ pipeline {
credentialsId: env.PRODUCTION_KUBECONFIG_CREDENTIAL_ID,
variable: 'KUBECONFIG')
]) {
sh 'kubectl rollout restart -n $DEPLOY_NAMESPACE_PRODUCTION deployment/fedml-cloud-server'
//sh 'kubectl rollout restart -n $DEPLOY_NAMESPACE_PRODUCTION deployment/fedml-cloud-server'

sh 'kubectl scale -n $DEPLOY_NAMESPACE_PRODUCTION --replicas=0 deployment/$DEPLOY_NAME'
sh 'kubectl scale -n $DEPLOY_NAMESPACE_PRODUCTION --replicas=1 deployment/$DEPLOY_NAME'
Expand Down
7 changes: 7 additions & 0 deletions devops/scripts/build-fedml-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,10 @@ if [ "$build_arm_arch_images" != "" ]; then

cd $pwd
fi

cd ./installation/build_fedml_docker
docker build -f light/Dockerfile \
--network=host \
-t fedml/fedml:light .


2 changes: 1 addition & 1 deletion python/fedml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
_global_training_type = None
_global_comm_backend = None

__version__ = "0.8.4a38"
__version__ = "0.8.4"


def init(args=None):
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def finalize_options(self):

setup(
name="fedml",
version="0.8.4a38",
version="0.8.4",
author="FedML Team",
author_email="ch@fedml.ai",
description="A research and production integrated edge-cloud library for "
Expand Down

0 comments on commit 23fbb84

Please sign in to comment.