-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fds-rename-resplitter
- Loading branch information
Showing
99 changed files
with
11,649 additions
and
9,481 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
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 was deleted.
Oops, something went wrong.
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,75 @@ | ||
name: Build docker images | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
flwr-version: | ||
description: "Version of Flower." | ||
required: true | ||
type: string | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
parameters: | ||
name: Collect build parameters | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 10 | ||
outputs: | ||
pip-version: ${{ steps.versions.outputs.pip-version }} | ||
setuptools-version: ${{ steps.versions.outputs.setuptools-version }} | ||
matrix: ${{ steps.matrix.outputs.matrix }} | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- uses: ./.github/actions/bootstrap | ||
id: bootstrap | ||
|
||
- id: versions | ||
run: | | ||
echo "pip-version=${{ steps.bootstrap.outputs.pip-version }}" >> "$GITHUB_OUTPUT" | ||
echo "setuptools-version=${{ steps.bootstrap.outputs.setuptools-version }}" >> "$GITHUB_OUTPUT" | ||
- id: matrix | ||
run: | | ||
python dev/build-docker-image-matrix.py --flwr-version ${{ github.event.inputs.flwr-version }} > matrix.json | ||
echo "matrix=$(cat matrix.json)" >> $GITHUB_OUTPUT | ||
build-base-images: | ||
name: Build base images | ||
uses: ./.github/workflows/_docker-build.yml | ||
needs: parameters | ||
strategy: | ||
fail-fast: false | ||
matrix: ${{ fromJson(needs.parameters.outputs.matrix).base }} | ||
with: | ||
namespace-repository: ${{ matrix.images.namespace_repository }} | ||
file-dir: ${{ matrix.images.file_dir }} | ||
build-args: | | ||
PYTHON_VERSION=${{ matrix.images.python_version }} | ||
PIP_VERSION=${{ needs.parameters.outputs.pip-version }} | ||
SETUPTOOLS_VERSION=${{ needs.parameters.outputs.setuptools-version }} | ||
DISTRO=${{ matrix.images.distro.name }} | ||
DISTRO_VERSION=${{ matrix.images.distro.version }} | ||
FLWR_VERSION=${{ matrix.images.flwr_version }} | ||
tags: ${{ matrix.images.tag }} | ||
secrets: | ||
dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }} | ||
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
build-binary-images: | ||
name: Build binary images | ||
uses: ./.github/workflows/_docker-build.yml | ||
needs: [parameters, build-base-images] | ||
strategy: | ||
fail-fast: false | ||
matrix: ${{ fromJson(needs.parameters.outputs.matrix).binary }} | ||
with: | ||
namespace-repository: ${{ matrix.images.namespace_repository }} | ||
file-dir: ${{ matrix.images.file_dir }} | ||
build-args: BASE_IMAGE=${{ matrix.images.base_image }} | ||
tags: ${{ matrix.images.tags }} | ||
secrets: | ||
dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }} | ||
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.