Comments (1)
So, after discussion with @kiorky, I try several things :
- parallelization with matrix on platforms
- an issue appears, with the build & push github action, the latest build is pushed and overwrite all previously images
- a better idea of this could be the use of
docker manifest
to create a multi-arch manifest (https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/) AFTER all platforms are built - this could also help us if we want to test all built images (particularly arm32 ones)
- the last step of the workflow could be the push of the tag with the multi-arch manifest
- set the cache-from / cache-to
- I don't see any improvements on build time
- I let them for now and check if there is some benefits
- move the docker build job in the api-quality workflow to reuse build artifacts
- this is the main shift, as it cut off the build time from one hour to ~6mn
- and this, without the use of matrix as it breaks the push of multi-arch images
Initial time:
https://github.com/locokit/locokit/actions/runs/5923472268
After use of parallelization with matrix on platforms:
https://github.com/locokit/locokit/actions/runs/5965675095
After shifting docker build in the api quality workflow:
with parallelization (and issue when pushing tag to hub.docker.com)
https://github.com/locokit/locokit/actions/runs/5966002861
without parallelization (and no issue on push)
https://github.com/locokit/locokit/actions/runs/5966049744
For now, we'll stay on what is in the PR, so :
- shift of the docker build in the api quality workflow
- reuse of build artifacts for docker build
- no matrix / parallelization by platform
from locokit.
Related Issues (20)
- [api/datasource] Add tests + migrations
- [Wording] Rename documentation in note
- [api/engine] Allow read only users to access metadata of datasource
- [ci/cd] Automate the build of api, app, nuxt-module, engine and definition packages
- [api/client] Build the API client to be used in nuxt-locokit, app, and others apps as a SDK
- [View] Sort fields are not in API response
- [Migration] Access to the local (or remote) datasource through a readonly role
- [Migration] Enhance schema definition for diffToApply
- [Refacto] Move toSnakeCase function to definitions package
- [deps] Update marked package to ^7
- [nuxt] Add Datasource
- [api] Refacto endpoints with slug HOT 3
- [datasource] Allow create a local datasource without connection property
- [api] Forbid the update of a datasource name + slug
- [nuxt] Create and display table / field
- [nuxt] Added error handling for on field and table request + other improvements
- [api] environment variables are not anymore loaded correctly
- [designsystem] Move to primevue unstyled + tailwind
- [deps] Update dependencies globally
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from locokit.