Comments (6)
@allejo when you have some time, can you take a look at this? For some reason the Travis build is failing, but I can't see why. I'm pretty sure everything is setup in Google analytics correctly, but since the site won't build, it won't deploy this latest website environment file.
from analytics.smgov.net.
I wonder if this has to do with Travis killing the script because of memory consumption. Early on I ran into issues with getting Python dependencies installed on Azure correctly but would you be open to testing getting Python dependencies (only sodapy and its deps) installed on Azure again. If support has improved on Azure, then we can nuke the virtualenv workaround (one less thing for Travis to do).
from analytics.smgov.net.
I'd be totally fine with trying the Azure approach again - I just won't be able to work on it for the next couple of weeks as I am going out of town and likely won't be connected to the interwebs
from analytics.smgov.net.
That's no problem, I'll test it in a separate Azure instance and go from there.
from analytics.smgov.net.
I did my best to replicate everything on my own repos, Travis account, and Azure apps but needs to be tested on here as well.
Ok! So finally made some progress on figuring out this problem. The current master
branch has moved away from using Travis to build a virtual Python environment and Kudu is now taking care of the deps installation. The Python 3.6.1 Azure extension has been installed on our app service and that's what is being used to fetch dependencies (sodapy and its deps).
https://travis-ci.org/CityofSantaMonica/analytics.smgov.net/builds/285459835#L783-L786
The issue in that link above is related to our app's git storage. I think? The way I got this sorted out on my own Azure app was doing a manual push to the git URL available in the Azure Portal (Properties > GIT URL
) and then the subsequent Travis builds seem to work fine. So what you'd have to do is do a quick commit and force push or replicate what Travis currently does:
- Build the site
- Remove
fake-data/
- Force add
_site
withgit add -f _site
- Add a new remote to Azure's git URL and push with
-f
or--force
Mind taking a looking around Azure's logs/setup for any more info? The only other thing I can think of doing if the above doesn't work would be to remove the git storage and add it again. Anyhow, the issue has moved away from Travis and onto Azure now 👍
from analytics.smgov.net.
Thanks for the work on this and the tips @allejo - I've got the Travis builds working and deploying again.
We now have a different issue that will be related to #57, discovered while I was making a quick commit to force a rebuild/redeploy from Travis. I'll keep investigating and use #57 to document any needed changes.
from analytics.smgov.net.
Related Issues (20)
- Add links for 7 and 30 day HOT 1
- Allow .json to serve from /reports
- Look at moving to Python 3
- UI Changes: 90 Day metrics
- Batch the Socrata calls HOT 2
- Backfill Socrata data HOT 7
- all-pages.json limitations HOT 1
- Fix Top Pages graph scaling
- Fix scale for computed Socrata fields
- Sessions not showing up HOT 5
- Socrata WebJob doesn't meet new SNI requirement HOT 17
- Intermittent ZeroDivisionError in Socrata WebJob
- Socrata Dataset dominated by PDFs HOT 5
- Create "Top N Sites" graph HOT 4
- Bring back the domain selector? HOT 6
- Remove BBB Store from sites HOT 2
- Implement surge.sh for testing
- Page links on 7/30 Top Pages graphs are broken HOT 3
- Remove newsroom.smgov.net from tracked websites HOT 7
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 analytics.smgov.net.