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

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

Open
jamie-wearsafe opened this issue Feb 6, 2023 · 0 comments
Open

Comments

@jamie-wearsafe
Copy link

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.

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

No branches or pull requests

1 participant