Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/build-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -98,12 +98,12 @@ jobs:
working-directory: src/python-evp-app-sdk
run: python setup.py --command-packages=stdeb.command bdist_deb

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: python-sdk-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}
path: lib/python/*

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: python-sdk-deb-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}
path: src/python-evp-app-sdk/deb_dist/*.deb
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
platform: amd64
steps:
- name: Checkout source
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}

Expand All @@ -62,19 +62,19 @@ jobs:
run: make dist

- name: Upload agent debian package
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: agent-deb-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}
path: evp-agent*.deb

- name: Upload sdk debian package
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: libevp-app-sdk-dev-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}
path: libevp-app-sdk-dev*.deb

- name: Upload SBOM
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: sbom-agent-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}
path: |
Expand All @@ -94,7 +94,7 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
build: ${{ steps.changed-files.outputs.all_changed_and_modified_files != '' || github.event_name == 'workflow_dispatch' }}
builder-tag: ${{ steps.builder-tag.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ inputs.ref }}

- uses: tj-actions/changed-files@v41
- uses: tj-actions/changed-files@v47
id: changed-files
with:
files: |
Expand Down Expand Up @@ -80,20 +80,20 @@ jobs:

steps:
- name: Checkout the code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Login to Github Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ github.actor }}
password: ${{ github.token }}
registry: ghcr.io

- name: Build and push raspios bookworm builder
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .devcontainer/raspi
file: .devcontainer/raspi/Dockerfile
Expand All @@ -117,20 +117,20 @@ jobs:

steps:
- name: Checkout the code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Login to Github Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ github.actor }}
password: ${{ github.token }}
registry: ghcr.io

- name: Build and push ubuntu builder
uses: docker/build-push-action@v5
uses: docker/build-push-action@v7
with:
context: .devcontainer/ubuntu
file: .devcontainer/ubuntu/Dockerfile
Expand All @@ -148,7 +148,7 @@ jobs:

steps:
- name: Login to Github Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ github.actor }}
password: ${{ github.token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
timeout-minutes: 3 # the worst case is < 1 minute
steps:
- name: Checkout source
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
test -z $last_run_id && echo "cannot find last successful run_id" && exit 1 || echo "last_run_id=$last_run_id" && echo "last_run_id=$last_run_id" >> $GITHUB_OUTPUT

- name: Download Python SDK (RaspiOS bookworm ARM64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -46,7 +46,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download Python SDK deb (RaspiOS bookworm ARM64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -56,7 +56,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download Agent deb (RaspiOS bookworm ARM64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -66,7 +66,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download Python SDK (Ubuntu noble ARM64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -76,7 +76,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download Python SDK deb (Ubuntu noble ARM64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -86,7 +86,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download Agent deb (Ubuntu noble ARM64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -96,7 +96,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download Python SDK (Ubuntu noble AMD64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -106,7 +106,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download Python SDK deb (Ubuntu noble AMD64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -116,7 +116,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download Agent deb (Ubuntu noble AMD64)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand All @@ -126,7 +126,7 @@ jobs:
github-token: ${{ github.event.repository.private && secrets.MIDOJENKINS_ARTIFACT_READ_EVP_AGENT_OSS || github.token }}

- name: Download SBOM
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
env:
LAST_RUN_ID: ${{ steps.run-id.outputs.last_run_id }}
with:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
run: ls -la dist-raspios-bookworm-arm64

- name: Push artifacts to release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
prerelease: false
files: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -112,14 +112,14 @@ jobs:

# Upload test logs upon failure.
- name: Upload logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: always()
with:
name: test-log-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}-${{ github.run_attempt }}
path: test/logs/**/*.log
retention-days: ${{ job.status == 'success' && '7' || '14' }}

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: test-modules-${{ matrix.name }}-${{ matrix.platform }}-${{ github.run_id }}
path: |
Expand All @@ -129,7 +129,7 @@ jobs:
test_modules/python/*.zip

- name: Upload coverage results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
# Use a specific folder to not overwrite log files
name: coverage-report-${{ matrix.name }}-${{ matrix.platform }}-${{github.run_id}}
Expand All @@ -139,7 +139,7 @@ jobs:
- name: Report code coverage
if: ${{ matrix.name == 'raspios-bookworm' && matrix.platform == 'arm64' }}
id: report-action-lcov
uses: zgosalvez/github-actions-report-lcov@v4.1.2
uses: zgosalvez/github-actions-report-lcov@v7
with:
title-prefix: ${{ matrix.name }}-${{ matrix.platform }}
coverage-files: coverage/filtered.lcov
Expand All @@ -149,7 +149,7 @@ jobs:

- name: Report summary coverage to status
if: ${{ matrix.name == 'raspios-bookworm' && matrix.platform == 'arm64' }}
uses: guibranco/github-status-action-v2@v1.1.13
uses: guibranco/github-status-action-v2@v1
with:
authToken: ${{ github.token }}
context: "Coverage line level: "
Expand Down
Loading