Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add problog rule inference to build as code check #260

Draft
wants to merge 29 commits into
base: staging
Choose a base branch
from

Commits on May 29, 2023

  1. chore(deps): add problog dependency to pyproject.toml

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed May 29, 2023
    Configuration menu
    Copy the full SHA
    9415acc View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. feat: split build_as_code_check into subchecks and aggregate certaint…

    …y values using ProbLog.
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed May 31, 2023
    Configuration menu
    Copy the full SHA
    8cc866d View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. refactor: specify build as code subcheck dependencies and invoke thro…

    …ugh problog inference
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    6bfaa0c View commit details
    Browse the repository at this point in the history
  2. fix: update test_gha_workflow_deployment so that it passes the ci_par…

    …sed subcheck
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    41372fa View commit details
    Browse the repository at this point in the history
  3. chore: convert problog result dictionary to use str keys

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    ca0a398 View commit details
    Browse the repository at this point in the history
  4. feat: perform intermediate querying on deploy method subchecks to det…

    …ermine which results to store
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    6fcfbd1 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. feat: add sub-check for workflow trigger event type

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    35ae23b View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2023

  1. chore: store workflow info object for each node in GitHub Actions cal…

    …lgraph
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    c7502c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2023

  1. Configuration menu
    Copy the full SHA
    e48003f View commit details
    Browse the repository at this point in the history
  2. feat: add sub-check for test publish to pypi

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    0bc69bd View commit details
    Browse the repository at this point in the history
  3. chore: restructure problog predicate functions

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    8c6f80d View commit details
    Browse the repository at this point in the history
  4. chore: verify sub-check dependencies in ProbLog predicates rather tha…

    …n sub-checks
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    9e80d79 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. feat: add API client for PyPI

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    74da2c9 View commit details
    Browse the repository at this point in the history
  2. chore: get project name from poetry config file

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    d920307 View commit details
    Browse the repository at this point in the history
  3. chore: extract project name from pip config files

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    ee392e3 View commit details
    Browse the repository at this point in the history
  4. chore: setup PyPI registry_service with the PyPI API client

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    067a2c0 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. feat: implement sub-check to compare PyPI project timestamp with GHA …

    …workflow timestamp
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    6a04c43 View commit details
    Browse the repository at this point in the history
  2. chore: fix poetry is_detected logic to pass snapshots

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    ddb2d0c View commit details
    Browse the repository at this point in the history
  3. chore: update poetry snapshot

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    7d9a3aa View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. Configuration menu
    Copy the full SHA
    08e58bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03621ae View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. chore: fix repository_url check

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    ca00db4 View commit details
    Browse the repository at this point in the history
  2. chore: fix logging of sub-task results

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    c04d887 View commit details
    Browse the repository at this point in the history
  3. chore: update ProbLog rules likelihood values

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    24be921 View commit details
    Browse the repository at this point in the history
  4. feat: add sub-task to check for secrets used in same workflow step as…

    … deployment method
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    5c641b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. chore: store workflow_file in deploy_action and deploy_command checks…

    … for trigger event type sub-task
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    2ebdea2 View commit details
    Browse the repository at this point in the history
  2. chore: add tox -e release as supported deploy tool

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    a84c2e4 View commit details
    Browse the repository at this point in the history
  3. chore: include Poetry projects for deploy_action check

    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    48ca217 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. chore: update release workflow trigger sub-task to penalize certainty…

    … for particular event types
    
    Signed-off-by: sophie-bates <[email protected]>
    sophie-bates committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    44b36c8 View commit details
    Browse the repository at this point in the history