Skip to content

Commit

Permalink
Merge pull request #396 from TheCacophonyProject/update-test
Browse files Browse the repository at this point in the history
Update test
  • Loading branch information
Zainrax authored Oct 15, 2024
2 parents c5487f9 + 0608ab4 commit 5512d7b
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions tc2/basics/99-allow-downgrades
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
APT::Get::Allow-Downgrades "true";
5 changes: 5 additions & 0 deletions tc2/basics/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,8 @@ restart_swap_service:
/sbin/dphys-swapfile swapon
- onchanges:
- file: manage_swapfile

/etc/apt/apt.conf.d/99-allow-downgrades:
file.managed:
- source: salt://tc2/basics/99-allow-downgrades
- mode: 0644
3 changes: 2 additions & 1 deletion tc2/config/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
cacophony-config-pkg:
cacophony.pkg_installed_from_github:
- name: go-config
- version: "1.20.9"
- version: "1.23.0"
- architecture: "arm64"
- pkg_name: cacophony-config
- branch: master

Expand Down
3 changes: 2 additions & 1 deletion tc2/device-register/init.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
device-register-pkg:
cacophony.pkg_installed_from_github:
- name: device-register
- version: "1.6.0"
- version: "1.6.1"
- architecture: "arm64"
- branch: master

/etc/systemd/system/device-register.service.d:
Expand Down
3 changes: 2 additions & 1 deletion tc2/event-reporter/init.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
event-reporter-pkg:
cacophony.pkg_installed_from_github:
- name: event-reporter
- version: "3.8.1"
- version: "3.8.1" # Uncommend the architecture line next version update.
#- architecture: "arm64"
- branch: "master"

event-reporter-service:
Expand Down
2 changes: 1 addition & 1 deletion tc2/management-interface/init.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
management-interface-pkg:
cacophony.pkg_installed_from_github:
- name: management-interface
- version: "1.33.1-tc2"
- version: "1.34.0-tc2"
- architecture: "arm64"
- branch: tc2

Expand Down
1 change: 1 addition & 0 deletions tc2/modemd/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ modemd-pkg:
cacophony.pkg_installed_from_github:
- name: modemd
- version: "1.11.0-tc2"
- architecture: "arm64"
- branch: "tc2"

modemd:
Expand Down
3 changes: 2 additions & 1 deletion tc2/salt-updater/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
salt-updater-pkg:
cacophony.pkg_installed_from_github:
- name: salt-updater
- version: "0.8.5"
- version: "0.8.5" # Uncommend the architecture line next version update.
#- architecture: "arm64"

salt-updater:
service.running:
Expand Down

0 comments on commit 5512d7b

Please sign in to comment.