Commit Graph

244 Commits

Author SHA1 Message Date
Igor
4644e4e652 Remove disabled noop job from workflow
Removed noop job for disabled external download.
2026-01-05 00:52:12 +01:00
Igor Pecovnik
bb6b938036 Noop 2026-01-04 21:55:34 +01:00
Igor Pecovnik
51ea81a2d3 Script for managing is still located at repo_fix branch, that hasn't been merged 2026-01-04 20:21:54 +01:00
Igor Pecovnik
9e05896d71 Switch to main branch as script has been merged already 2026-01-04 18:55:07 +01:00
Igor Pecovnik
6a454f0824 Optimize workflow: cache NetBox data, simplify sync logic
- Cache server configuration (name, path, port, username) in Prepare job matrix
  to avoid duplicate NetBox API calls in Sync and Index jobs
- Simplify Sync and Index jobs by removing excessive validations
  (data is already validated in Prepare job)
- Remove duplicate NetBox API fetches - reduce from 2N to 1+N where N is servers
- Simplify rsync case statements using sed for path transformation
  (debs → apt, debs-beta → beta)
- Add ENABLED input to external download workflow for conditional execution
- Reference repo_fix branch instead of main for external workflow during testing

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-01-04 14:46:21 +01:00
Igor Pecovnik
324dd240a4 Test repo managing with dry-run sync 2026-01-04 14:46:21 +01:00
Igor Pecovnik
cfefe214a2 Adjust cleaning to new repo handling tool, adjust permissions 2026-01-03 21:24:04 +01:00
Igor
3298112c25 Don't delete artifacts 2026-01-03 19:51:29 +01:00
Igor Pecovnik
5f220d3d03 Add copying mechanism to workflow
- Add INCOMING_PATH environment variable for staging files
- Add new Copying job that handles moving files from incoming to storage
- Copying job processes different targets (stable, cron, nightly, etc.)
- Remove Payload job and xx.yml workflow file
- Change Check job runner from ubuntu-latest to Linux
- Update external job dependency from Check to Copying
2026-01-03 18:10:48 +01:00
Igor Pecovnik
8b823a7086 Add testing script 2026-01-03 15:51:12 +01:00
Igor
c64bb27df9 Change runner from ubuntu-latest to Linux 2026-01-03 15:42:48 +01:00
Igor Pecovnik
348756629e Enlarge timeout for uploading images to cache 2026-01-03 15:30:24 +01:00
Igor Pecovnik
5dc25888db Show payload 2026-01-03 13:17:35 +01:00
Igor Pecovnik
10fbf66fd2 Set default value when executing from repository dispatch 2026-01-03 13:01:40 +01:00
Igor Pecovnik
c429cfba1f Reverske condition logic 2026-01-02 23:33:03 +01:00
Igor Pecovnik
410467f5c2 Adjust pipeline logic to allow repo management without external pkg download 2026-01-02 20:48:19 +01:00
Igor Pecovnik
ae1c71d2dd Update repository workflow with hardening and security improvements
- Add comprehensive input validation for all paths and parameters
- Implement SSRF prevention for API calls
- Add format validation for hostnames, usernames, and ports
- Enhance NetBox API error handling and validation
- Improve permission management with safety checks
- Add dry-run support for sync operations
- Strengthen repository path validation throughout
- Enhance security for beta repository operations

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-01-02 16:52:54 +01:00
Igor
5c88453cfd Add workflow_dispatch trigger to partners data update 2026-01-01 10:48:24 +01:00
dependabot[bot]
0cb9403679 Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-31 13:41:23 +01:00
dependabot[bot]
90bc5b9f08 Bump actions/upload-artifact from 4 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-31 13:41:12 +01:00
dependabot[bot]
0505ba1658 Bump geekyeggo/delete-artifact from 4 to 5
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 4 to 5.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Changelog](https://github.com/GeekyEggo/delete-artifact/blob/main/CHANGELOG.md)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-31 13:39:41 +01:00
dependabot[bot]
95a6936643 Bump tj-actions/changed-files from 46 to 47
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 46 to 47.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v46...v47)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: '47'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-31 13:38:43 +01:00
Igor Pecovnik
197e3f9737 Add U-Boot package copying support to Armbian kernel copy script
Enhance copy-armbian-kernel script to support copying U-Boot bootloader
packages in addition to kernel packages. Key changes:

- Add COPY_UBOOT flag (default: true) to enable/disable U-Boot copying
- Add UBOOT_SELECT variable for board/branch filtering (e.g., 'odroidm1:current')
- Split JQ program into reusable components (JQ_EXPAND, JQ_KERNEL_PAIRS, JQ_UBOOT_TRIPLETS)
- Add uboot_selected() function for pattern-based U-Boot selection
- Extract copy operations into copy_flat() and copy_recursive() helpers
- Track selected kernel pairs to filter U-Boot packages by default
2025-12-31 13:38:21 +01:00
Igor
74bef46693 Update workflow to use infrastructure-reusable-mirror 2025-12-29 21:20:19 +01:00
Igor Pecovnik
b948320484 Fix workflow: correct name, remove duplicate commands, fix paths
- Update workflow name from "Rewrite kernel configs" to "Update image-info.json"
- Remove unused matrix outputs from job configuration
- Fix duplicate cd command in commit step
- Fix git add path to use correct data/image-info.json
- Correct commit message to describe actual change
- Rename job from build-matrix to update-image-info

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2025-12-29 17:19:50 +01:00