This is a repo to be used for CI integration of the NSLS-II beamline-specific profile_collection
repos.
A full list of NSLS-II beamline organizations can be found at http://nsls-ii.github.io/gh-orgs-list.html.
CI configurations/scripts for 'profile_collection' repos
Home Page: http://nsls-ii.github.io/gh-orgs-list.html
License: BSD 3-Clause "New" or "Revised" License
This is a repo to be used for CI integration of the NSLS-II beamline-specific profile_collection
repos.
A full list of NSLS-II beamline organizations can be found at http://nsls-ii.github.io/gh-orgs-list.html.
The tests in NSLS-II-SMI/profile_collection#10 failed due to the rc
version of ophyd (v1.4.0rc2) was installed. The build is here: https://dev.azure.com/nsls2/profile_collections/_build/results?buildId=108.
There should be a way to have the following drop-in places:
.ci/bl-specific.sh
)caget
, caput
, etc..ci/drop-in.py
). It won't be executed in case the prior files loading failed.We need to define consistent/clear names for those files.
Prompted by NSLS-II-OPLS/profile_collection#10 (comment).
- script: |
set -e
sudo apt-get update
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0
sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
sudo chmod +x /etc/init.d/xvfb
sudo update-rc.d xvfb defaults
sudo service xvfb start
All profile_collection
repos can be found by this GH topic: https://github.com/topics/profile-collection (in the order as in playbooks inventory):
Here is a one-liner:
for org in $(curl https://raw.githubusercontent.com/NSLS-II/docs/master/source/gh-orgs-list.rst | grep https://github.com/ | cut -d'<' -f2 | cut -d'>' -f1); do for repo_name in profile_collection ipython_ophyd .ipython xf23id1_profiles; do git clone ${org}/${repo_name} ${repo_name}-$(echo $org | cut -d- -f3-| awk '{print tolower($0)}'); done; done
We need better checks and smarter cloning procedure.
Azure jobs (e.g. here) throw these errors:
Unable to revert mtime: /usr/share/fonts
Unable to revert mtime: /usr/share/fonts/cmap
Unable to revert mtime: /usr/share/fonts/truetype
Unable to revert mtime: /usr/share/fonts/type1
Unable to revert mtime: /usr/share/fonts/cmap/adobe-cns1
Unable to revert mtime: /usr/share/fonts/cmap/adobe-gb1
Unable to revert mtime: /usr/share/fonts/cmap/adobe-japan1
Unable to revert mtime: /usr/share/fonts/cmap/adobe-japan2
Unable to revert mtime: /usr/share/fonts/cmap/adobe-korea1
Unable to revert mtime: /usr/share/fonts/truetype/dejavu
Unable to revert mtime: /usr/share/fonts/truetype/liberation
Unable to revert mtime: /usr/share/fonts/type1/gsfonts
https://github.com/bluesky/tutorial/blob/master/binder/postBuild#L3 can be used as an example.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909728
because mpl builds the font cache on first import
doing it there means it won't happen later when things might timeout etc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.