Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DevOps] release 0.8.4 #1127

Merged
merged 6 commits into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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