-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add installation checks + CI Workflow #2119
Merged
s-martin
merged 45 commits into
MiczFlor:future3/develop
from
AlvinSchiller:future3/feature/workflowCI
Dec 2, 2023
Merged
Add installation checks + CI Workflow #2119
s-martin
merged 45 commits into
MiczFlor:future3/develop
from
AlvinSchiller:future3/feature/workflowCI
Dec 2, 2023
Conversation
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
be more consistent by using same var for display and index access
fix functionnames
only execute if flag is true. inlined function
used also for ci optimization
ignore for ci
use robust path determination move noninteractive to dockerfile
s-martin
approved these changes
Nov 21, 2023
Update test descriptions.
to not interfere with develop branch
Added a testcase to cover the webapp download for releases. |
Could we merge this, @AlvinSchiller @pabera ? |
pabera
approved these changes
Dec 2, 2023
AlvinSchiller
added a commit
to AlvinSchiller/RPi-Jukebox-RFID
that referenced
this pull request
Dec 4, 2023
* add ci workflow * add check for user home * changes for docker tests * added verify functions * exit on failed update * add check for samba setup * add check for mpd setup * add check for jukebox core setup * add check for git setup * add check for kiosk mode setup * add check for optimize boot setup * add check for webapp setup * add check for autohotspot setup * make rfid reader setup an optional step * Add Option for No Rfid Reader * moved setup checks to individual scripts * fix missing iw package * refactored get_reader_descriptions into function. be more consistent by using same var for display and index access * moved function to specific routine script * make sure verify parameters are all set. fix functionnames * added fix for not available interface in CI runs * check supported os type first * moved exit_on_error function top level * moved logging setup to function and added usage * moved load sources to function * change function name and var usage * updated log output for better logfile readability * harmonize log output * refactored disable onboard audio. only execute if flag is true. inlined function * add restart nginx.service again. use HOME_PATH * fix and check adding samba user * fix logging mpd setup routine * fix Disable boot logs error on existing file * added timer to log frame * add core package installation from file used also for ci optimization * Dont let remove packages fail install. ignore for ci * Update test scripts use robust path determination move noninteractive to dockerfile * fix clear in mpd option * fix bug in rfid configure * fix error on uninitialized rfid_reader settings * add checks for static ip config * Added test for webapp download in prod. Update test descriptions. * renamend workflow files to not interfere with develop branch * Update install links
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added and adapted the CI Workflow from V2 (see #2082 and #2092 about the build of the images and caching).
There are multiple test scripts, that use different paths of the installation process to cover the setup steps.
Different to V2 the installation checks are not only used for CI but are integrated in the regual installation process, to abort a corrupt installation. This avoids pretending a successfull installation and let the user handle runtime errors.
Change summary
Not covered by this PR
This will be addressed in a following PR which focuses on applying changes to the autohotspot logic made to V2.