Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6e2c741
Initial attempt
Nov 18, 2020
57be2ef
Continue fixing new Python chroot_setup
Dec 15, 2020
95b1219
Major cleanup and testing
Dec 16, 2020
db5ebad
Delete nodes before creating to keep up with #72
Dec 22, 2020
10a7597
refactor: Move arg parsing into __main__ code block
abmusse Jan 14, 2021
4cd022a
fixup! refactor: Move arg parsing into __main__ code block
abmusse Jan 14, 2021
177c0a5
fixup! Use 'not' in CHROOT_DEBUG conditionals
abmusse Jan 26, 2021
e0a773d
fixup! Use f-strings instead of concat
abmusse Jan 27, 2021
1c33b97
fixup! actions dictonary
abmusse Jan 27, 2021
7a5e93a
fixup! No longer set LIBPATH
abmusse Jan 27, 2021
e6ff3cf
fixup! No longer set PATH
abmusse Jan 27, 2021
22b0b1d
fixup! check for python 3.8 to use dirs_exist with shutil.copytree
abmusse Jan 27, 2021
04ca7a3
fixup! succinctly access ln_command elements
abmusse Jan 28, 2021
3464874
fixup! create only character devices
abmusse Jan 28, 2021
f8c5350
fixup! Creating profile file
abmusse Jan 28, 2021
05412ed
fixup! Remove unused variables
abmusse Jan 28, 2021
3814d9b
fixup! use subprocess instead of os.system
abmusse Jan 28, 2021
dd947c5
fixup! exit if platfrom is not IBM i
abmusse Jan 28, 2021
b12fbbc
fixup! Raise value errors instead of assert
abmusse Feb 3, 2021
d80220a
fixup! TOCTOU race condition
abmusse Feb 8, 2021
e1164d1
fixup! mknod FileNotFound Error
abmusse Feb 8, 2021
ffb07ef
fixup! Process -g (globals) args properly
abmusse Feb 9, 2021
ca5966b
fixup! Use globals and naming scheme for action handlers
abmusse Feb 10, 2021
1991e26
fixup! Remove CHROOT_DEBUG checks
abmusse Feb 11, 2021
cc59e6f
fixup! Add flake8 lint action
abmusse Feb 11, 2021
6022fb9
fixup! Initial flake8 linter undefined names
abmusse Feb 11, 2021
ce3ddd6
fixup! indention multiple of 4
abmusse Feb 17, 2021
2ec2641
fixup! whitespace
abmusse Feb 17, 2021
140c9eb
fixup! blank lines
abmusse Feb 17, 2021
3888e54
fixup! unused enum import
abmusse Feb 17, 2021
6152a13
fixup! docstrings, line lengths, etc
abmusse Feb 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ibmichroot CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 chroot_setup --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 chroot_setup --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# TODO add tests
#- name: Test with pytest
#run: |
# pytest

Loading