Skip to content

Commit

Permalink
Update images to Ubuntu 24.04 (#124)
Browse files Browse the repository at this point in the history
* Update images to Ubuntu 24.04

* Modify workflow to test

* Fix .NET Core SDK installation

* Fix PowerShell installation

* Fix toolset docker plugins assets

* Remove unused outdated readme

* Fix no such file or directory error for readmes

* Make software-report.md more workflow friendly

* Add missing install scripts to 24.04 arm64

* Revert back to main before the PR is merged
  • Loading branch information
guicaulada authored Nov 8, 2024
1 parent 2660abc commit e31ea85
Show file tree
Hide file tree
Showing 10 changed files with 774 additions and 422 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/packer-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ jobs:
fail-fast: false
matrix:
template:
- images/ubuntu/templates/ubuntu-22.04.pkr.hcl
- images/ubuntu/templates/ubuntu-22.04.arm64.pkr.hcl
- images/ubuntu/templates/ubuntu-24.04.pkr.hcl
- images/ubuntu/templates/ubuntu-24.04.arm64.pkr.hcl

steps:
- name: Checkout repository
Expand Down Expand Up @@ -183,15 +183,14 @@ jobs:
- name: Preapre artifacts
id: artifacts
run: |
git add -N .
mkdir -p artifacts
name=$(basename -s .pkr.hcl ${{ matrix.template }})
readme=$(git diff --name-only -- '*.md')
mv "$readme" artifacts/readme-${name}.md
readme=$(git ls-files --others --exclude-standard -- '**/software-report.md')
mv "$readme" artifacts/${name}-software-report.md
report=$(git ls-files --others --exclude-standard -- '**/software-report.json')
mv "$report" artifacts/software-report-${name}.json
mv "$report" artifacts/${name}-software-report.json
manifest=$(git ls-files --others --exclude-standard -- '**/build-manifest.json')
mv "$manifest" artifacts/build-manifest-${name}.json
mv "$manifest" artifacts/${name}-build-manifest.json
echo "name=$name" >> "${GITHUB_OUTPUT}"
- name: Upload artifacts
Expand Down
350 changes: 0 additions & 350 deletions images/ubuntu/Ubuntu2204-arm64-Readme.md

This file was deleted.

Loading

0 comments on commit e31ea85

Please sign in to comment.