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

1.4 Beta: Build separate images for every module #96

Merged
merged 77 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d4570c1
Build wheels for every dependency and inject in final image
sidey79 Oct 15, 2022
47a0461
Update action.yml
sidey79 Oct 15, 2022
0b7d51f
add some output
sidey79 Oct 15, 2022
3c3077c
check if cache is available on last entry
sidey79 Oct 15, 2022
c478fda
create cachedirs
sidey79 Oct 15, 2022
a2ad1ae
more output
sidey79 Oct 15, 2022
8eb2c0f
fix path for cache action
sidey79 Oct 15, 2022
a6765b9
Update workflow and dockerfile
sidey79 Oct 15, 2022
6d0919b
fix output
sidey79 Oct 15, 2022
b0d0b66
output
sidey79 Oct 15, 2022
ff397cf
disable command
sidey79 Oct 15, 2022
91e25c3
stop after first match of FROM
sidey79 Oct 15, 2022
5572e4e
update publish workflow
sidey79 Oct 15, 2022
a6301cb
move cache to workflows to differentiate cross compile
sidey79 Oct 15, 2022
1d10fd4
Update Dockerfile
sidey79 Oct 16, 2022
b09bae3
Update Dockerfile
sidey79 Oct 16, 2022
32a5378
build-wheels.ymk
sidey79 Oct 16, 2022
0916a62
Update
sidey79 Oct 16, 2022
20cd7e7
Update
sidey79 Oct 16, 2022
c534402
checkout fhempy
sidey79 Oct 16, 2022
ab0dba7
Addedshell script to build wheels
sidey79 Oct 20, 2022
29a6f41
add artifact upload after base ime is done
sidey79 Oct 20, 2022
04d309d
remove build-wheels idea
sidey79 Oct 20, 2022
14cdbdc
fix key names for caache
sidey79 Oct 20, 2022
daf8d28
quick run to verivy what is happening
sidey79 Oct 20, 2022
b8ae324
fix syntax
sidey79 Oct 20, 2022
0f0a2e5
install of package needed
sidey79 Oct 20, 2022
5dbb333
list anything in working directory
sidey79 Oct 21, 2022
adb5189
remove wildcard before copy command
sidey79 Oct 21, 2022
bb098f5
genereate directorys and more file listing
sidey79 Oct 21, 2022
dd8d44f
try build wheels skeleton setup
sidey79 Oct 21, 2022
999d237
temp disable workflows
sidey79 Oct 21, 2022
5f18cc1
parent 999d2370f7258ef352b555245fe0083169ca7465
sidey79 Oct 21, 2022
42e4aee
try with one module
sidey79 Oct 21, 2022
b533166
Make a final build work
sidey79 Oct 22, 2022
86dc584
run some tests after build container
sidey79 Oct 22, 2022
c25bbf2
add tuya* and core* module into our image
sidey79 Oct 23, 2022
566dd3e
Build more plattforms:
sidey79 Oct 25, 2022
63ffafa
try reuse already build wheels
sidey79 Oct 27, 2022
8891e2f
build wheels for fhempy itself also in matrix
sidey79 Oct 28, 2022
116ee1c
remove cache from build wheels
sidey79 Oct 28, 2022
a7f4f8c
enable build wheels for all modules
sidey79 Oct 28, 2022
80c9579
avoid cache invalidation
sidey79 Oct 30, 2022
6cfa6c1
try building object_detection
sidey79 Oct 30, 2022
eafd2a1
exclude object_detection because this has issues due to cmake
sidey79 Oct 31, 2022
7ae4a09
build specific packages
sidey79 Nov 6, 2022
489c398
Update docker-matrix-wheels.yml
sidey79 Nov 13, 2022
dfdced0
Update docker-matrix-wheels.yml
sidey79 Nov 13, 2022
7073bc3
Update docker-matrix-wheels.yml
sidey79 Nov 13, 2022
b6dbe1e
Merge branch 'releases/1.3-beta' of https://github.com/fhem/fhempy-do…
sidey79 Nov 20, 2022
583c254
try to build only armv7 wheels
sidey79 Dec 3, 2022
ffa0255
Try Building Images for every module
sidey79 Jan 8, 2023
98b2eb1
Update docker-matrix-wheels.yml
sidey79 Jan 19, 2023
9431dbb
avoid rustc build for cryptography
sidey79 Jan 21, 2023
2549496
Merge branch 'releases/1.4-beta' of https://github.com/fhem/fhempy-do…
sidey79 Jan 21, 2023
a7eb962
downgrade buildx
sidey79 Jan 22, 2023
0474de8
try caching with less layer for base image
sidey79 Jan 22, 2023
4962952
Update Dockerfile
sidey79 Jul 30, 2023
0a7dac4
Update Dockerfile.wheels
sidey79 Jul 30, 2023
f8db72e
Update Dockerfile
sidey79 Jul 30, 2023
c9f2eeb
Update requirements.txt
sidey79 Jul 30, 2023
7e31c22
Update Dockerfile
sidey79 Aug 1, 2023
fb863a7
Update Dockerfile
sidey79 Aug 5, 2023
dcd464d
Update Dockerfile
sidey79 Aug 5, 2023
065dd2c
Update Dockerfile
sidey79 Aug 5, 2023
75676b5
Update requirements.txt
sidey79 Nov 20, 2023
0211524
fix[esphome]: Removed from build
sidey79 Dec 4, 2023
e4b6254
fix[dockerfile]: Remove unneeded downgrade
sidey79 Dec 4, 2023
bbe7fa1
cicd: Update build-push-action and buildx and ignore cache error
sidey79 Dec 4, 2023
2866aae
fix[module]: remove xiaomi_gateway3* from build due to incompatible p…
sidey79 Dec 4, 2023
23cb2d2
fix[homekit]: add rustc package to builder
sidey79 Dec 5, 2023
339f040
cicd: prepare workflow for release
sidey79 Dec 5, 2023
39ce5e5
cicd[docker]: save cache for plattforms
sidey79 Dec 6, 2023
3aafac7
cicd: build tuya
sidey79 Dec 6, 2023
9c478a8
Merge branch 'main' into releases/1.4-beta
sidey79 Dec 6, 2023
f87effb
cicd: pipeline cleanup
sidey79 Dec 6, 2023
afed356
Merge branch 'releases/1.4-beta' of https://github.com/fhem/fhempy-do…
sidey79 Dec 6, 2023
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
11 changes: 5 additions & 6 deletions .github/actions/integrationtest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ runs:
context: .
platforms: ${{ inputs.PLATTFORM }}
push: false
load: true
load: false
tags: ${{ steps.meta-base.outputs.tags }}
labels: ${{ steps.meta-base.outputs.labels }}
cache-to: type=gha,mode=max,scope=verify_base_${{ inputs.PLATTFORM }}
cache-from: type=gha,scope=verify_base_${{ inputs.PLATTFORM }}
#cache-to: type=gha,mode=max,scope=verify_base_${{ inputs.PLATTFORM }}
#cache-from: type=gha,scope=verify_base_${{ inputs.PLATTFORM }}
build-args: FHEMPY_V=${{ inputs.FHEMPY_VERSION }}
target: base

- name: Extract Docker metadata
id: meta-runtime
uses: docker/metadata-action@v5.2.0
Expand All @@ -56,7 +56,6 @@ runs:
tags: ${{ steps.meta-runtime.outputs.tags }}
labels: ${{ steps.meta-runtime.outputs.labels }}
cache-from: |
type=gha,scope=verify_base_${{ inputs.PLATTFORM }}
type=gha,scope=verify_runtime_${{ inputs.PLATTFORM }}
cache-to: type=gha,mode=max,scope=verify_runtime_${{ inputs.PLATTFORM }}
build-args: FHEMPY_V=${{ inputs.FHEMPY_VERSION }}
Expand All @@ -65,4 +64,4 @@ runs:
- name: Run integration tests
shell: bash
run: |
./scripts/test-integration.sh ${{ fromJSON(steps.meta-runtime.outputs.json).tags[0] }}
./scripts/test-integration.sh ${{ fromJSON(steps.meta-runtime.outputs.json).tags[0] }}
Loading