Skip to content

Commit

Permalink
Merge pull request Yelp#3 from glance-/sunet-jenkins
Browse files Browse the repository at this point in the history
Add config and adapt to sunet-jenkins
  • Loading branch information
johanlundberg authored Oct 31, 2019
2 parents 91611ee + 445b8c2 commit da1469b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .jenkins.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
triggers:
cron: "@weekly"

builders:
- script
- docker

script:
- python3.7 -m venv venv
- venv/bin/pip install --upgrade setuptools pip wheel tox
- venv/bin/tox
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.2.1
rev: v2.3.0
hooks:
- id: check-added-large-files
- id: check-docstring-first
Expand All @@ -14,7 +14,7 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: git://github.com/Yelp/detect-secrets
rev: v0.12.2
rev: v0.12.7
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
Expand Down
8 changes: 6 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "tests/.*",
"lines": null
},
"generated_at": "2019-04-24T14:36:38Z",
"generated_at": "2019-10-28T08:48:40Z",
"plugins_used": [
{
"base64_limit": 4.5,
Expand All @@ -18,5 +18,9 @@
}
],
"results": {},
"version": "0.12.2"
"version": "0.12.7",
"word_list": {
"file": null,
"hash": null
}
}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.2
MAINTAINER Kyle Anderson <[email protected]>
FROM alpine
MAINTAINER Anton Lundin <[email protected]>

RUN apk add -U python py-pip
ADD requirements.txt /code/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py35,py36
envlist = py27,py36,py37

[testenv]
deps =
Expand Down

0 comments on commit da1469b

Please sign in to comment.