You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by tu...@apache.org on 2020/11/14 22:28:37 UTC
[kibble] branch main updated: Build docker image on CI (#92)
This is an automated email from the ASF dual-hosted git repository.
turbaszek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kibble.git
The following commit(s) were added to refs/heads/main by this push:
new 3d03a24 Build docker image on CI (#92)
3d03a24 is described below
commit 3d03a2446de99e4a3dd480508b61a2d4f7746cf5
Author: Tomek Urbaszek <tu...@gmail.com>
AuthorDate: Sat Nov 14 23:28:28 2020 +0100
Build docker image on CI (#92)
To check that kibble works we can at least build the docker image,
run kibble --help and validate python requirements.
---
.github/labeler.yml | 6 ++++++
.github/workflows/ci.yaml | 15 +++++++++++++--
.github/workflows/labeler.yaml | 3 ++-
setup.py | 2 +-
4 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/.github/labeler.yml b/.github/labeler.yml
index fff54b4..299dda7 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -1,6 +1,12 @@
area:api:
- 'kibble/api/*'
+area:cli:
+ - 'kibble/cli/*'
+
+area:scanners:
+ - 'kibble/scanners/*'
+
area:ui:
- 'ui/*'
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index f7f27c0..fc571d8 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -22,9 +22,20 @@ on:
jobs:
statics:
- name: Static Checks
+ name: Static checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-python@v1
+ - uses: actions/setup-python@v2
- uses: pre-commit/action@v1.0.1
+ build-docker:
+ name: Build kibble dev image
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Build docker image
+ run: docker-compose -f docker-compose-dev.yaml build setup
+ - name: Run kibble command
+ run: docker run apache/kibble kibble --help
+ - name: Check dependencies
+ run: docker run apache/kibble pip check
diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml
index 4415f00..103e3e4 100644
--- a/.github/workflows/labeler.yaml
+++ b/.github/workflows/labeler.yaml
@@ -1,9 +1,10 @@
-name: "Pull Request Labeler"
+name: "PR labeler"
on:
- pull_request_target
jobs:
triage:
+ name: Label
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
diff --git a/setup.py b/setup.py
index 568b316..6262a08 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ INSTALL_REQUIREMENTS = [
"python-dateutil==2.8.1",
"python-twitter==3.5",
"PyYAML==5.3.1",
- "requests==2.24.0",
+ "requests==2.25.0",
"tenacity==6.2.0",
]