-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
AppCenterDistribute v3 task: add destination type and silent release options #9759
Merged
keerthanakumar
merged 19 commits into
microsoft:master
from
evkhramkov:app-center-distribute-v3
Mar 12, 2019
Merged
Changes from 6 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0f12935
bootstrap V3 App Center Distribute task
evkhramkov fbf71f0
add destination type and silent release options
evkhramkov 91e0b9a
make destinations optinal for groups and mandatory for store
evkhramkov 5b90e12
fix expression
evkhramkov b04cf1d
update unit tests
evkhramkov b84b6b7
fix isSilent parameter name, refactor types
evkhramkov d75565a
make store destination required
evkhramkov 929375a
use new post api for publishing release to destination; move updating…
evkhramkov 02d2269
update unit tests
evkhramkov 60aa06e
trigger checks
evkhramkov 5f78666
Merge branch 'master' of github.com:Microsoft/azure-pipelines-tasks i…
evkhramkov 44649c7
DEBUG output test contents
evkhramkov 28aed32
Revert "DEBUG output test contents"
evkhramkov 71baee0
output failed tests
evkhramkov 47ffbd6
clear env before running a test
evkhramkov 1825cd2
remove debug output
evkhramkov 94d7f0e
add comment
evkhramkov 683e9e5
Change ui strings to be more specific
JacobRoberts 3175dd5
Merge pull request #1 from JacobRoberts/patch-1
evkhramkov 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
41 changes: 41 additions & 0 deletions
41
Tasks/AppCenterDistributeV3/Strings/resources.resjson/de-de/resources.resjson
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,41 @@ | ||
{ | ||
"loc.friendlyName": "App Center-Verteilung", | ||
"loc.helpMarkDown": "Hilfe zu dieser Aufgabe finden Sie auf der Visual Studio App Center-[Supportwebsite](https://aka.ms/appcentersupport/).", | ||
"loc.description": "Hiermit verteilen Sie App-Builds über App Center an Tester und Benutzer.", | ||
"loc.instanceNameFormat": "\"$(app)\" in Visual Studio App Center bereitstellen", | ||
"loc.releaseNotes": "Fügen Sie Unterstützung für die Verteilung auf Speicher hinzu.", | ||
"loc.group.displayName.symbols": "Symbole", | ||
"loc.input.label.serverEndpoint": "App Center-Dienstverbindung", | ||
"loc.input.help.serverEndpoint": "Wählen Sie die Dienstverbindung für Visual Studio App Center aus. Um eine Dienstverbindung zu erstellen, klicken Sie auf den Link \"Verwalten\", und erstellen Sie eine neue Dienstverbindung.", | ||
"loc.input.label.appSlug": "App-Datenfeld", | ||
"loc.input.help.appSlug": "Das App-Datenfeld weist das Format **{username}/{app_identifier}** auf. Um **{username}** und **{app_identifier}** für eine App zu suchen, klicken Sie unter https://appcenter.ms/apps auf den Namen der App. Die resultierende URL liegt im Format [https://appcenter.ms/users/<b>{username}</b>/apps/<b>{app_identifier}</b>](https://appcenter.ms/users/{username}/apps/{app_identifier}) vor. Wenn Sie Organisationen verwenden, weist das App-Datenfeld das Format **{orgname}/{app_identifier}** auf.", | ||
"loc.input.label.app": "Pfad zur Binärdatei", | ||
"loc.input.help.app": "Der relative Pfad vom Repositorystamm zur APK- oder IPA-Datei, die Sie veröffentlichen möchten.", | ||
"loc.input.label.symbolsType": "Symboltyp", | ||
"loc.input.label.symbolsPath": "Symbolpfad", | ||
"loc.input.help.symbolsPath": "Der relative Pfad vom Repositorystamm zum Symbolordner.", | ||
"loc.input.label.pdbPath": "Symbolpfad (*.pdb)", | ||
"loc.input.help.pdbPath": "Relativer Pfad vom Repositorystamm zu PDB-Symboldateien. Der Pfad enthält unter Umständen Platzhalter.", | ||
"loc.input.label.dsymPath": "dSYM-Pfad", | ||
"loc.input.help.dsymPath": "Der relative Pfad vom Repositorystamm zum dSYM-Ordner. Der Pfad enthält unter Umständen Platzhalter.", | ||
"loc.input.label.mappingTxtPath": "Zuordnungsdatei", | ||
"loc.input.help.mappingTxtPath": "Der relative Pfad vom Repositorystamm zur mapping.txt-Datei von Android.", | ||
"loc.input.label.packParentFolder": "Alle Elemente im übergeordneten Ordner einschließen", | ||
"loc.input.help.packParentFolder": "Laden Sie die ausgewählte Symboldatei bzw. den ausgewählten Ordner und alle weiteren Elemente innerhalb desselben übergeordneten Ordners hoch. Dies ist für React Native-Apps erforderlich.", | ||
"loc.input.label.releaseNotesSelection": "Anmerkungen zu dieser Version erstellen", | ||
"loc.input.label.releaseNotesInput": "Anmerkungen zu dieser Version", | ||
"loc.input.help.releaseNotesInput": "Anmerkungen zu dieser Version.", | ||
"loc.input.label.releaseNotesFile": "Datei mit Anmerkungen zu dieser Version", | ||
"loc.input.help.releaseNotesFile": "Wählen Sie eine UTF-8-codierte Textdatei aus, die die Anmerkungen zu dieser Version enthält.", | ||
"loc.input.label.destinationIds": "Ziel-ID", | ||
"loc.input.help.destinationIds": "Die ID der Verteilergruppe oder des Speichers, in der bzw. dem die App bereitgestellt wird. Lassen Sie den Eintrag leer, um die Standardgruppe zu verwenden.", | ||
"loc.messages.CannotDecodeEndpoint": "Der Endpunkt konnte nicht decodiert werden.", | ||
"loc.messages.NoResponseFromServer": "Keine Antwort vom Server.", | ||
"loc.messages.FailedToUploadFile": "Fehler beim Abschließen des Dateiuploads.", | ||
"loc.messages.NoApiTokenFound": "In der Visual Studio App Center-Dienstverbindung wurde kein API-Token gefunden.", | ||
"loc.messages.Succeeded": "Die Aufgabe zur App Center-Verteilung wurde erfolgreich durchgeführt.", | ||
"loc.messages.CannotFindAnyFile": "Es kann keine auf \"%s\" basierende Datei gefunden werden.", | ||
"loc.messages.FoundMultipleFiles": "Es wurden mehrere Dateien gefunden, die \"%s\" entsprechen.", | ||
"loc.messages.FailedToCreateFile": "Fehler beim Erstellen von \"%s\": %s.", | ||
"loc.messages.FailedToFindFile": "%s wurde unter %s nicht gefunden." | ||
} |
48 changes: 48 additions & 0 deletions
48
Tasks/AppCenterDistributeV3/Strings/resources.resjson/en-US/resources.resjson
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,48 @@ | ||
{ | ||
"loc.friendlyName": "App Center Distribute", | ||
"loc.helpMarkDown": "For help with this task, visit the Visual Studio App Center [support site](https://aka.ms/appcentersupport/).", | ||
"loc.description": "Distribute app builds to testers and users via App Center", | ||
"loc.instanceNameFormat": "Deploy $(app) to Visual Studio App Center", | ||
"loc.releaseNotes": "Added support for multiple destinations.", | ||
"loc.group.displayName.symbols": "Symbols", | ||
"loc.input.label.serverEndpoint": "App Center service connection", | ||
"loc.input.help.serverEndpoint": "Select the service connection for Visual Studio App Center. To create one, click the Manage link and create a new service connection.", | ||
"loc.input.label.appSlug": "App slug", | ||
"loc.input.help.appSlug": "The app slug is in the format of **{username}/{app_identifier}**. To locate **{username}** and **{app_identifier}** for an app, click on its name from https://appcenter.ms/apps, and the resulting URL is in the format of [https://appcenter.ms/users/<b>{username}</b>/apps/<b>{app_identifier}</b>](https://appcenter.ms/users/{username}/apps/{app_identifier}). If you are using orgs, the app slug is of the format **{orgname}/{app_identifier}**.", | ||
"loc.input.label.app": "Binary file path", | ||
"loc.input.help.app": "Relative path from the repo root to the APK or IPA file you want to publish", | ||
"loc.input.label.symbolsType": "Symbols type", | ||
"loc.input.label.symbolsPath": "Symbols path", | ||
"loc.input.help.symbolsPath": "Relative path from the repo root to the symbols folder.", | ||
"loc.input.label.pdbPath": "Symbols path (*.pdb)", | ||
"loc.input.help.pdbPath": "Relative path from the repo root to PDB symbols files. Path may contain wildcards.", | ||
"loc.input.label.dsymPath": "dSYM path", | ||
"loc.input.help.dsymPath": "Relative path from the repo root to dSYM folder. Path may contain wildcards.", | ||
"loc.input.label.mappingTxtPath": "Mapping file", | ||
"loc.input.help.mappingTxtPath": "Relative path from the repo root to Android's mapping.txt file.", | ||
"loc.input.label.packParentFolder": "Include all items in parent folder", | ||
"loc.input.help.packParentFolder": "Upload the selected symbols file or folder and all other items inside the same parent folder. This is required for React Native apps.", | ||
"loc.input.label.releaseNotesSelection": "Create release notes", | ||
"loc.input.label.releaseNotesInput": "Release notes", | ||
"loc.input.help.releaseNotesInput": "Release notes for this version.", | ||
"loc.input.label.releaseNotesFile": "Release notes file", | ||
"loc.input.help.releaseNotesFile": "Select a UTF-8 encoded text file which contains the Release Notes for this version.", | ||
"loc.input.label.isMandatory": "Require users to update to this release", | ||
"loc.input.label.destinationType": "Release destination", | ||
"loc.input.label.destinationGroupIds": "Destination IDs", | ||
"loc.input.help.destinationGroupIds": "IDs of the distribution groups to release to. Leave it empty to use the default group and use commas or semicolons to separate multiple IDs.", | ||
"loc.input.label.destinationStoreId": "Destination ID", | ||
"loc.input.help.destinationStoreId": "ID of the distribution store to deploy to.", | ||
"loc.input.label.isSilent": "Do not notify testers. Release will still be available to install.", | ||
"loc.messages.CannotDecodeEndpoint": "Could not decode the endpoint.", | ||
"loc.messages.NoResponseFromServer": "No response from server.", | ||
"loc.messages.FailedToUploadFile": "Failed to complete file upload.", | ||
"loc.messages.NoApiTokenFound": "No API token found on the Visual Studio App Center service connection.", | ||
"loc.messages.InvalidDestinationInput": "The destination input provided was invalid", | ||
"loc.messages.CanNotDistributeToMultipleStores": "Cannot distribute to multiple stores", | ||
"loc.messages.Succeeded": "App Center Distribute task succeeded", | ||
"loc.messages.CannotFindAnyFile": "Cannot find any file based on %s.", | ||
"loc.messages.FoundMultipleFiles": "Found multiple files matching %s.", | ||
"loc.messages.FailedToCreateFile": "Failed to create %s with error: %s.", | ||
"loc.messages.FailedToFindFile": "Failed to find %s at %s." | ||
} |
41 changes: 41 additions & 0 deletions
41
Tasks/AppCenterDistributeV3/Strings/resources.resjson/es-es/resources.resjson
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,41 @@ | ||
{ | ||
"loc.friendlyName": "Distribución de App Center", | ||
"loc.helpMarkDown": "Para obtener ayuda con esta tarea, visite el [sitio de soporte técnico](https://aka.ms/appcentersupport/) de Visual Studio App Center.", | ||
"loc.description": "Distribuye compilaciones de la aplicación a los evaluadores y los usuarios a través de App Center.", | ||
"loc.instanceNameFormat": "Implementar $(app) en Visual Studio App Center", | ||
"loc.releaseNotes": "Agregue compatibilidad para la distribución a almacenes.", | ||
"loc.group.displayName.symbols": "Símbolos", | ||
"loc.input.label.serverEndpoint": "Conexión de servicio de App Center", | ||
"loc.input.help.serverEndpoint": "Seleccione la conexión de servicio para Visual Studio App Center. Para crear una, haga clic en el vínculo Administrar y cree un nuevo servicio.", | ||
"loc.input.label.appSlug": "Slug de aplicación", | ||
"loc.input.help.appSlug": "El slug de aplicación tiene el formato **{nombreUsuario}/{identificador_aplicación}**. Para buscar **{nombreUsuario}** e **{identificador_aplicación}** para una aplicación, haga clic en su nombre en https://appcenter.ms/apps. La dirección URL resultante tiene el formato [https://appcenter.ms/users/<b>{nombreUsuario}</b>/apps/<b>{identificador_aplicación}</b>](https://appcenter.ms/users/{nombreUsuario}/apps/{identificador_aplicación}). Si usa organizaciones, el slug de aplicación tiene el formato **{nombreOrganización}/{identificador_aplicación}**.", | ||
"loc.input.label.app": "Ruta de acceso a archivo binario", | ||
"loc.input.help.app": "Ruta de acceso relativa desde la raíz del repositorio al archivo APK o IPA que desea publicar", | ||
"loc.input.label.symbolsType": "Tipo de símbolos", | ||
"loc.input.label.symbolsPath": "Ruta de acceso a símbolos", | ||
"loc.input.help.symbolsPath": "Ruta de acceso relativa de la raíz del repositorio a la carpeta de símbolos.", | ||
"loc.input.label.pdbPath": "Ruta de acceso de símbolos (*.pdb)", | ||
"loc.input.help.pdbPath": "Ruta de acceso relativa desde la raíz del repositorio hasta los archivos de símbolos PDB. Puede contener comodines.", | ||
"loc.input.label.dsymPath": "Ruta de acceso a dSYM", | ||
"loc.input.help.dsymPath": "Ruta de acceso relativa desde la raíz del repositorio a la carpeta dSYM. Puede contener comodines.", | ||
"loc.input.label.mappingTxtPath": "Archivo de asignación", | ||
"loc.input.help.mappingTxtPath": "Ruta de acceso relativa desde la raíz del repositorio al archivo mapping.txt de Android.", | ||
"loc.input.label.packParentFolder": "Incluir todos los elementos en la carpeta principal", | ||
"loc.input.help.packParentFolder": "Suba la carpeta o el archivo de símbolos que se seleccionó y todos los otros elementos dentro de la carpeta principal. Esta acción es necesaria para las aplicaciones nativas de React.", | ||
"loc.input.label.releaseNotesSelection": "Crear notas de la versión", | ||
"loc.input.label.releaseNotesInput": "Notas de la versión", | ||
"loc.input.help.releaseNotesInput": "Notas de esta versión.", | ||
"loc.input.label.releaseNotesFile": "Archivo de notas de la versión", | ||
"loc.input.help.releaseNotesFile": "Seleccione un archivo de texto con codificación UTF-8 que contenga las notas de esta versión.", | ||
"loc.input.label.destinationIds": "Destination IDs", | ||
"loc.input.help.destinationIds": "IDs of the distribution groups or stores the app will deploy to. Leave it empty to use the default group and use commas or semicolons to separate multiple IDs.", | ||
"loc.messages.CannotDecodeEndpoint": "No se pudo descodificar el punto de conexión.", | ||
"loc.messages.NoResponseFromServer": "No hay respuesta desde el servidor.", | ||
"loc.messages.FailedToUploadFile": "Error al completar la carga de archivo.", | ||
"loc.messages.NoApiTokenFound": "No se encontró ningún token de API en la conexión de servicio de Visual Studio App Center.", | ||
"loc.messages.Succeeded": "La tarea de distribución de App Center se realizó correctamente.", | ||
"loc.messages.CannotFindAnyFile": "No se puede encontrar ningún archivo basado en %s.", | ||
"loc.messages.FoundMultipleFiles": "Se encontraron varios archivos que coinciden con %s.", | ||
"loc.messages.FailedToCreateFile": "Error al crear %s: %s.", | ||
"loc.messages.FailedToFindFile": "No se encuentra %s en %s." | ||
} |
41 changes: 41 additions & 0 deletions
41
Tasks/AppCenterDistributeV3/Strings/resources.resjson/fr-fr/resources.resjson
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,41 @@ | ||
{ | ||
"loc.friendlyName": "Distribution App Center", | ||
"loc.helpMarkDown": "Pour obtenir de l'aide sur cette tâche, visitez Visual Studio App Center [site de support](https://aka.ms/appcentersupport/).", | ||
"loc.description": "Distribuer les builds d'applications aux testeurs et aux utilisateurs via App Center", | ||
"loc.instanceNameFormat": "Déployer $(app) sur Visual Studio App Center", | ||
"loc.releaseNotes": "Ajoutez une prise en charge de la distribution aux Stores.", | ||
"loc.group.displayName.symbols": "Symboles", | ||
"loc.input.label.serverEndpoint": "Connexion de service App Center", | ||
"loc.input.help.serverEndpoint": "Sélectionnez la connexion de service pour Visual Studio App Center. Pour en créer une, cliquez sur le lien Gérer, puis créez une connexion de service.", | ||
"loc.input.label.appSlug": "Slug de l'application", | ||
"loc.input.help.appSlug": "Le slug de l'application est au format **{nom_utilisateur}/{identificateur_application}**. Pour localiser les éléments **{nom_utilisateur}** et **{identificateur_application}** d'une application, cliquez sur son nom à partir de https://appcenter.ms/apps. L'URL qui en résulte est au format [https://appcenter.ms/users/<b>{nom_utilisateur}</b>/apps/<b>{identificateur_application}</b>](https://appcenter.ms/users/{nom_utilisateur}/apps/{identificateur_application}). Si vous utilisez des organisations, le slug de l'application est au format **{nom_organisation}/{identificateur_application}**.", | ||
"loc.input.label.app": "Chemin du fichier binaire", | ||
"loc.input.help.app": "Chemin d'accès relatif de la racine de référentiel vers le fichier APK ou IPA que vous souhaitez publier", | ||
"loc.input.label.symbolsType": "Type des symboles", | ||
"loc.input.label.symbolsPath": "Chemin des symboles", | ||
"loc.input.help.symbolsPath": "Chemin d'accès relatif de la racine de référentiel vers le dossier de symboles.", | ||
"loc.input.label.pdbPath": "Chemin des symboles (*.pdb)", | ||
"loc.input.help.pdbPath": "Chemin relatif de la racine de dépôt vers les fichiers de symboles PDB. Le chemin peut contenir des caractères génériques.", | ||
"loc.input.label.dsymPath": "Chemin dSYM", | ||
"loc.input.help.dsymPath": "Chemin relatif de la racine de dépôt vers le dossier dSYM. Le chemin peut contenir des caractères génériques.", | ||
"loc.input.label.mappingTxtPath": "Fichier de mappage", | ||
"loc.input.help.mappingTxtPath": "Chemin d'accès relatif de la racine de référentiel vers le fichier mapping.txt Android.", | ||
"loc.input.label.packParentFolder": "Inclure tous les éléments dans le dossier parent", | ||
"loc.input.help.packParentFolder": "Chargez le fichier ou dossier de symboles sélectionné, ainsi que tous les autres éléments à l'intérieur du même dossier parent. Cela est obligatoire pour les applications React Native.", | ||
"loc.input.label.releaseNotesSelection": "Créer des notes de publication", | ||
"loc.input.label.releaseNotesInput": "Notes de publication", | ||
"loc.input.help.releaseNotesInput": "Notes de publication de cette version.", | ||
"loc.input.label.releaseNotesFile": "Fichier de notes de publication", | ||
"loc.input.help.releaseNotesFile": "Sélectionnez un fichier texte UTF-8 contenant les notes de publication de cette version.", | ||
"loc.input.label.destinationIds": "Destination IDs", | ||
"loc.input.help.destinationIds": "IDs of the distribution groups or stores the app will deploy to. Leave it empty to use the default group and use commas or semicolons to separate multiple IDs.", | ||
"loc.messages.CannotDecodeEndpoint": "Impossible de décoder le point de terminaison.", | ||
"loc.messages.NoResponseFromServer": "Aucune réponse du serveur.", | ||
"loc.messages.FailedToUploadFile": "Impossible de terminer le téléchargement du fichier.", | ||
"loc.messages.NoApiTokenFound": "Jeton d'API introuvable dans la connexion de service Visual Studio App Center.", | ||
"loc.messages.Succeeded": "Tâche de distribution via App Center réussie", | ||
"loc.messages.CannotFindAnyFile": "Impossible de trouver un fichier basé sur %s.", | ||
"loc.messages.FoundMultipleFiles": "Plusieurs fichiers correspondant à %s ont été trouvés.", | ||
"loc.messages.FailedToCreateFile": "Impossible de créer %s avec l'erreur : %s.", | ||
"loc.messages.FailedToFindFile": "%s est introuvable sur %s." | ||
} |
Oops, something went wrong.
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.
Now that we select the destination type, can we make these more explicit? For example, this should be
Distribution Group IDs
. AndDestination ID
should beStore ID
?When we add Tester support at some point, we can add
Tester Emails
Would be good to collect some PM feedbacks here.