-
Notifications
You must be signed in to change notification settings - Fork 369
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
Cseda/upload to sauce labs 0.0.1 #4156
Open
camseda
wants to merge
4
commits into
bitrise-io:master
Choose a base branch
from
camseda:cseda/upload-to-sauce-labs-0.0.1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+265
−0
Open
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# | ||
# A couple of useful guides & docs: | ||
# | ||
# - Main Bitrise CLI docs: https://github.com/bitrise-io/bitrise/tree/master/_docs | ||
# - Step Development Guideline: https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md | ||
# - Bitrise.yml format spec: https://github.com/bitrise-io/bitrise/blob/master/_docs/bitrise-yml-format-spec.md | ||
# - Bitrise docs: http://devcenter.bitrise.io/ | ||
# - Bitrise CLI guides: http://devcenter.bitrise.io/bitrise-cli/ | ||
|
||
title: |- | ||
Upload to Sauce Labs | ||
summary: | | ||
Upload an APK/AAB/IPA/ZIP artifact to Sauce Labs. | ||
description: | | ||
Upload your build file to Sauce Labs for remote device testing. | ||
Requires an APK, AAB, IPA, or ZIP file within the workflow, Sauce Labs username, access key, and file name. | ||
You can optionally provide a build path and request url. | ||
|
||
Required fields are: | ||
- sauce_username | ||
- sauce_access_key | ||
- sauce_app_name | ||
|
||
Optional fields are: | ||
- artifact_path | ||
- data_center_url | ||
website: https://github.com/camseda/bitrise-step-upload-to-sauce-labs | ||
source_code_url: https://github.com/camseda/bitrise-step-upload-to-sauce-labs | ||
support_url: https://github.com/camseda/bitrise-step-upload-to-sauce-labs/issues | ||
published_at: 2024-03-26T12:38:22.13670071+02:00 | ||
source: | ||
git: https://github.com/camseda/bitrise-step-upload-to-sauce-labs.git | ||
commit: 291be42de92c3c1fe0ed1823969690640d19ae37 | ||
project_type_tags: | ||
- ios | ||
- android | ||
|
||
type_tags: | ||
- deploy | ||
|
||
is_always_run: false | ||
is_skippable: false | ||
run_if: "" | ||
|
||
deps: | ||
brew: | ||
- name: git | ||
apt_get: | ||
- name: git | ||
|
||
toolkit: | ||
bash: | ||
entry_file: step.sh | ||
|
||
inputs: | ||
- sauce_username: $SAUCE_USERNAME | ||
opts: | ||
title: Sauce Labs username | ||
summary: Your Sauce Labs username | ||
description: The username given to your Sauce Labs account. | ||
is_required: true | ||
is_sensitive: true | ||
- sauce_access_key: $SAUCE_ACCESS_KEY | ||
opts: | ||
title: Sauce Labs Access Key | ||
summary: Your Sauce Labs Access Key | ||
description: The secure key used to access your Sauce Labs account. | ||
is_required: true | ||
is_sensitive: true | ||
- sauce_app_name: $SAUCE_APP_NAME | ||
opts: | ||
title: Sauce Labs App Name | ||
summary: Your Sauce Labs application name and extension. | ||
description: | | ||
This is translated to the File Name in Sauce Labs (and must include the file extension). The extension is used to automatically set the `artifact_path`. | ||
|
||
Sauce Lab's File Name can be used to activate a specific app with the `filename` flag in your Capabilities | ||
rather than using the File ID automatically generated on upload - `storage:filename=<fileName>.<ext>`. | ||
A JavaScript example would be: `caps['app'] = 'storage:filename=TestApplication.apk';` | ||
is_required: true | ||
- artifact_path: | ||
opts: | ||
title: The absolute APK, AAB, IPA, or ZIP path | ||
summary: Leave empty to use an automatically generated artifact_path. | ||
description: | | ||
Generated automatically based on the Sauce Lab application's name set in `sauce_app_name`. | ||
The extension will be used to gather the `BITRISE_APK_PATH`, `BITRISE_AAB_PATH`, `BITRISE_IPA_PATH`, or `BITRISE_XCARCHIVE_ZIP_PATH`. | ||
|
||
If you're uploading a file in a format other than .apk, .aab, .ipa, or .zip, you will need to provide a value for `artifact_path`. | ||
is_required: false | ||
- data_center_url: | ||
opts: | ||
title: Request / data center URL | ||
summary: App storage URL containing the location of your data center | ||
description: | | ||
If using the ES East or Europe data center, provide the desired URL for the POST request. | ||
This step will default to US West (https://api.us-west-1.saucelabs.com/v1/storage/upload) otherwise. | ||
is_required: false |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
maintainer: community |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the
git
cli tool a dependency of this step? By looking at the source codegit
command isn't invoked directly.