From 21f701dde4b9b7be84b0a472faf89714c5dd890c Mon Sep 17 00:00:00 2001 From: camilleseda Date: Tue, 26 Mar 2024 15:51:33 -0400 Subject: [PATCH 1/2] Add new commit hash --- steps/upload-to-sauce-labs/0.0.1/step.yml | 98 ++++++++++++ steps/upload-to-sauce-labs/assets/icon.svg | 166 +++++++++++++++++++++ steps/upload-to-sauce-labs/step-info.yml | 1 + 3 files changed, 265 insertions(+) create mode 100644 steps/upload-to-sauce-labs/0.0.1/step.yml create mode 100644 steps/upload-to-sauce-labs/assets/icon.svg create mode 100644 steps/upload-to-sauce-labs/step-info.yml diff --git a/steps/upload-to-sauce-labs/0.0.1/step.yml b/steps/upload-to-sauce-labs/0.0.1/step.yml new file mode 100644 index 000000000..1971b4c8f --- /dev/null +++ b/steps/upload-to-sauce-labs/0.0.1/step.yml @@ -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: 5717f2875625b7162db2f99b16027d37c1253bbb +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=.`. + 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 \ No newline at end of file diff --git a/steps/upload-to-sauce-labs/assets/icon.svg b/steps/upload-to-sauce-labs/assets/icon.svg new file mode 100644 index 000000000..cab900a11 --- /dev/null +++ b/steps/upload-to-sauce-labs/assets/icon.svg @@ -0,0 +1,166 @@ + + + + + + + + + \ No newline at end of file diff --git a/steps/upload-to-sauce-labs/step-info.yml b/steps/upload-to-sauce-labs/step-info.yml new file mode 100644 index 000000000..e932625fa --- /dev/null +++ b/steps/upload-to-sauce-labs/step-info.yml @@ -0,0 +1 @@ +maintainer: community From 724a6619fe0bd167da281d469cfeafaa0298d061 Mon Sep 17 00:00:00 2001 From: camilleseda Date: Tue, 2 Apr 2024 11:54:15 -0400 Subject: [PATCH 2/2] Add proper commit matching release tag --- steps/upload-to-sauce-labs/0.0.1/step.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steps/upload-to-sauce-labs/0.0.1/step.yml b/steps/upload-to-sauce-labs/0.0.1/step.yml index 1971b4c8f..2ca459ae7 100644 --- a/steps/upload-to-sauce-labs/0.0.1/step.yml +++ b/steps/upload-to-sauce-labs/0.0.1/step.yml @@ -30,7 +30,7 @@ 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: 5717f2875625b7162db2f99b16027d37c1253bbb + commit: 291be42de92c3c1fe0ed1823969690640d19ae37 project_type_tags: - ios - android