Commit 6c0453df authored by constrict0r's avatar constrict0r 💬
Browse files

Imports initial files

parents
Loading
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+75 −0
Original line number Diff line number Diff line
# Ansible.
*.retry
.galaxy_install_info

# Binaries.
*.jpg

# Buffers.
*~

# C extensions.
*.so

# Coverage.
cover
.coverage
.coveralls.yml
htmlcov

# Editors.
.#.*
#.*#

# Emacs.
dconf/
#*
~*
*/#*
*flymake.py

# Jupyter.
.ipynb_checkpoints
.ipython
.jupyter
.local

# Org Mode.
*~
index.org
public/

# Python.
build/
develop-eggs
dist/
*.egg
*.egg-info
eggs
.installed.cfg
bin
lib
lib64
var
sdist
pip-log.txt
*.pyc
*.py[cod]
__pycache__
.pytest_cache
.tox

# Sphinx.
build
docs/source/build

# Tests generated files.
tests/library
tests/test_plugins
.yamllint

# Temporary.
.cache

# Translations.
.mo

.gitlab-ci.yml

0 → 100644
+30 −0
Original line number Diff line number Diff line
---
stages:
  - test

bare:
  image: debian:latest
  stage: test
  before_script:
    - apt update
    - apt install -y python3-pip python3-setuptools
    - python3 -m pip install --upgrade pip setuptools wheel
    - python3 -m pip install ansible
    - ansible-galaxy install constrict0r.groups
    - chmod +x testme.sh
  script:
    - ./testme.sh -i -o a -t -x python3

molecule:
  image: docker:git
  stage: test
  services:
    - docker:dind
  before_script:
    - apk update && apk add --no-cache docker
      python3-dev py3-pip docker gcc git curl build-base
      autoconf automake py3-cryptography linux-headers
      musl-dev libffi-dev openssl-dev openssh
    - pip3 install ansible molecule[docker]
  script:
    - molecule test

.gitmodules

0 → 100644
+4 −0
Original line number Diff line number Diff line
[submodule "docs/source/parts"]
	path = docs/source/parts
	url = https://gitlab.com/constrict0r/parts.git
	branch = master

.readthedocs.yml

0 → 100644
+13 −0
Original line number Diff line number Diff line
---
version: 2

sphinx:
  configuration: docs/source/conf.py

python:
  version: 3.7
  install:
    - requirements: docs/requirements.txt

submodules:
  include: all

.travis.yml

0 → 100644
+29 −0
Original line number Diff line number Diff line
---
language: python

python:
  - '3.7'

matrix:
  include:
    - os: linux
      dist: xenial

before_install:
  - sudo apt purge ansible
  - sudo apt update

install:
  - sudo apt install -y python3-pip python3-setuptools
  - sudo python3 -m pip install --upgrade pip setuptools wheel
  - sudo python3 -m pip install ansible molecule[docker]
  - ansible-galaxy install constrict0r.groups

before_script:
  - chmod +x testme.sh

script:
  - sudo ./testme.sh -i -t -x python3

notifications:
  webhooks: https://galaxy.ansible.com/api/v1/notifications/