Skip to content

On schedule run - allow for extra configuration to be passed in #13

Open
@jamie-wearsafe

Description

@jamie-wearsafe

In my case I need to be able to specify device configuration:
deviceSelectionConfiguration

          DEVICE_CONFIG="billingMethod=UNMETERED,radios={wifi=true,bluetooth=true,nfc=true,gps=true}"
          # Device configuration
          if [[ -f "data_arn.txt" ]]; then
            DEVICE_CONFIG="${DEVICE_CONFIG},extraDataPackageArn=$(cat data_arn.txt)"
          fi
          # Execution configuration
          EXEC_CONFIG="jobTimeoutMinutes=${TIMEOUT},videoCapture=true"

and using it like:

# aws devicefarm schedule-run \
          #  --project-arn "${PROJECT}" \
          #  --device-pool-arn "${DEVICE_POOL}" \
          #  --name "${NAME}" \
          #  --test "${TEST}" \
          #  --configuration "${DEVICE_CONFIG}" \
          #  --execution-configuration "${EXEC_CONFIG}" \
          #  --app-arn "$(cat app_arn.txt)")

I can see these parts were left off the action inputs.

If I can i'll make a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions