Skip to content
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 occ and occ-cron scripts #2126

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Jul 23, 2024

  1. Add occ and occ-cron scripts

    This allows easier access to `occ` and `occ-cron` within the container.
    
    Signed-off-by: Daniel Rudolf <[email protected]>
    PhrozenByte committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d3b7a64 View commit details
    Browse the repository at this point in the history
  2. Use occ-cron in crontab

    Signed-off-by: Daniel Rudolf <[email protected]>
    PhrozenByte committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    cfff42e View commit details
    Browse the repository at this point in the history
  3. Use occ in entrypoint

    Signed-off-by: Daniel Rudolf <[email protected]>
    PhrozenByte committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    4ff550e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    67d1ed5 View commit details
    Browse the repository at this point in the history
  5. Drop run_as function in entrypoint

    Please note that `run_as` included `sh -c`, which is in any practical sense identical to `eval`, therefore we simplify `occ maintenance:install` to use `eval` instead. I'm no fan of `eval` either, however, since we must construct `$install_options` at runtime there simply is no other way to achieve this with POSIX-alike shells like Debian's Bash POSIX mode, and Alpine's Ash.
    
    Signed-off-by: Daniel Rudolf <[email protected]>
    PhrozenByte committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    fe86b46 View commit details
    Browse the repository at this point in the history
  6. Run update.sh

    Signed-off-by: Daniel Rudolf <[email protected]>
    PhrozenByte committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    da1c4fe View commit details
    Browse the repository at this point in the history
  7. Update README.md to mention occ wrapper script

    Signed-off-by: Daniel Rudolf <[email protected]>
    PhrozenByte committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    0df09c7 View commit details
    Browse the repository at this point in the history