-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add-tp_smapi
- Loading branch information
Showing
5 changed files
with
31 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Cleanup Old Images | ||
on: | ||
schedule: | ||
- cron: "30 0 * * 0" # 0030 UTC on Sundays | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | ||
|
||
jobs: | ||
delete-older-than-90: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
steps: | ||
- name: Delete Images Older Than 90 Days | ||
uses: dataaxiom/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
packages: akmods,akmods-zfs,akmods-extra,akmods-nvidia-open | ||
older-than: 90 days | ||
delete-orphaned-images: true | ||
keep-n-tagged: 7 | ||
keep-n-untagged: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,7 +106,7 @@ jobs: | |
systemctl status apparmor || true | ||
- name: Pull build images | ||
uses: Wandalen/[email protected].2 | ||
uses: Wandalen/[email protected].3 | ||
with: | ||
attempt_limit: 3 | ||
attempt_delay: 15000 | ||
|
@@ -266,7 +266,7 @@ jobs: | |
string: ${{ env.IMAGE_REGISTRY }} | ||
|
||
- name: Push To GHCR | ||
uses: Wandalen/[email protected].2 | ||
uses: Wandalen/[email protected].3 | ||
id: push | ||
if: github.event_name != 'pull_request' | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: ublue-os-nvidia-addons | ||
Version: 0.10 | ||
Version: 0.12 | ||
Release: 1%{?dist} | ||
Summary: Additional files for nvidia driver support | ||
|
||
|
@@ -15,8 +15,7 @@ Source2: ublue-nvctk-cdi.service | |
Source3: 70-ublue-nvctk-cdi.preset | ||
Source4: environment | ||
Source5: negativo17-fedora-nvidia.repo | ||
Source6: eyecantcu-supergfxctl.repo | ||
Source7: 60-nvidia-extra-devices-pm.rules | ||
Source6: 60-nvidia-extra-devices-pm.rules | ||
|
||
%description | ||
Adds various runtime files for nvidia support. | ||
|
@@ -32,33 +31,31 @@ install -Dm0644 %{SOURCE2} %{buildroot}%{_datadir}/ublue-os/%{_unitdir}/ublue-nv | |
install -Dm0644 %{SOURCE3} %{buildroot}%{_presetdir}/70-ublue-nvctk-cdi.preset | ||
install -Dm0644 %{SOURCE4} %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/sway/environment | ||
install -Dm0644 %{SOURCE5} %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/negativo17-fedora-nvidia.repo | ||
install -Dm0644 %{SOURCE6} %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/eyecantcu-supergfxctl.repo | ||
|
||
sed -i 's@enabled=1@enabled=0@g' %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/eyecantcu-supergfxctl.repo | ||
sed -i 's@enabled=1@enabled=0@g' %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/negativo17-fedora-nvidia.repo | ||
sed -i 's@enabled=1@enabled=0@g' %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/nvidia-container-toolkit.repo | ||
|
||
install -Dm0644 %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/negativo17-fedora-nvidia.repo %{buildroot}%{_sysconfdir}/yum.repos.d/negativo17-fedora-nvidia.repo | ||
install -Dm0644 %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/eyecantcu-supergfxctl.repo %{buildroot}%{_sysconfdir}/yum.repos.d/eyecantcu-supergfxctl.repo | ||
install -Dm0644 %{buildroot}%{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/nvidia-container-toolkit.repo %{buildroot}%{_sysconfdir}/yum.repos.d/nvidia-container-toolkit.repo | ||
install -Dm0644 %{buildroot}%{_datadir}/ublue-os/%{_datadir}/selinux/packages/nvidia-container.pp %{buildroot}%{_datadir}/selinux/packages/nvidia-container.pp | ||
install -Dm0644 %{buildroot}%{_datadir}/ublue-os/%{_unitdir}/ublue-nvctk-cdi.service %{buildroot}%{_unitdir}/ublue-nvctk-cdi.service | ||
|
||
%files | ||
%attr(0644,root,root) %{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/negativo17-fedora-nvidia.repo | ||
%attr(0644,root,root) %{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/nvidia-container-toolkit.repo | ||
%attr(0644,root,root) %{_datadir}/ublue-os/%{_sysconfdir}/yum.repos.d/eyecantcu-supergfxctl.repo | ||
%attr(0644,root,root) %{_datadir}/ublue-os/%{_datadir}/selinux/packages/nvidia-container.pp | ||
%attr(0644,root,root) %{_datadir}/ublue-os/%{_sysconfdir}/sway/environment | ||
%attr(0644,root,root) %{_datadir}/ublue-os/%{_unitdir}/ublue-nvctk-cdi.service | ||
%attr(0644,root,root) %{_sysconfdir}/yum.repos.d/negativo17-fedora-nvidia.repo | ||
%attr(0644,root,root) %{_sysconfdir}/yum.repos.d/nvidia-container-toolkit.repo | ||
%attr(0644,root,root) %{_sysconfdir}/yum.repos.d/eyecantcu-supergfxctl.repo | ||
%attr(0644,root,root) %{_datadir}/selinux/packages/nvidia-container.pp | ||
%attr(0644,root,root) %{_unitdir}/ublue-nvctk-cdi.service | ||
%attr(0644,root,root) %{_presetdir}/70-ublue-nvctk-cdi.preset | ||
|
||
%changelog | ||
* Sun Nov 24 2024 RJ Trujillo <[email protected]> - 0.12 | ||
- Remove supergfxctl copr as it has been relocated to staging | ||
|
||
* Sat Apr 13 Benjamin Sherman <[email protected]> - 0.11 | ||
- Add negativo17 fedora-nvidia repo for switch of NVIDIA driver source | ||
- Provided third-party repos are no longer enabled by default | ||
|