Skip to content

Commit

Permalink
Update CI/CD (#20)
Browse files Browse the repository at this point in the history
* update ci/cd configuration
* small syntax fix in post task

* modified 1.3.1 to speedup ci/cd

* use python 3.7 for ci/cd
  • Loading branch information
florianutz authored May 11, 2019
1 parent eecfea0 commit f278b62
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
dist: xenial

sudo: required

Expand All @@ -7,7 +8,7 @@ services:

language: python
python:
- "2.7"
- "3.7"

before_install:
- docker pull solita/ubuntu-systemd:bionic
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
molecule==2.16.0
molecule==2.20.0
yamllint==1.11.1
docker==3.4.1
2 changes: 0 additions & 2 deletions tasks/post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
dpkg --list | grep ^rc | tr -s ' ' | cut -d ' ' -f 2"
args:
executable: /bin/bash
args:
executable: /bin/bash
register: apt_rc_packages
changed_when: false

Expand Down
2 changes: 2 additions & 0 deletions tasks/section1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@
- name: "SCORED | 1.3.1 | PATCH | Stat AIDE DB"
stat: path=/var/lib/aide/aide.db
register: aide_db

- name: "SCORED | 1.3.1 | PATCH | Init AIDE | This may take a LONG time"
command: /usr/sbin/aideinit
args:
Expand All @@ -575,6 +576,7 @@
- ubuntu1804cis_config_aide
- ubuntu1804cis_rule_1_3_1
- not aide_db.stat.exists
- not ubuntu1804cis_skip_for_travis
tags:
- level1
- scored
Expand Down

0 comments on commit f278b62

Please sign in to comment.