How to use the ern-orchestrator.Ensure.bundleStoreUrlSetInCauldron function in ern-orchestrator

To help you get started, we’ve selected a few ern-orchestrator examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github electrode-io / electrode-native / ern-local-cli / src / lib / logErrorAndExitIfNotSatisfied.ts View on Github external
)
      kaxTask.succeed()
    }
    if (manifestIdExists) {
      kaxTask = kax.task(
        `Ensuring that ${manifestIdExists.id} id exists in Manifest(s)`
      )
      await Ensure.manifestIdExists(
        manifestIdExists.id,
        manifestIdExists.extraErrorMessage
      )
      kaxTask.succeed()
    }
    if (bundleStoreUrlSetInCauldron) {
      kaxTask = kax.task(`Ensuring that bundleStore url is set in Cauldron`)
      await Ensure.bundleStoreUrlSetInCauldron(
        bundleStoreUrlSetInCauldron.extraErrorMessage
      )
      kaxTask.succeed()
    }
    if (bundleStoreAccessKeyIsSet) {
      kaxTask = kax.task(
        `Ensuring that bundlestore-accesskey is set in configuration`
      )
      await Ensure.bundleStoreAccessKeyIsSet(
        bundleStoreAccessKeyIsSet.extraErrorMessage
      )
      kaxTask.succeed()
    }
    if (metroServerIsNotRunning) {
      kaxTask = kax.task(`Ensuring that metro server is not running`)
      await Ensure.metroServerIsNotRunning(