1. 30 Nov, 2021 20 commits
  2. 26 Nov, 2021 8 commits
    • Anas Nashif's avatar
      actions: twister: remove cleanup job · 95c41f68
      Anas Nashif authored
      
      We now cleanup at the beginning.
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      95c41f68
    • Anas Nashif's avatar
      actions: check of testplan exists · 82e255bf
      Anas Nashif authored
      
      Check if test plan exist before trying to read it.
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      82e255bf
    • Anas Nashif's avatar
      actions: twister/clang: cleanup test plan generation · 552a0e15
      Anas Nashif authored
      
      Merged 3 files used to generate the test plan per PR based on the
      changes. 2 python scripts and a shell script are now all merged into 1
      python script that generates the input file for twister based on a list
      of changed files by the PR.
      
      This remove lots of old and obsolete code and simplifies things a bit,
      no need anymore for an intermediate script to call twister, we call it
      directly in the workflow and use the new test_plan script to generate
      the test plan.
      
      This also reenables the recently disabled tag based filtering which had
      a bug, bug is resolved in this new implementation.
      
      On push events, we now run twister without the --integration option to
      catch any issues in the main branch that were not caught in PRs. PRs
      continue to run with --integration enabled. This event (push) is now run
      on 15 builders due to the increased size.
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      552a0e15
    • Anas Nashif's avatar
      doc: replace buildkite with github actions · 17e4ed1f
      Anas Nashif authored
      
      Update CI docs and the badge with links pointing to GH actions rather
      than buildkite.
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      17e4ed1f
    • Anas Nashif's avatar
      actions: twister: adapt events to branch · 0b91e569
      Anas Nashif authored
      
      Adapt events and cron to the 2.7 branch.
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      0b91e569
    • Anas Nashif's avatar
      actions: twister: add a cancel job very early on · e1e9fa66
      Anas Nashif authored
      
      Cancel using GH runner for faster execution.
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      e1e9fa66
    • Anas Nashif's avatar
      actions: clang: add branch name to ccache key · fe8efca3
      Anas Nashif authored
      
      Add branch name to the ccache key to avoid cache contamination from old
      branches.
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      fe8efca3
    • Anas Nashif's avatar
      actions: run twister using github action · 328df98c
      Anas Nashif authored
      
      This action replaces current buildkite workflow and uses github actions
      to build and run tests in the zephyr tree using twister. The main
      differences to current builtkite workflow:
      
      - the action handles all 3 events: pull requests, push and schedule
      
      - the action determines size of matrix (number of build hosts) based on
        the change with a minimum of 1 builder. If more tests are built/run
        due to changes to boards or tests/samples, the matrix size is
        increased. This will avoid timeouts when running over capacity due to
        board/test changes.
      
      - We use ccache and store cache files on amazon S3 for more flexibility
      
      - Results are collected per build host and merged in the final step and
        failures are posted into github action check runs.
      
      - It runs on more powerful instances that can handle more load.
        Currently we have 10 build hosts per run (that can increase depending
        on number of tests run) and can deliver results within 1 hour.
      
      - the action can deal with non code changes and will not allocate more
        than required to deal with changes to documentation and other files
        that do not require running twister
      
      The goal long-term is better integrate this workflow with other actions
      and not run unncessarily if other workflows have failed, for example, if
      commit message is bogus, we should stop at that check, to avoid wasting
      resources given that the commit message will have to be fixed anyways
      which would later trigger another run on the same code.
      
      Currently there is 1 open issue with this action related to a github
      workflow bug where the final results are not posted to the same workflow
      and might appear under other workflows. Github is working on this bug.
      Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
      328df98c
  3. 24 Nov, 2021 4 commits
  4. 21 Nov, 2021 1 commit
  5. 19 Nov, 2021 7 commits