mdavezac / condimentstation Goto Github PK
View Code? Open in Web Editor NEWStab at a boxen-like salt config
License: MIT License
Stab at a boxen-like salt config
License: MIT License
when spack
state is applied at first, if add_to_zprofile
is set to true, it tries to add a file into ~/.salted/
however that directory may not exist.
Some just fail in the install after the install phase (maybe updating spack database?)
==> Installing GreatCMakeCookoff
==> Using cached archive: /home/dvd/Stuff/build/spack/var/spack/cache/GreatCMakeCookoff/GreatCMakeCookoff-2.1.9.tar.gz
==> Already staged GreatCMakeCookoff-2.1.9-jzrvdssgv3u7j3y4clwfihd26vhh5d3y in /home/dvd/Stuff/build/spack/var/spack/stage/GreatCMakeCookoff-2.1.9-jzrvdssgv3u7j3y4clwfihd26vhh5d3y
==> No patches needed for GreatCMakeCookoff
==> Building GreatCMakeCookoff [Package]
==> Executing phase: 'install'
==> Error: TypeError: can't pickle _yaml.Mark objects
TypeError: TypeError: can't pickle _yaml.Mark objects
/home/dvd/Stuff/build/spack/lib/spack/spack/package.py:1456, in build_process:
60 self.log()
61
62 # Run post install hooks before build stage is removed.
>> 63 spack.hooks.post_install(self.spec)
64
65 # Stop timer.
66 self._total_time = time.time() - start_time
whereas in other cases creates flags that spack doesn't know:
[email protected]%[email protected]~cuda fabrics= ~java schedulers= ~sqlite3~thread_multiple~ucx+vt arch=linux-archrolling-x86_64
^[email protected]%[email protected]~cuda+libxml2+pci+shared arch=linux-archrolling-x86_64
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected]~python arch=linux-archrolling-x86_64
^[email protected]%[email protected] patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00
+sigsegv arch=linux-archrolling-x86_64 ^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected] arch=linux-archrolling-x86_64
^[email protected]%[email protected]+optimize+pic+shared arch=linux-archrolling-x86_64
like fabrics= ~java
and schedulers= ~sqlite3...
When run the first time the following error is shown:
pip_|-salt packages_|-salt packages_|-installed:
----------
__run_num__:
0
changes:
----------
comment:
State 'pip.installed' was not found in SLS 'salt'
Reason: 'pip.installed' is not available.
name:
salt packages
result:
False
...
Some salt state failed
If run again after this, then installs jupyter
that's the only package missing in salt.sls
that's not in the bootstrap
:
pip_|-salt packages_|-salt packages_|-installed:
----------
jupyter==1.0.0:
Installed
Maybe the saltutil.sync_all
command in https://github.com/mdavezac/CondimentStation/blob/master/bin/pinch.py#L113 set before applying salt.sls
is not working as expected.
This issue seems similar to what's explained in the documentation about reloading-modules. But I've tried to add such reload_modules: true
at different places in condiment_scripts.sls
and not luck.
For example I've tried adding:
python-pip:
cmd.run:
- name: |
[[ -e {{salt['pillar.get']('condiment_build_dir')}}/salt-env/bin/pip ]]
- cwd: /
- reload_modules: true
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.