Comments (6)
@emirotin @jviotti @Page- I think we should:
-
Stop building on pushes and instead just build on PRs
-
Find a way to change the NPM config + build config so we only run the test suite once per job. I've got a plan for a reasonably nice solution to this that doesn't cause problems for pre-NPM4 users - I'll push a strawman in a minute.
Thoughts?
from balena-sdk.
from balena-sdk.
#242 is a run at a fix for the NPM issue here, and I've now disabled building on pushes for Travis. I can't see how to get at the equivalent settings for AppVeyor though, @jviotti I think you've got access - if you could change that to only build on PRs too that'd be great, thanks.
from balena-sdk.
Hi @pimterry ,
I made sure you have access to Appveyor by including it into the CLI/SDK GH team (which is explicitly added to Appveyor). After looking a bit around, I think the only way to accomplish what you're trying to do is by adding the following to appveyor.yml
:
branches:
only:
- master
This will prevent builds for branches, but it looks that it will still build PRs (according to the docs). Give that a go and let me know if it still doesn't work, and we can get in touch with Appveyor's priority support.
from balena-sdk.
@jviotti Thanks! That pointer was enough to get me to the config option I was looking for: appveyor/ci#882. #244 turns this on.
Sorry for the PR flood! With that one though we should hopefully have most of these build issues in the SDK solved, for now 😄
from balena-sdk.
All done - we now run 25% of the tests we were running before, so I'm going to close this. Should drastically improve things. If we need to go further in future, we'll need to substantially refactor the actual flow of the tests, but I suggest we leave that unless we see more problems that'd make it necessary.
from balena-sdk.
Related Issues (20)
- Should offer openFleet related methods
- Should add support for batch operations in the application model
- SDK marrying config to an os download HOT 1
- Should be able to register devices of a specific device type HOT 1
- Should also offer an ESM build
- Should completely remove the current_gateway_downloads property from *WithCurrentServiceDetails methods
- startOsUpdate will trigger even though a user lock exists
- The SDK doesn't throw errors when needed HOT 3
- Consider not offering plain `getAll()` methods for models like device/tags/etc in favor of the `getAllByXYZ()` HOT 4
- Should extend os.getAvailableOsVersions() & os.isSupportedOsUpgrade() to support ESR HOT 3
- Should move the sources from lib to src
- models.device.getOsVersion - Do not append variant for unified OS versions HOT 2
- Type error when adding an already expanded ReverseNavigationResource in the $select list HOT 2
- Should be able to use the service name in the service env var methods instead of the service id
- API endpoints for POSTING not working
- Streaming device logs may loose log entries HOT 2
- Breaking change/compatibility documentation?
- Device history model does not return data HOT 1
- [FEATURE] Add getAll to devices HOT 3
- Webpack failing to package balena-sdk in React/Next.js HOT 11
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 balena-sdk.