| # Copyright (c) 2020 Intel Corp. |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| name: Publish commit for daily testing |
| |
| on: |
| schedule: |
| - cron: '50 22 * * *' |
| push: |
| branches: |
| - refs/tags/* |
| |
| permissions: |
| contents: read |
| |
| jobs: |
| get_version: |
| runs-on: ubuntu-24.04 |
| timeout-minutes: 10 |
| if: github.repository == 'zephyrproject-rtos/zephyr' |
| |
| steps: |
| - name: Configure AWS Credentials |
| uses: aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3 |
| with: |
| aws-access-key-id: ${{ vars.AWS_TESTING_ACCESS_KEY_ID }} |
| aws-secret-access-key: ${{ secrets.AWS_TESTING_SECRET_ACCESS_KEY }} |
| aws-region: us-east-1 |
| |
| - name: checkout |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| with: |
| persist-credentials: false |
| fetch-depth: 0 |
| |
| - name: Set up Python |
| uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 |
| with: |
| python-version: 3.12 |
| cache: pip |
| cache-dependency-path: scripts/requirements-actions.txt |
| |
| - name: Install Python packages |
| run: | |
| pip install -r scripts/requirements-actions.txt --require-hashes |
| |
| - name: Upload to AWS S3 |
| run: | |
| python3 scripts/ci/version_mgr.py --update . |
| aws s3 cp versions.json s3://testing.zephyrproject.org/daily_tests/versions.json |