Skip to content

Ensure EXTRA_OPTS is checked before adding it to entrypoint #289

Open

Description

@dsimog01

This issue is tightly related to dappnode/DAppNode#549

During the building process of each package. the SDK should perform the following tasks for each service that includes the EXTRA_OPTS flag:

  1. Check that the service also includes the FLAGS env (ideally, we should check that these flags are not present in the entrypoint.sh, but this might be more complex).
  2. Check that the package includes check_extra_opts.sh and that it follows the exact expected format
  3. Check that the last line of the entrypoint.sh follows the format `./command check_extra_opts(FLAGS, EXTRA_OPTS)

Activity

  1. added
    enhancement
    P1
    on Mar 15, 2023
  2. pablomendezroyo commented on May 9, 2023

    @pablomendezroyo
    Contributor

    Hard to implement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions