Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
e4e386d3
Commit
e4e386d3
authored
May 08, 2017
by
Konstantinos Tsakalozos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove makefile and use tox.ini from basic layer to pin it
parent
40f918dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
25 deletions
+12
-25
Makefile
cluster/juju/layers/kubernetes-master/Makefile
+0
-25
tox.ini
cluster/juju/layers/kubernetes-master/tox.ini
+12
-0
No files found.
cluster/juju/layers/kubernetes-master/Makefile
deleted
100644 → 0
View file @
40f918dc
#!/usr/bin/make
all
:
lint unit_test
.PHONY
:
clean
clean
:
@
rm
-rf
.tox
.PHONY
:
apt_prereqs
apt_prereqs
:
@
# Need tox, but don't install the apt version unless we have to
(
don
't want to conflict with pip)
@
which tox >/dev/null || (sudo pip install tox)
@
sudo apt-get install -y python-pip python-flake8 python3-flake8 flake8
.PHONY
:
lint
lint
:
apt_prereqs
@
tox
--notest
@
flake8
$
(
wildcard hooks reactive lib unit_tests tests
)
@
charm proof
.PHONY
:
unit_test
unit_test
:
apt_prereqs
@
echo
Starting tests...
tox
cluster/juju/layers/kubernetes-master/tox.ini
0 → 100644
View file @
e4e386d3
[tox]
skipsdist
=
True
envlist
=
py34, py35
skip_missing_interpreters
=
True
[testenv]
commands
=
py.test -v
deps
=
-r{toxinidir}/requirements.txt
[flake8]
exclude
=
docs
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment