Commit graph

13 commits

Author SHA1 Message Date
awalsh128 6272d2846f Fetaure to add repositories. 2023-01-02 14:15:37 -08:00
Andrew Walsh 51678ad913
Execute installation scripts feature, debug mode, and permission denied fix. (#65)
* Execute installation scripts and debug mode features. (#64)

* Provide the ability to call Debian package manager installation scripts (i.e. `*.[preinst, postinst]`).
* Introduce a debug mode that runs the scripts in verbose mode and uploads the logs for retrieval.
* Updated README to reflect new features and provided more info on how to use the action versions.

* Dev (#66)

* Fix permission denied error.

* Fix permission denied error. (#51)

* Remove compression from file caching. (#53)

* Draft of postinst support from issue #44.

* Remove bad option.

* Removed extraneous line.

* Cover no packages edge case when writing manifest.

* Fix postinst bugs and add docs to lib.

* Made cache directory variable and more refinements to postinst.

* Update deprecated option.

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

* Rollback accidental commit of new postinst feature.

* Minor edit ands full install script execution FR.

* Fix execute_install_scripts message to show the right param name.

* Fix param check.

* Minor fix to doc.

* Upload action logs for debugging.

* Make artifact names unique.

* Add debug option.

* Update description.

* Debug package list issue.

* Rollback 76128c60a1

* Revert outputs set behavior to see if it fixes outputs issue in dev.

* Restore updated outputs behavior. So strange it is working when I revert.

* Fix bugs in install script execution.

* Add error suppression on file testing.

* Debug feature.

* Link to the issue that started the postinst troubleshooting.

* Describe action version usage.

* Fix package outputs command.
2022-11-23 22:24:00 -08:00
Andrew Walsh c5df606b25
Optimize installs with apt-fast and various minor cleanups. (#35)
* Fix cut regression.

Originally fixed in #17. This was reintroduced when master was sync'd to staging.

* Update pre_cache_action.sh

* Switch to CLI safe apt command.

Address concern in issue #23.

* Optimize installs with apt-fast and cleanup logging.
2022-07-23 17:06:17 -07:00
awalsh128 b61cf9a6f1 Copy from staging to dev. 2022-07-19 20:42:48 -07:00
Andrew Walsh 17cdbf8735
Revert "Cache non explicitly listed packages" 2022-06-03 20:30:40 -07:00
Nate Bohman 6d622023ef
Also Cache Non-Explicitly Listed APT PKGs
Apt installs more packages than just those explicitly listed. This can
lead to issues of missing files when the cache is restored.
2022-03-18 09:39:17 -06:00
awalsh128 58be009328 Work around cache-hit bug in cache action. 2021-10-22 00:12:56 -07:00
awalsh128 8f2c275875 Remove refresh feature. 2021-10-21 23:04:42 -07:00
awalsh128 125244158b Remove package manifest write for restores. 2021-10-21 22:29:23 -07:00
awalsh128 6d2730c8bf Fix manifest location. 2021-10-21 22:01:57 -07:00
awalsh128 4e7f5ac971 Fix conditionals for install and restore. 2021-10-21 21:39:47 -07:00
awalsh128 d6b9426197 Update relative script directory. 2021-10-21 21:22:07 -07:00
awalsh128 e5a9854ee1 Consolidate steps, and make reporting less verbose. 2021-10-21 20:57:52 -07:00