This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {# in templates/django_filters/rest_framework/crispy_form.html ensure you load jquery.js #} | |
| {% load i18n %} | |
| {% load crispy_forms_tags %} | |
| {% load static %} | |
| <script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script> | |
| <h2>{% trans "Field filters" %}</h2> | |
| {% crispy filter.form %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| before_script: | |
| - set -eux; | |
| export PHANTOMJS_VERSION=2.1.1; | |
| phantomjs --version; | |
| export PATH=$HOME/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH; | |
| phantomjs --version; | |
| if [ "$(phantomjs --version)" != "$PHANTOMJS_VERSION" ]; then | |
| rm -rf $HOME/travis_phantomjs; | |
| mkdir -p $HOME/travis_phantomjs; | |
| if [ ! -f $HOME/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -ex | |
| BUILD_DIR=.build | |
| ROOTFS_DIR=$BUILD_DIR/image/rootfs | |
| STATE_DIR=$BUILD_DIR/state | |
| mkdir -p $BUILD_DIR $ROOTFS_DIR $STATE_DIR | |
| cp $BUILD_DIR/templates/config.json $ROOTFS_DIR/../ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ sudo dmesg | grep firmware | |
| [ 2.569468] [drm] GuC firmware load skipped | |
| [ 7.037523] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-26.ucode failed with error -2 | |
| [ 7.037587] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-25.ucode failed with error -2 | |
| [ 7.037640] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-24.ucode failed with error -2 | |
| [ 7.037689] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-23.ucode failed with error -2 | |
| [ 7.042331] iwlwifi 0000:04:00.0: loaded firmware version 22.361476.0 op_mode iwlmvm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "geerlingguy/centos7" | |
| # Faster mirror than hashicorp | |
| config.vm.box_url = "http://pub.yourlabs.org/geerlingguy.centos7.box" | |
| config.vm.provider "virtualbox" do |vb| | |
| # vb.gui = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM gliderlabs/alpine:3.4 | |
| ENV PYTHONUNBUFFERED 1 | |
| RUN apk add --no-cache py-pip | |
| RUN pip install tox | |
| RUN which tox | |
| RUN mkdir /src | |
| ADD . /src | |
| WORKDIR /src | |
| RUN ls -l /usr/bin/tox | |
| ENTRYPOINT ['/usr/bin/tox'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo lxd lxd/bridge-ipv4-dhcp-first string 10.0.40.2 | sudo debconf-set-selections | |
| echo lxd lxd/bridge-ipv4-netmask string 24 | sudo debconf-set-selections | |
| echo lxd lxd/bridge-ipv6-address string | sudo debconf-set-selections | |
| echo lxd lxd/bridge-http-proxy boolean false | sudo debconf-set-selections | |
| echo lxd lxd/bridge-dnsmasq string | sudo debconf-set-selections | |
| echo lxd lxd/bridge-ipv4-dhcp-leases string 252 | sudo debconf-set-selections | |
| echo lxd lxd/bridge-empty-error note | sudo debconf-set-selections | |
| echo lxd lxd/setup-bridge boolean true | sudo debconf-set-selections | |
| echo lxd lxd/bridge-random-warning note | sudo debconf-set-selections | |
| echo lxd lxd/bridge-ipv4-nat boolean true | sudo debconf-set-selections |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| image=$1 | |
| if [ -f $image ]; then | |
| exit 0 | |
| fi | |
| path=$(mktemp --directory lxdapi.busybox.XXXXXXXX) | |
| arch=$(uname --machine) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [env] 17/06 2016 17:29:30 jpic@lue ~ | |
| $ ansible-playbook test.yml | |
| [WARNING]: Host file not found: /etc/ansible/hosts | |
| [WARNING]: provided hosts list is empty, only localhost is available | |
| PLAY [localhost] *************************************************************** | |
| TASK [setup] ******************************************************************* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[runners]] | |
| name = "jpic" | |
| url = "https://gitlab.com/ci" | |
| token = "redacted" | |
| executor = "docker" | |
| [runners.docker] | |
| tls_verify = false | |
| image = "jpic/ansible-git:jessie" |