Skip to content
Snippets Groups Projects
Select Git revision
  • 1091fa7e898e5e2638106a451d7ac9a6a9ac73d3
  • master default
  • v0.2.6
  • v0.2.5
  • v0.2.4
  • v0.2.3
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.1
  • v0.1.0
11 results

Pipfile

Blame
    • nimrod's avatar
      1091fa7e
      Skip locked requirements.txt for Docker image. · 1091fa7e
      nimrod authored
      Don't ship a requirements.txt file with locked versions of packages just
      for the Docker image. The test don't include the dependencies anyway so
      there's no point and without hashes there's no security benefits.
      Instead use bump-version to update the version in the Docker image and
      remove hashin package and the update-reqs pipenv script.
      1091fa7e
      History
      Skip locked requirements.txt for Docker image.
      nimrod authored
      Don't ship a requirements.txt file with locked versions of packages just
      for the Docker image. The test don't include the dependencies anyway so
      there's no point and without hashes there's no security benefits.
      Instead use bump-version to update the version in the Docker image and
      remove hashin package and the update-reqs pipenv script.
    tox.ini 659 B
    [tox]
    skip_install = True
    skipsdist = True
    envlist = molecule
    
    [testenv:pre-commit]
    envdir = {toxinidir}/.tox
    deps = -rtests/requirements.txt
    passenv = HOME VBOX* ANSIBLE_*
    whitelist_externals =
        sh
    commands =
        sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles"
        molecule dependency
        pre-commit run --all-files
    
    [testenv:molecule]
    envdir = {toxinidir}/.tox
    deps = -rtests/requirements.txt
    passenv = HOME VBOX* ANSIBLE_*
    whitelist_externals =
        sh
    commands =
        sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles"
        molecule test {posargs}