forked from FederatedAI/KubeFATE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/support/fate-v1.8.0'
- Loading branch information
Showing
107 changed files
with
4,228 additions
and
3,022 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Push fate images to DockerHub | ||
|
||
on: | ||
push: | ||
# Publish `master` as Docker `latest` image. | ||
branches: | ||
- master | ||
- jenkins-integration | ||
|
||
# Publish `v1.2.3` tags as releases. | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
# no test is required | ||
push: | ||
runs-on: ubuntu-18.04 | ||
if: github.event_name == 'push' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Prepare the TAG | ||
id: prepare-the-tag | ||
run: | | ||
# strip git ref prefix from version | ||
TAG="" | ||
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') | ||
if [ $VERSION = "master" ]; then | ||
export TAG=latest | ||
else | ||
export TAG=${VERSION##*v}-release | ||
fi | ||
echo "::set-output name=tag::$TAG" | ||
- name: Build image | ||
run: | | ||
export IMG_TAG=${{steps.prepare-the-tag.outputs.tag}} | ||
cd docker-build | ||
bash docker-build.sh all | ||
- name: Log into DockerHub | ||
run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Push image | ||
run: | | ||
export IMG_TAG=${{steps.prepare-the-tag.outputs.tag}} | ||
cd docker-build | ||
bash docker-build.sh push |
3 changes: 1 addition & 2 deletions
3
.github/workflows/push.yml → .github/workflows/kubefate-push.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ dist/ | |
*.out | ||
*.tgz | ||
*.tar | ||
release/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#PREFIX=federatedai | ||
#IMG_TAG=1.7.2-release | ||
#IMG_TAG=1.8.0-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 8 additions & 17 deletions
25
docker-deploy/training_template/public/fateboard/conf/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,20 @@ | ||
server.port=8080 | ||
fateflow.url= | ||
spring.datasource.driver-Class-Name=com.mysql.cj.jdbc.Driver | ||
fateflow.url=http://localhost:9380 | ||
fateflow.http_app_key= | ||
fateflow.http_secret_key= | ||
spring.http.encoding.charset=UTF-8 | ||
spring.http.encoding.enabled=true | ||
server.tomcat.uri-encoding=UTF-8 | ||
fateboard.datasource.jdbc-url=<jdbc.url> | ||
fateboard.datasource.username=<jdbc.username> | ||
fateboard.datasource.password=<jdbc.password> | ||
fateboard.front_end.cors=false | ||
fateboard.front_end.url=http://localhost:8028 | ||
server.tomcat.max-threads=1000 | ||
server.tomcat.max-connections=20000 | ||
spring.servlet.multipart.max-file-size=10MB | ||
spring.servlet.multipart.max-request-size=100MB | ||
spring.datasource.druid.filter.config.enabled=false | ||
spring.datasource.druid.web-stat-filter.enabled=false | ||
spring.datasource.druid.stat-view-servlet.enabled=false | ||
server.compression.enabled=true | ||
server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain | ||
server.board.login.username=<fateboard.username> | ||
server.board.login.password=<fateboard.password> | ||
management.endpoints.web.exposure.exclude=* | ||
#server.ssl.key-store=classpath: | ||
#server.ssl.key-store-password= | ||
#server.ssl.key-password= | ||
#server.ssl.key-alias= | ||
spring.session.store-type=jdbc | ||
spring.session.jdbc.initialize-schema=always | ||
#HTTP_APP_KEY= | ||
#HTTP_SECRET_KEY= | ||
server.servlet.session.timeout=4h | ||
server.servlet.session.cookie.max-age=4h | ||
management.endpoints.web.exposure.exclude=* |
Oops, something went wrong.