Lines Matching +full:- +full:- +full:run +full:- +full:attempt
3 # Run every 12 hours and on tags
6 - cron: '50 1/12 * * *'
9 - 'VERSION'
10 - '.github/workflows/footprint-tracking.yml'
12 - main
13 - v*-branch
15 # only publish v* tags, do not care about zephyr-v* which point to the
17 - 'v*'
20 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
21 cancel-in-progress: true
24 footprint-tracking:
25 runs-on:
26 group: zephyr-runner-v2-linux-x64-4xlarge
27 if: github.repository_owner == 'zephyrproject-rtos'
29 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
30 options: '--entrypoint /bin/bash'
32 run:
35 fail-fast: false
39 - name: Apply container owner mismatch workaround
40 run: |
45 git config --global --add safe.directory ${GITHUB_WORKSPACE}
47 - name: Print cloud service information
48 run: |
53 - name: Update PATH for west
54 run: |
57 - name: Install packages
58 run: |
59 sudo apt-get update
60 sudo apt-get install -y python3-venv
61 pip install -U gitpython
63 - name: checkout
67 fetch-depth: 0
69 - name: Environment Setup
70 run: |
71 … echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
73 - name: west setup
74 run: |
75 west init -l . || true
76 west config --global update.narrow true
79 - name: Configure AWS Credentials
80 uses: aws-actions/configure-aws-credentials@v4
82 aws-access-key-id: ${{ vars.AWS_TESTING_ACCESS_KEY_ID }}
83 aws-secret-access-key: ${{ secrets.AWS_TESTING_SECRET_ACCESS_KEY }}
84 aws-region: us-east-1
86 - name: Record Footprint
89 run: |
91 ./scripts/footprint/track.py -p scripts/footprint/plan.txt
93 - name: Upload footprint data
94 run: |
95 python3 -m venv .venv
98 aws s3 sync --quiet footprint_data/ s3://testing.zephyrproject.org/footprint_data/
100 - name: Transform Footprint data to Twister JSON reports
101 run: |
102 shopt -s globstar
104 python3 ./scripts/footprint/pack_as_twister.py -vvv \
105 --plan ./scripts/footprint/plan.txt \
106 --test-name='name.feature' \
109 - name: Upload to ElasticSearch
114 run: |
115 shopt -s globstar
116 pip install -U elasticsearch
117 run_date=`date --iso-8601=minutes`
118 python3 ./scripts/ci/upload_test_results_es.py -r ${run_date} \
119 --flatten footprint \
120 --flatten-list-names "{'children':'name'}" \
121 …--transform "{ 'footprint_name': '^(?P<footprint_area>([^\/]+\/){0,2})(?P<footprint_path>([^\/]*\/…
122 --run-id "${{ github.run_id }}" \
123 --run-attempt "${{ github.run_attempt }}" \
124 --run-workflow "footprint-tracking:${{ github.event_name }}" \
125 --run-branch "${{ github.ref_name }}" \
126 -i ${ELASTICSEARCH_INDEX} \