mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 23:12:32 +01:00
Merge branch 'dev'
This commit is contained in:
commit
ffc5199b65
16
.travis.yml
Normal file
16
.travis.yml
Normal file
@ -0,0 +1,16 @@
|
||||
sudo: required
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- dev
|
||||
|
||||
install:
|
||||
- cd docker/archlinux
|
||||
- docker build -t archlinux/dotfiles .
|
||||
|
||||
script:
|
||||
- docker run archlinux/dotfiles test.sh
|
@ -1,5 +1,10 @@
|
||||
# i3-gaps Acid Dark
|
||||
|
||||
| Build | Status |
|
||||
|-----------|:-------------:|
|
||||
| Master | [![Build Status](https://travis-ci.org/eoli3n/dotfiles.svg?branch=master)](https://travis-ci.org/eoli3n/dotfiles) |
|
||||
| Dev | [![Build Status](https://travis-ci.org/eoli3n/dotfiles.svg?branch=dev)](https://travis-ci.org/eoli3n/dotfiles) |
|
||||
|
||||
**i3-gaps zsh pureprompt polybar**
|
||||
|
||||
![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/i3gaps.png)
|
||||
|
8
TODO
8
TODO
@ -12,9 +12,7 @@
|
||||
then : ansible-playbook localhost install.yml -t dotfiles -e 'dotsroot: tmp'
|
||||
to compile only dotfiles in an example dir ~/tmp ? what about lineinfile module ?
|
||||
- TODO: Add {{ tag }} to fail module to limit to distrib
|
||||
- TODO: Using travis+docker
|
||||
http://csicar.github.io/docker/window-manger/2016/05/24/docker-wm.html
|
||||
https://github.com/rogaha/docker-desktop/blob/master/Dockerfile
|
||||
https://docs.travis-ci.com/user/docker/
|
||||
- TOFIX: get current branch to checkout in Dockerfile var
|
||||
- TOFIX: get chown in dockerfile working...
|
||||
- TODO: docker compose pour build toutes les distros ?
|
||||
- TODO: update all vagrant specific task to match docker tasks
|
||||
- TODO: install virtual display xephyr
|
||||
|
@ -1,4 +1,9 @@
|
||||
FROM base/archlinux
|
||||
FROM base/archlinux:latest
|
||||
# Locales keyboard
|
||||
RUN echo "fr_FR.UTF-8 UTF-8" > /etc/locale.gen \
|
||||
&& locale-gen \
|
||||
&& echo 'LANG="fr_FR.UTF-8"' > /etc/locale.conf
|
||||
ENV LANG="fr_FR.UTF-8"
|
||||
# Archlinux Deps
|
||||
RUN pacman -Syu --noconfirm \
|
||||
sudo \
|
||||
@ -34,8 +39,11 @@ RUN echo "test ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
# User run
|
||||
USER test
|
||||
WORKDIR /home/test/
|
||||
RUN git clone --recursive https://github.com/eoli3n/dotfiles
|
||||
ENV LANG="fr_FR.UTF-8"
|
||||
RUN cd /tmp; curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git
|
||||
RUN cd /tmp; makepkg PKGBUILD --install --needed --noconfirm
|
||||
RUN cd /home/test/dotfiles; ./install.sh desktop ||:
|
||||
RUN git clone --recursive https://github.com/eoli3n/dotfiles
|
||||
RUN cd /home/test/dotfiles; ./install.sh desktop | tee ansible.log
|
||||
RUN echo -e "test" | chsh -s '/usr/bin/zsh'
|
||||
ADD test.sh .
|
||||
ENTRYPOINT /usr/bin/zsh
|
||||
|
2
docker/archlinux/test.sh
Executable file
2
docker/archlinux/test.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
grep 'failed=0' ~/ansible.log
|
Loading…
Reference in New Issue
Block a user