christopherhouse / Pipeline-Migration

MIT License
0 stars 0 forks source link

[Azure DevOps]: Migrate DevOps pipelines from chhouse/Customer Work to GH Pipeline-Migration repo #1

Open christopherhouse opened 1 year ago

christopherhouse commented 1 year ago

Inputs

Provide the following required inputs:

Organization: chhouse Project: Customer Work

Available commands

The following commands can be executed by adding a comment to this issue:

Note: The pipeline-type option will default to pipeline if omitted. If any remaining options are missing, the command will not be successful.

christopherhouse commented 1 year ago

/audit

github-actions[bot] commented 1 year ago

Audit successfully completed :rocket:

Download full results here

Audit summary :point_down: ``` # Audit summary Summary for [Azure DevOps instance](https://dev.azure.com/chhouse/Customer%20Work/_build) - GitHub Actions Importer version: **1.0.16460 (a717db4408a23e6213616ddd5dde300d78ea8abe)** - Performed at: **2/27/23 at 15:40** ## Pipelines Total: **24** - Successful: **18 (75%)** - Partially successful: **5 (20%)** - Unsupported: **0 (0%)** - Failed: **1 (4%)** ### Job types Supported: **24 (100%)** - YAML: **24** ### Build steps Total: **160** Known: **147 (91%)** - AzureCLI@2: **37** - download_artifact: **21** - DotNetCoreCLI@2: **13** - PublishPipelineArtifact@1: **11** - AzureFunctionApp@1: **10** - script: **8** - Kubernetes@1: **6** - AzureAppServiceManage@0: **6** - Docker@2: **6** - AzureRMWebAppDeployment@4: **3** - ArchiveFiles@2: **3** - AzureRmWebAppDeployment@4: **2** - AzurePowerShell@5: **2** - Bash@3: **2** - DotnetCoreCLI@2: **2** - pwsh: **2** - publish_artifact: **2** - PublishBuildArtifacts@1: **2** - VSBuild@1: **2** - NuGetAuthenticate@0: **1** - NugetToolInstaller@1: **1** - NuGetCommand@2: **1** - UseDotNet@2: **1** - CopyFiles@2: **1** - NugetCommand@2: **1** - VSTest@2: **1** Unknown: **5 (3%)** - ManualValidation@0: **2** - FileTransform@1: **2** - JavaToolInstaller@0: **1** Unsupported: **8 (5%)** - AzureResourceManagerTemplateDeployment@3: **3** - composite_action: **3** - AzureResourceGroupDeployment@2: **2** Actions: **225** - run: **60** - actions/checkout@v3.3.0: **46** - actions/download-artifact@v3.0.1: **36** - azure/login@v1.4.6: **26** - actions/upload-artifact@v3.1.1: **15** - azure/functions-action@v1.4.8: **5** - ./.github/workflows/pipelines_templates_deploy.yml: **5** - azure/cli@v1.0.7: **4** - azure/webapps-deploy@v2.2.5: **3** - azure/appservice-settings@v1: **3** - ./.github/workflows/pipelines_templates_deploy_template.yml: **2** - azure/k8s-set-context@v3.0: **2** - azure/setup-kubectl@v3.2: **2** - docker/login-action@v2.1.0: **2** - ./.github/workflows/pipelines_templates_deploy_infrastructure.yml: **2** - actions/setup-dotnet@v3.0.3: **2** - ./.github/workflows/pipelines_templates_unified_deploy_template.yml: **2** - ./.github/workflows/pipelines_templates_install_extension_template.yml: **1** - NasAmin/trx-parser@v0.3.0: **1** - ./.github/workflows/pipelines_templates_build.yml: **1** - actions/github-script@v6.4.0: **1** - azure/powershell@v1.2.0: **1** - microsoft/setup-msbuild@v1.3.1: **1** - microsoft/vstest-action@v1.0.0: **1** - nuget/setup-nuget@v1.1.1: **1** ### Triggers Total: **45** Known: **45 (100%)** - pullRequest: **23** - continuousIntegration: **21** - cronSchedule: **1** Actions: **46** - pull_request: **23** - push: **21** - workflow_dispatch: **1** - schedule: **1** ### Environment Total: **73** Known: **73 (100%)** - buildConfiguration: **6** - functionAppName: **3** - skipComponentGovernanceDetection: **3** - cosmosDatabaseName: **2** - vmImageName: **2** - vmImage: **2** - workingDirectory: **2** - ExtensionName: **2** - tag: **2** - solution: **2** - AzureKeyVault: **2** - ExtensionVersion: **2** - properties_version_dnu: **2** - buildPlatform: **2** - subscription_id: **1** - resource_group_name: **1** - cosmosCollectionName: **1** - workspace_name: **1** - outputStorageConnectionString: **1** - outputImageContainerName: **1** - serviceConnectionName: **1** - secrets: **1** - resourceGroup: **1** - pool: **1** - ordersPartitionKey: **1** - ordersContainerName: **1** - location: **1** - infrastructure-arm-template: **1** - imageContainerName: **1** - sourceImageContainerName: **1** - cosmosContainerName: **1** - cosmosAccountName: **1** - azure-sub: **1** - cosmosContainerPartitionKey: **1** - modulePrefix: **1** - registryName: **1** - isMain: **1** - infraPath: **1** - signalRHubName: **1** - infraArtifactName: **1** - Patch: **1** - PackageVersionType: **1** - PackageVersion: **1** - Minor: **1** - signalRConnectionString: **1** - pipeline_id: **1** - storageResourceName: **1** - resourceGroupName: **1** - Major: **1** - formsRecognizerResourceName: **1** - formsRecognizerModelId: **1** - azureSubscription: **1** - appInsightsResourceName: **1** Actions: **70** - buildConfiguration: **6** - functionAppName: **3** - skipComponentGovernanceDetection: **3** - cosmosDatabaseName: **2** - vmImageName: **2** - vmImage: **2** - ExtensionName: **2** - tag: **2** - workingDirectory: **2** - buildPlatform: **2** - ExtensionVersion: **2** - properties_version_dnu: **2** - solution: **2** - workspace_name: **1** - subscription_id: **1** - imageContainerName: **1** - cosmosCollectionName: **1** - serviceConnectionName: **1** - sourceImageContainerName: **1** - pipeline_id: **1** - resourceGroup: **1** - pool: **1** - ordersPartitionKey: **1** - ordersContainerName: **1** - location: **1** - infrastructure-arm-template: **1** - outputStorageConnectionString: **1** - signalRConnectionString: **1** - cosmosContainerName: **1** - cosmosAccountName: **1** - azure-sub: **1** - cosmosContainerPartitionKey: **1** - modulePrefix: **1** - registryName: **1** - isMain: **1** - infraPath: **1** - outputImageContainerName: **1** - infraArtifactName: **1** - Patch: **1** - PackageVersionType: **1** - PackageVersion: **1** - Minor: **1** - signalRHubName: **1** - resource_group_name: **1** - storageResourceName: **1** - resourceGroupName: **1** - Major: **1** - formsRecognizerResourceName: **1** - formsRecognizerModelId: **1** - azureSubscription: **1** - appInsightsResourceName: **1** ### Other Total: **25** Known: **25 (100%)** - parameterFile: **7** - infraTemplate: **3** - SignalRNegotiateEndpoint: **1** - HistoryListEndpointUri: **1** - HistoryItemEndpointUri: **1** - EnvironmentName: **1** - ConnectionName: **1** - ClientOptions_SignalRNegotiateEndpointUri: **1** - SignalRConnectionString: **1** - ClientOptions_HistoryListEndpointUri: **1** - ClientOptions_HistoryItemEndpointUri: **1** - properties_version: **1** - SasTokenEndpoint: **1** - cosmosConnectionString: **1** - ClientOptions_SasTokenEndpointUri: **1** - matrix: **1** - targets: **1** Actions: **43** - name: **15** - parameterFile: **7** - infraTemplate: **3** - CMHSHARED_DOCKER_REGISTRY: **2** - CMHSHARED_DOCKER_USERNAME: **2** - EnvironmentName: **1** - ConnectionName: **1** - ClientOptions_SignalRNegotiateEndpointUri: **1** - ClientOptions_SasTokenEndpointUri: **1** - ClientOptions_HistoryListEndpointUri: **1** - SasTokenEndpoint: **1** - HistoryListEndpointUri: **1** - SignalRNegotiateEndpoint: **1** - properties_version: **1** - SignalRConnectionString: **1** - ClientOptions_HistoryItemEndpointUri: **1** - HistoryItemEndpointUri: **1** - cosmosConnectionString: **1** - targets: **1** ### Manual tasks Total: **38** Secrets: **25** - `${{ secrets.AZURE_CREDENTIALS }}`: **15** - `${{ secrets.NUGET_AUTH_TOKEN }}`: **1** - `${{ secrets.AZURE_DEVOPS_TOKEN }}`: **1** - `${{ secrets.CMHSHARED_DOCKER_PASSWORD }}`: **2** - `${{ secrets.K8S_URL }}`: **2** - `${{ secrets.K8S_SECRET }}`: **2** - `${{ secrets.cosmosConnectionString }}`: **1** - `${{ secrets.imageStorageConnection }}`: **1** Self hosted runners: **13** - `$(vmImageName)`: **4** - `$(vmImage)`: **4** - `$(pool)`: **1** - `arm64`: **3** - `macOS-10.15`: **1** ### Successful #### Customer_Work/GlobalAzUrlShortener - [pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/globalazurlshortener.yml](pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/globalazurlshortener.yml) - [pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/pipelines_templates_build.yml](pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/pipelines_templates_build.yml) - [pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/pipelines_templates_deploy.yml](pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/pipelines_templates_deploy.yml) - [pipelines/Customer_Work/GlobalAzUrlShortener/config.json](pipelines/Customer_Work/GlobalAzUrlShortener/config.json) - [pipelines/Customer_Work/GlobalAzUrlShortener/source.yml](pipelines/Customer_Work/GlobalAzUrlShortener/source.yml) #### Customer_Work/Volume-License-Data-Extrator - [pipelines/Customer_Work/Volume-License-Data-Extrator/.github/workflows/volume-license-data-extrator.yml](pipelines/Customer_Work/Volume-License-Data-Extrator/.github/workflows/volume-license-data-extrator.yml) - [pipelines/Customer_Work/Volume-License-Data-Extrator/config.json](pipelines/Customer_Work/Volume-License-Data-Extrator/config.json) - [pipelines/Customer_Work/Volume-License-Data-Extrator/source.yml](pipelines/Customer_Work/Volume-License-Data-Extrator/source.yml) #### Customer_Work/Build_and_Publish_NuGet_Package - [pipelines/Customer_Work/Build_and_Publish_NuGet_Package/.github/workflows/build_and_publish_nuget_package.yml](pipelines/Customer_Work/Build_and_Publish_NuGet_Package/.github/workflows/build_and_publish_nuget_package.yml) - [pipelines/Customer_Work/Build_and_Publish_NuGet_Package/config.json](pipelines/Customer_Work/Build_and_Publish_NuGet_Package/config.json) - [pipelines/Customer_Work/Build_and_Publish_NuGet_Package/source.yml](pipelines/Customer_Work/Build_and_Publish_NuGet_Package/source.yml) #### Customer_Work/Build_&_Publish_Bicep_Module_Metadata_Function - [pipelines/Customer_Work/Build_&_Publish_Bicep_Module_Metadata_Function/.github/workflows/build_&_publish_bicep_module_metadata_function.yml](pipelines/Customer_Work/Build_&_Publish_Bicep_Module_Metadata_Function/.github/workflows/build_&_publish_bicep_module_metadata_function.yml) - [pipelines/Customer_Work/Build_&_Publish_Bicep_Module_Metadata_Function/config.json](pipelines/Customer_Work/Build_&_Publish_Bicep_Module_Metadata_Function/config.json) - [pipelines/Customer_Work/Build_&_Publish_Bicep_Module_Metadata_Function/source.yml](pipelines/Customer_Work/Build_&_Publish_Bicep_Module_Metadata_Function/source.yml) #### Customer_Work/Publish_New_Modules - [pipelines/Customer_Work/Publish_New_Modules/.github/workflows/publish_new_modules.yml](pipelines/Customer_Work/Publish_New_Modules/.github/workflows/publish_new_modules.yml) - [pipelines/Customer_Work/Publish_New_Modules/config.json](pipelines/Customer_Work/Publish_New_Modules/config.json) - [pipelines/Customer_Work/Publish_New_Modules/source.yml](pipelines/Customer_Work/Publish_New_Modules/source.yml) #### Customer_Work/Cosmos_Functions_Demo - [pipelines/Customer_Work/Cosmos_Functions_Demo/.github/workflows/cosmos_functions_demo.yml](pipelines/Customer_Work/Cosmos_Functions_Demo/.github/workflows/cosmos_functions_demo.yml) - [pipelines/Customer_Work/Cosmos_Functions_Demo/config.json](pipelines/Customer_Work/Cosmos_Functions_Demo/config.json) - [pipelines/Customer_Work/Cosmos_Functions_Demo/source.yml](pipelines/Customer_Work/Cosmos_Functions_Demo/source.yml) #### Customer_Work/arm-build-test_(2) - [pipelines/Customer_Work/arm-build-test_(2)/.github/workflows/arm-build-test_(2).yml](pipelines/Customer_Work/arm-build-test_(2)/.github/workflows/arm-build-test_(2).yml) - [pipelines/Customer_Work/arm-build-test_(2)/config.json](pipelines/Customer_Work/arm-build-test_(2)/config.json) - [pipelines/Customer_Work/arm-build-test_(2)/source.yml](pipelines/Customer_Work/arm-build-test_(2)/source.yml) #### Customer_Work/Data_Factory_Infrastructure_Deploy - [pipelines/Customer_Work/Data_Factory_Infrastructure_Deploy/.github/workflows/data_factory_infrastructure_deploy.yml](pipelines/Customer_Work/Data_Factory_Infrastructure_Deploy/.github/workflows/data_factory_infrastructure_deploy.yml) - [pipelines/Customer_Work/Data_Factory_Infrastructure_Deploy/.github/workflows/pipelines_templates_deploy_infrastructure.yml](pipelines/Customer_Work/Data_Factory_Infrastructure_Deploy/.github/workflows/pipelines_templates_deploy_infrastructure.yml) - [pipelines/Customer_Work/Data_Factory_Infrastructure_Deploy/config.json](pipelines/Customer_Work/Data_Factory_Infrastructure_Deploy/config.json) - [pipelines/Customer_Work/Data_Factory_Infrastructure_Deploy/source.yml](pipelines/Customer_Work/Data_Factory_Infrastructure_Deploy/source.yml) #### Customer_Work/Deploy_Single_Tenant_Logic_App - [pipelines/Customer_Work/Deploy_Single_Tenant_Logic_App/.github/workflows/deploy_single_tenant_logic_app.yml](pipelines/Customer_Work/Deploy_Single_Tenant_Logic_App/.github/workflows/deploy_single_tenant_logic_app.yml) - [pipelines/Customer_Work/Deploy_Single_Tenant_Logic_App/.github/workflows/pipelines_templates_deploy.yml](pipelines/Customer_Work/Deploy_Single_Tenant_Logic_App/.github/workflows/pipelines_templates_deploy.yml) - [pipelines/Customer_Work/Deploy_Single_Tenant_Logic_App/config.json](pipelines/Customer_Work/Deploy_Single_Tenant_Logic_App/config.json) - [pipelines/Customer_Work/Deploy_Single_Tenant_Logic_App/source.yml](pipelines/Customer_Work/Deploy_Single_Tenant_Logic_App/source.yml) #### Customer_Work/JavaInstallTest_(1) - [pipelines/Customer_Work/JavaInstallTest_(1)/.github/workflows/javainstalltest_(1).yml](pipelines/Customer_Work/JavaInstallTest_(1)/.github/workflows/javainstalltest_(1).yml) - [pipelines/Customer_Work/JavaInstallTest_(1)/config.json](pipelines/Customer_Work/JavaInstallTest_(1)/config.json) - [pipelines/Customer_Work/JavaInstallTest_(1)/source.yml](pipelines/Customer_Work/JavaInstallTest_(1)/source.yml) #### Customer_Work/arm-build-test_(1) - [pipelines/Customer_Work/arm-build-test_(1)/.github/workflows/arm-build-test_(1).yml](pipelines/Customer_Work/arm-build-test_(1)/.github/workflows/arm-build-test_(1).yml) - [pipelines/Customer_Work/arm-build-test_(1)/config.json](pipelines/Customer_Work/arm-build-test_(1)/config.json) - [pipelines/Customer_Work/arm-build-test_(1)/source.yml](pipelines/Customer_Work/arm-build-test_(1)/source.yml) #### Customer_Work/AzureML-Bicep-AzureDevOps - [pipelines/Customer_Work/AzureML-Bicep-AzureDevOps/.github/workflows/azureml-bicep-azuredevops.yml](pipelines/Customer_Work/AzureML-Bicep-AzureDevOps/.github/workflows/azureml-bicep-azuredevops.yml) - [pipelines/Customer_Work/AzureML-Bicep-AzureDevOps/.github/workflows/pipelines_templates_unified_deploy_template.yml](pipelines/Customer_Work/AzureML-Bicep-AzureDevOps/.github/workflows/pipelines_templates_unified_deploy_template.yml) - [pipelines/Customer_Work/AzureML-Bicep-AzureDevOps/config.json](pipelines/Customer_Work/AzureML-Bicep-AzureDevOps/config.json) - [pipelines/Customer_Work/AzureML-Bicep-AzureDevOps/source.yml](pipelines/Customer_Work/AzureML-Bicep-AzureDevOps/source.yml) #### Customer_Work/13daysaweek.GitHub-Status-Checks-With-Azure-Pipelines - [pipelines/Customer_Work/13daysaweek.GitHub-Status-Checks-With-Azure-Pipelines/.github/workflows/13daysaweek.github-status-checks-with-azure-pipelines.yml](pipelines/Customer_Work/13daysaweek.GitHub-Status-Checks-With-Azure-Pipelines/.github/workflows/13daysaweek.github-status-checks-with-azure-pipelines.yml) - [pipelines/Customer_Work/13daysaweek.GitHub-Status-Checks-With-Azure-Pipelines/config.json](pipelines/Customer_Work/13daysaweek.GitHub-Status-Checks-With-Azure-Pipelines/config.json) - [pipelines/Customer_Work/13daysaweek.GitHub-Status-Checks-With-Azure-Pipelines/source.yml](pipelines/Customer_Work/13daysaweek.GitHub-Status-Checks-With-Azure-Pipelines/source.yml) #### Customer_Work/arm-build-test-docker - [pipelines/Customer_Work/arm-build-test-docker/.github/workflows/arm-build-test-docker.yml](pipelines/Customer_Work/arm-build-test-docker/.github/workflows/arm-build-test-docker.yml) - [pipelines/Customer_Work/arm-build-test-docker/config.json](pipelines/Customer_Work/arm-build-test-docker/config.json) - [pipelines/Customer_Work/arm-build-test-docker/source.yml](pipelines/Customer_Work/arm-build-test-docker/source.yml) #### Customer_Work/arm-build-test - [pipelines/Customer_Work/arm-build-test/.github/workflows/arm-build-test.yml](pipelines/Customer_Work/arm-build-test/.github/workflows/arm-build-test.yml) - [pipelines/Customer_Work/arm-build-test/config.json](pipelines/Customer_Work/arm-build-test/config.json) - [pipelines/Customer_Work/arm-build-test/source.yml](pipelines/Customer_Work/arm-build-test/source.yml) #### Customer_Work/13daysaweek.ScheduledMLPipeline - [pipelines/Customer_Work/13daysaweek.ScheduledMLPipeline/.github/workflows/13daysaweek.scheduledmlpipeline.yml](pipelines/Customer_Work/13daysaweek.ScheduledMLPipeline/.github/workflows/13daysaweek.scheduledmlpipeline.yml) - [pipelines/Customer_Work/13daysaweek.ScheduledMLPipeline/config.json](pipelines/Customer_Work/13daysaweek.ScheduledMLPipeline/config.json) - [pipelines/Customer_Work/13daysaweek.ScheduledMLPipeline/source.yml](pipelines/Customer_Work/13daysaweek.ScheduledMLPipeline/source.yml) #### Customer_Work/13daysaweek.Wound-UI - [pipelines/Customer_Work/13daysaweek.Wound-UI/.github/workflows/13daysaweek.wound-ui.yml](pipelines/Customer_Work/13daysaweek.Wound-UI/.github/workflows/13daysaweek.wound-ui.yml) - [pipelines/Customer_Work/13daysaweek.Wound-UI/config.json](pipelines/Customer_Work/13daysaweek.Wound-UI/config.json) - [pipelines/Customer_Work/13daysaweek.Wound-UI/source.yml](pipelines/Customer_Work/13daysaweek.Wound-UI/source.yml) #### Customer_Work/13daysaweek.Wound-UI-Functions - [pipelines/Customer_Work/13daysaweek.Wound-UI-Functions/.github/workflows/13daysaweek.wound-ui-functions.yml](pipelines/Customer_Work/13daysaweek.Wound-UI-Functions/.github/workflows/13daysaweek.wound-ui-functions.yml) - [pipelines/Customer_Work/13daysaweek.Wound-UI-Functions/config.json](pipelines/Customer_Work/13daysaweek.Wound-UI-Functions/config.json) - [pipelines/Customer_Work/13daysaweek.Wound-UI-Functions/source.yml](pipelines/Customer_Work/13daysaweek.Wound-UI-Functions/source.yml) ### Partially successful #### Customer_Work/Test_Strategy_Pipeline - [pipelines/Customer_Work/Test_Strategy_Pipeline/.github/workflows/test_strategy_pipeline.yml](pipelines/Customer_Work/Test_Strategy_Pipeline/.github/workflows/test_strategy_pipeline.yml) - [pipelines/Customer_Work/Test_Strategy_Pipeline/config.json](pipelines/Customer_Work/Test_Strategy_Pipeline/config.json) - [pipelines/Customer_Work/Test_Strategy_Pipeline/source.yml](pipelines/Customer_Work/Test_Strategy_Pipeline/source.yml) #### Customer_Work/App_Service_Extension_Install - [pipelines/Customer_Work/App_Service_Extension_Install/.github/workflows/app_service_extension_install.yml](pipelines/Customer_Work/App_Service_Extension_Install/.github/workflows/app_service_extension_install.yml) - [pipelines/Customer_Work/App_Service_Extension_Install/config.json](pipelines/Customer_Work/App_Service_Extension_Install/config.json) - [pipelines/Customer_Work/App_Service_Extension_Install/source.yml](pipelines/Customer_Work/App_Service_Extension_Install/source.yml) #### Customer_Work/App_Service_Extension_Install_(Template) - [pipelines/Customer_Work/App_Service_Extension_Install_(Template)/.github/workflows/app_service_extension_install_(template).yml](pipelines/Customer_Work/App_Service_Extension_Install_(Template)/.github/workflows/app_service_extension_install_(template).yml) - [pipelines/Customer_Work/App_Service_Extension_Install_(Template)/.github/workflows/pipelines_templates_install_extension_template.yml](pipelines/Customer_Work/App_Service_Extension_Install_(Template)/.github/workflows/pipelines_templates_install_extension_template.yml) - [pipelines/Customer_Work/App_Service_Extension_Install_(Template)/config.json](pipelines/Customer_Work/App_Service_Extension_Install_(Template)/config.json) - [pipelines/Customer_Work/App_Service_Extension_Install_(Template)/source.yml](pipelines/Customer_Work/App_Service_Extension_Install_(Template)/source.yml) #### Customer_Work/JavaInstallTest - [pipelines/Customer_Work/JavaInstallTest/.github/workflows/javainstalltest.yml](pipelines/Customer_Work/JavaInstallTest/.github/workflows/javainstalltest.yml) - [pipelines/Customer_Work/JavaInstallTest/config.json](pipelines/Customer_Work/JavaInstallTest/config.json) - [pipelines/Customer_Work/JavaInstallTest/source.yml](pipelines/Customer_Work/JavaInstallTest/source.yml) #### Customer_Work/3M_Government_Reporting_Sample_CI_CD - [pipelines/Customer_Work/3M_Government_Reporting_Sample_CI_CD/.github/workflows/3m_government_reporting_sample_ci_cd.yml](pipelines/Customer_Work/3M_Government_Reporting_Sample_CI_CD/.github/workflows/3m_government_reporting_sample_ci_cd.yml) - [pipelines/Customer_Work/3M_Government_Reporting_Sample_CI_CD/.github/workflows/pipelines_templates_deploy_template.yml](pipelines/Customer_Work/3M_Government_Reporting_Sample_CI_CD/.github/workflows/pipelines_templates_deploy_template.yml) - [pipelines/Customer_Work/3M_Government_Reporting_Sample_CI_CD/config.json](pipelines/Customer_Work/3M_Government_Reporting_Sample_CI_CD/config.json) - [pipelines/Customer_Work/3M_Government_Reporting_Sample_CI_CD/source.yml](pipelines/Customer_Work/3M_Government_Reporting_Sample_CI_CD/source.yml) ### Failed #### Customer_Work/GitHub_Enterprise_Build_Pipeline - [pipelines/Customer_Work/GitHub_Enterprise_Build_Pipeline/error.txt](pipelines/Customer_Work/GitHub_Enterprise_Build_Pipeline/error.txt) - [pipelines/Customer_Work/GitHub_Enterprise_Build_Pipeline/config.json](pipelines/Customer_Work/GitHub_Enterprise_Build_Pipeline/config.json) ```
christopherhouse commented 1 year ago

/dry-run --pipeline-type pipeline --pipeline-id 115

github-actions[bot] commented 1 year ago

Dry run was successful :boom:

Transformed workflows:

pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/globalazurlshortener.yml ```yaml name: Customer_Work/GlobalAzUrlShortener on: workflow_dispatch: inputs: serviceConnectionName: description: Azure DevOps Service Connection Name default: Christopher House - Internal Demo Sub type: string required: false push: branches: - "*" pull_request: branches: - pipeline jobs: pipelines_templates_build: name: pipelines_templates_build uses: "./.github/workflows/pipelines_templates_build.yml" with: serviceConnectionName: "${{ parameters.serviceConnectionName }}" pipelines_templates_deploy: name: pipelines_templates_deploy needs: pipelines_templates_build uses: "./.github/workflows/pipelines_templates_deploy.yml" with: serviceConnectionName: "${{ parameters.serviceConnectionName }}" environmentName: development resourceGroupName: URL-SHORTENER-DEV baseName: cmhurldev regions: '["eastus","westeurope"]' resourceGroupRegion: eastus pipelines_templates_deploy_2: name: pipelines_templates_deploy_2 uses: "./.github/workflows/pipelines_templates_deploy.yml" with: serviceConnectionName: "${{ parameters.serviceConnectionName }}" environmentName: qa resourceGroupName: URL-SHORTENER-QA baseName: cmhurlqa regions: '["eastus","westeurope"]' resourceGroupRegion: eastus pipelines_templates_deploy_3: name: pipelines_templates_deploy_3 uses: "./.github/workflows/pipelines_templates_deploy.yml" with: serviceConnectionName: "${{ parameters.serviceConnectionName }}" environmentName: production resourceGroupName: URL-SHORTENER-PRD baseName: cmhurlprd regions: '["eastus","westeurope"]' resourceGroupRegion: eastus ```
pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/pipelines_templates_build.yml ```yaml # Environment variables defined in a calling workflow are not accessible to this reusable workflow. Refer to the documentation for further details on this limitation. name: pipelines_templates_build on: workflow_call: inputs: serviceConnectionName: required: false type: string jobs: Build: name: Build Bicep and Function App runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v3.3.0 - name: Build Bicep Template uses: azure/login@v1.4.6 with: creds: "${{ secrets.AZURE_CREDENTIALS }}" - name: Build Bicep Template run: az bicep build -f ./.infrastructure/main.bicep shell: bash - name: Set .Net Core Version uses: actions/setup-dotnet@v3.0.3 with: dotnet-version: 6.x - name: Build Function App run: |- dotnet restore dotnet build --configuration Release # The dotnet CLI does not accept glob patterns. Consider using a solution file to act on multiple projects at once. - name: Publish Function App run: dotnet publish **/*.csproj --configuration Release --output ${{ runner.temp }}/functionapp working-directory: "./" - name: Publish Infrastructure Artifact uses: actions/upload-artifact@v3.1.1 with: name: infrastructure path: "./.infrastructure/" - name: Publish Function App Artifact uses: actions/upload-artifact@v3.1.1 with: name: functionapp path: "${{ runner.temp }}/functionapp/" ```
pipelines/Customer_Work/GlobalAzUrlShortener/.github/workflows/pipelines_templates_deploy.yml ```yaml # Environment variables defined in a calling workflow are not accessible to this reusable workflow. Refer to the documentation for further details on this limitation. name: pipelines_templates_deploy on: workflow_call: inputs: serviceConnectionName: required: false type: string environmentName: required: false type: string resourceGroupName: required: false type: string baseName: required: false default: '' type: string regions: required: false default: "[]" type: string resourceGroupRegion: required: false default: '' type: string jobs: Deploy: name: Deploy runs-on: ubuntu-latest environment: name: "${{ inputs.environmentName }}" env: infraTemplate: "${{ runner.workspace }}/infrastructure/main.json" parameterFile: "${{ runner.workspace }}/infrastructure/parameters/${{ inputs.environmentName }}/inputs.json" if: github.RUN_NUMBER == 1 steps: - name: checkout uses: actions/checkout@v3.3.0 - name: download artifact uses: actions/download-artifact@v3.0.1 - name: Download Infrastructure uses: actions/download-artifact@v3.0.1 with: name: infrastructure - name: Download Function App uses: actions/download-artifact@v3.0.1 with: name: functionapp # # 'AzureResourceGroupDeployment' was not transformed because the '' action is not supported # # section was not transformed because it contains unsupported usage of the `each` syntax # - path: # parameters: # expression: "${{ each region in fromJSON(inputs.regions) }}" ```
christopherhouse commented 1 year ago

/migrate --pipeline-type pipeline--pipeline-id 115 --target-url :github-repository-url115 https://github.com/christopherhouse/Pipeline-Migration

christopherhouse commented 1 year ago

/migrate --pipeline-type pipeline--pipeline-id 115 --target-url https://github.com/christopherhouse/Pipeline-Migration

christopherhouse commented 1 year ago

/migrate --pipeline-type pipeline--pipeline-id 111 --target-url https://github.com/christopherhouse/Pipeline-Migration

christopherhouse commented 1 year ago

/migrate --pipeline-type pipeline --pipeline-id 111 --target-url https://github.com/christopherhouse/Pipeline-Migration

github-actions[bot] commented 1 year ago

Migration was successful :sparkles:

Continue to the pull request to complete the migration.

christopherhouse commented 1 year ago

/migrate --pipeline-id 111 --target-url https://github.com/christopherhouse/Migrated-Pipelines

github-actions[bot] commented 1 year ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2023-02-27 16:28:34 +0000 by logger.rb/v1.5.3 I, [2023-02-27T16:28:34.997166 #1] INFO -- : Using GitHub Features: 'all' I, [2023-02-27T16:28:34.998598 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/build/definitions/111?api-version=5.0 I, [2023-02-27T16:28:35.385517 #1] INFO -- response: Status 200 I, [2023-02-27T16:28:35.396333 #1] INFO -- request: GET https://api.github.com/repos/christopherhouse/Volume-License-Data-Extrator/contents/.pipelines/azure-pipelines.yml?ref=refs%2Fheads%2Fmain I, [2023-02-27T16:28:35.574472 #1] INFO -- response: Status 200 I, [2023-02-27T16:28:35.579919 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/serviceendpoint/endpoints?api-version=5.0-preview I, [2023-02-27T16:28:36.042896 #1] INFO -- response: Status 200 I, [2023-02-27T16:28:36.045271 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/distributedtask/variablegroups?api-version=5.0-preview&queryOrder=idDescending I, [2023-02-27T16:28:36.284304 #1] INFO -- response: Status 200 I, [2023-02-27T16:28:36.286058 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/distributedtask/taskgroups?api-version=5.0-preview I, [2023-02-27T16:28:36.814518 #1] INFO -- response: Status 200 D, [2023-02-27T16:28:36.824132 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'DotNetCoreCLI@2' D, [2023-02-27T16:28:36.824552 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'ArchiveFiles@2' D, [2023-02-27T16:28:36.824788 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'publish_artifact' D, [2023-02-27T16:28:36.827209 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'AzureFunctionApp@1' D, [2023-02-27T16:28:36.827690 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'AzureCLI@2' D, [2023-02-27T16:28:36.832830 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::On]: Located transformer for 'continuousIntegration' D, [2023-02-27T16:28:36.838198 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::On]: Located transformer for 'pullRequest' I, [2023-02-27T16:28:37.016089 #1] INFO -- request: GET https://api.github.com/repos/christopherhouse/Migrated-Pipelines I, [2023-02-27T16:28:37.146468 #1] INFO -- response: Status 200 I, [2023-02-27T16:28:37.150573 #1] INFO -- request: GET https://api.github.com/repos/christopherhouse/Migrated-Pipelines/git/refs/heads/main I, [2023-02-27T16:28:37.234046 #1] INFO -- response: Status 409 I, [2023-02-27T16:28:37.235611 #1] INFO -- : Sending telemetry with transaction id 'a2e75ee4-1055-4446-b7c5-f04cd995eef0' E, [2023-02-27T16:28:37.334844 #1] ERROR -- : (GET 409) Conflict: https://api.github.com/repos/christopherhouse/Migrated-Pipelines/git/refs/heads/main Message: Git Repository is empty. /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/response/raise_error.rb:14:in `on_complete' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/middleware.rb:18:in `block in call' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/response.rb:42:in `on_complete' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/middleware.rb:17:in `call' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/middleware/follow_redirects.rb:73:in `perform_with_redirection' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/middleware/follow_redirects.rb:61:in `call' /usr/local/bundle/gems/faraday-retry-2.0.0/lib/faraday/retry/middleware.rb:148:in `call' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/rack_builder.rb:153:in `build_response' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/connection.rb:444:in `run_request' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/connection.rb:200:in `get' /usr/local/bundle/gems/sawyer-0.9.2/lib/sawyer/agent.rb:99:in `call' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/connection.rb:156:in `request' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/connection.rb:19:in `get' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/client/refs.rb:47:in `ref' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/github/submit_workflow.rb:87:in `submit_content' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/github/submit_workflow.rb:21:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/migrate.rb:20:in `block in call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/logger.rb:89:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/migrate.rb:19:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/migrate.rb:43:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/migrate.rb:23:in `pipeline' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.0.16460/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
christopherhouse commented 1 year ago

/migrate --pipeline-id 111 --target-url https://github.com/christopherhouse/Migrated-Pipelines

github-actions[bot] commented 1 year ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2023-02-27 16:30:23 +0000 by logger.rb/v1.5.3 I, [2023-02-27T16:30:23.070570 #1] INFO -- : Using GitHub Features: 'all' I, [2023-02-27T16:30:23.072084 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/build/definitions/111?api-version=5.0 I, [2023-02-27T16:30:23.256066 #1] INFO -- response: Status 200 I, [2023-02-27T16:30:23.265537 #1] INFO -- request: GET https://api.github.com/repos/christopherhouse/Volume-License-Data-Extrator/contents/.pipelines/azure-pipelines.yml?ref=refs%2Fheads%2Fmain I, [2023-02-27T16:30:23.431974 #1] INFO -- response: Status 200 I, [2023-02-27T16:30:23.435122 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/serviceendpoint/endpoints?api-version=5.0-preview I, [2023-02-27T16:30:23.917028 #1] INFO -- response: Status 200 I, [2023-02-27T16:30:23.918705 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/distributedtask/variablegroups?api-version=5.0-preview&queryOrder=idDescending I, [2023-02-27T16:30:24.098312 #1] INFO -- response: Status 200 I, [2023-02-27T16:30:24.100166 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/distributedtask/taskgroups?api-version=5.0-preview I, [2023-02-27T16:30:24.252866 #1] INFO -- response: Status 200 D, [2023-02-27T16:30:24.258900 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'DotNetCoreCLI@2' D, [2023-02-27T16:30:24.259264 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'ArchiveFiles@2' D, [2023-02-27T16:30:24.259478 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'publish_artifact' D, [2023-02-27T16:30:24.260393 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'AzureFunctionApp@1' D, [2023-02-27T16:30:24.260773 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::Steps]: Located transformer for 'AzureCLI@2' D, [2023-02-27T16:30:24.270611 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::On]: Located transformer for 'continuousIntegration' D, [2023-02-27T16:30:24.270704 #1] DEBUG -- : [Transformers::AzureDevops::Pipeline::On]: Located transformer for 'pullRequest' I, [2023-02-27T16:30:24.424248 #1] INFO -- request: GET https://api.github.com/repos/christopherhouse/Migrated-Pipelines I, [2023-02-27T16:30:24.561871 #1] INFO -- response: Status 200 I, [2023-02-27T16:30:24.565060 #1] INFO -- request: GET https://api.github.com/repos/christopherhouse/Migrated-Pipelines/git/refs/heads/main I, [2023-02-27T16:30:24.636232 #1] INFO -- response: Status 409 I, [2023-02-27T16:30:24.637316 #1] INFO -- : Sending telemetry with transaction id 'd634e8df-deb4-42ae-b707-18b7690ca4a0' E, [2023-02-27T16:30:24.768783 #1] ERROR -- : (GET 409) Conflict: https://api.github.com/repos/christopherhouse/Migrated-Pipelines/git/refs/heads/main Message: Git Repository is empty. /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/response/raise_error.rb:14:in `on_complete' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/middleware.rb:18:in `block in call' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/response.rb:42:in `on_complete' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/middleware.rb:17:in `call' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/middleware/follow_redirects.rb:73:in `perform_with_redirection' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/middleware/follow_redirects.rb:61:in `call' /usr/local/bundle/gems/faraday-retry-2.0.0/lib/faraday/retry/middleware.rb:148:in `call' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/rack_builder.rb:153:in `build_response' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/connection.rb:444:in `run_request' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/connection.rb:200:in `get' /usr/local/bundle/gems/sawyer-0.9.2/lib/sawyer/agent.rb:99:in `call' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/connection.rb:156:in `request' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/connection.rb:19:in `get' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/client/refs.rb:47:in `ref' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/github/submit_workflow.rb:87:in `submit_content' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/github/submit_workflow.rb:21:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/migrate.rb:20:in `block in call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/logger.rb:89:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/migrate.rb:19:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/migrate.rb:43:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/migrate.rb:23:in `pipeline' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.0.16460/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```
christopherhouse commented 1 year ago

/migrate --pipeline-id 111 --target-url https://github.com/christopherhouse/Pipeline-Migration

github-actions[bot] commented 1 year ago

Migration was successful :sparkles:

Continue to the pull request to complete the migration.

christopherhouse commented 1 year ago

/migrate --pipeline-id 111 --target-url https://github.com/christopherhouse/Migrated-Pipelines

github-actions[bot] commented 1 year ago

Migration was successful :sparkles:

Continue to the pull request to complete the migration.

christopherhouse commented 1 year ago

/dry-run --pipeline-id 104

github-actions[bot] commented 1 year ago

Dry run was successful :boom:

Transformed workflows:

pipelines/Customer_Work/Cosmos_Functions_Demo/.github/workflows/cosmos_functions_demo.yml ```yaml name: Customer_Work/Cosmos_Functions_Demo on: push: branches: - master pull_request: branches: - master env: azure-sub: AIRS buildConfiguration: Release cosmosAccountName: cmh-cosmos-demo-acct cosmosContainerName: products cosmosContainerPartitionKey: "/category" cosmosDatabaseName: cmh-cosmos-demo-db functionAppName: cmh-cosmos-demo infrastructure-arm-template: "${{ runner.workspace }}/Infrastructure/cosmosfunctionsdemo.json" location: eastus ordersContainerName: orders ordersPartitionKey: "/customerNumber" pool: ubuntu-latest resourceGroup: COSMOS-DEMO skipComponentGovernanceDetection: true jobs: Build-BuildInfrastructure: name: Build Infrastructure runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v3.3.0 - name: Install Bicep tooling run: "${{ github.workspace }}/infrastructure/install.sh" shell: bash - name: Build ARM template from Bicep run: "${{ github.workspace }}/infrastructure/build.sh" shell: bash working-directory: "${{ github.workspace }}/infrastructure/" # The following script preserves the globbing behavior of the CopyFiles task. # Refer to this transformer's documentation for an alternative that will work in simple cases. - name: Copy ARM templates to archive directory uses: actions/github-script@v6.4.0 env: TARGET_FOLDER: "${{ runner.temp }}/infrastructure/" SOURCE_FOLDER: "${{ github.workspace }}/infrastructure" CONTENTS: "**/*.json" with: github-token: "${{ secrets.GITHUB_TOKEN }}" script: |- const fs = require('fs').promises const path = require('path') const target = path.resolve(process.env.TARGET_FOLDER) process.chdir(process.env.SOURCE_FOLDER || '.') if (process.env.CLEAN_TARGET_FOLDER === 'true') await io.rmRF(target) const flattenFolders = process.env.FLATTEN_FOLDERS === 'true' const options = {force: process.env.OVERWRITE === 'true'} const globber = await glob.create(process.env.CONTENTS || '**') for await (const file of globber.globGenerator()) { if ((await fs.lstat(file)).isDirectory()) continue const filename = flattenFolders ? path.basename(file) : file.substring(process.cwd().length) const dest = path.join(target, filename) await io.mkdirP(path.dirname(dest)) await io.cp(file, dest, options) } - name: Publish infrastructure artifact uses: actions/upload-artifact@v3.1.1 with: name: Infrastructure path: "${{ runner.temp }}/infrastructure/" # The dotnet CLI does not accept glob patterns. Consider using a solution file to act on multiple projects at once. - name: Build run: dotnet build **/*.csproj -- configuration Release # The dotnet CLI does not accept glob patterns. Consider using a solution file to act on multiple projects at once. - name: Publish run: dotnet publish **/*.csproj --configuration Release --output ${{ runner.temp }}/code/ - name: Publish code artifact uses: actions/upload-artifact@v3.1.1 with: name: Code path: "${{ runner.temp }}/code/" Deploy-Deploy: needs: - Build-BuildInfrastructure runs-on: - self-hosted - "${{ env.pool }}" environment: name: Development env: cosmosConnectionString: AccountEndpoint=https://cmh-cosmos-demo-acct.documents.azure.com:443/;AccountKey=NPp4qSRKNklT0SLKVMk5NxmaqpEL3n4502h78eXx1NJ47khEVBntNz9DKH7xvgrxmi7oXYdtti2aCwl7rRatRQ==; if: github.RUN_NUMBER == 1 steps: - name: checkout uses: actions/checkout@v3.3.0 - name: download artifact uses: actions/download-artifact@v3.0.1 # # 'AzureResourceGroupDeployment' was not transformed because the '' action is not supported - name: Deploy functions uses: azure/login@v1.4.6 with: creds: "${{ secrets.AZURE_CREDENTIALS }}" # The Azure Function App does not accept glob patterns. Consider updating the package path. - name: Deploy functions uses: azure/functions-action@v1.4.8 with: app-name: "${{ env.functionAppName }}" package: "${{ runner.workspace }}/Code/*.zip" - name: Deploy functions uses: azure/appservice-settings@v1 with: app-name: "${{ env.functionAppName }}" app-settings-json: '[{"name":"cosmosDatabaseName","value":"${{ env.cosmosDatabaseName }}","slotSetting":false},{"name":"cosmosContainerName","value":"${{ env.cosmosContainerName }}","slotSetting":false},{"name":"cosmosConnectionstring","value":"${{ env.cosmosConnectionString }}","slotSetting":false}]' ```
christopherhouse commented 1 year ago

/migrate --pipeline 104 --target-url https://github.com/christopherhouse/Migrated-Pipelines

github-actions[bot] commented 1 year ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2023-02-27 16:55:38 +0000 by logger.rb/v1.5.3 I, [2023-02-27T16:55:38.641001 #1] INFO -- : Using GitHub Features: 'all' I, [2023-02-27T16:55:38.642632 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/build/definitions/?api-version=5.0 I, [2023-02-27T16:55:38.957257 #1] INFO -- response: Status 200 I, [2023-02-27T16:55:38.959850 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/serviceendpoint/endpoints?api-version=5.0-preview I, [2023-02-27T16:55:39.030895 #1] INFO -- response: Status 200 I, [2023-02-27T16:55:39.033875 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/distributedtask/variablegroups?api-version=5.0-preview&queryOrder=idDescending I, [2023-02-27T16:55:39.514699 #1] INFO -- response: Status 200 I, [2023-02-27T16:55:39.517022 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/distributedtask/taskgroups?api-version=5.0-preview I, [2023-02-27T16:55:40.097070 #1] INFO -- response: Status 200 E, [2023-02-27T16:55:40.099242 #1] ERROR -- : There was an error transforming the Azure DevOps pipeline (Customer Work) into a GitHub Actions Workflow. Message: Pipeline definition is missing build process /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/models/azure_devops/pipeline/pipeline.rb:20:in `pipeline_definition_to_yaml' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/models/azure_devops/pipeline/pipeline.rb:13:in `yaml' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/transformers/azure_devops/pipeline/jobs.rb:25:in `transform' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/azure_devops/transform_pipeline.rb:122:in `jobs' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/azure_devops/transform_pipeline.rb:76:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/adapters/provider_resolver.rb:82:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/migrate.rb:14:in `block in call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/logger.rb:89:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/migrate.rb:13:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/migrate.rb:43:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/migrate.rb:23:in `pipeline' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.0.16460/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' I, [2023-02-27T16:55:40.099424 #1] INFO -- : Sending telemetry with transaction id 'ea0d0308-8eca-4369-94aa-f8469ae9e546' ```
christopherhouse commented 1 year ago

/dry-run --pipeline-type pipeline --pipeline-id 104

github-actions[bot] commented 1 year ago

Dry run was successful :boom:

Transformed workflows:

pipelines/Customer_Work/Cosmos_Functions_Demo/.github/workflows/cosmos_functions_demo.yml ```yaml name: Customer_Work/Cosmos_Functions_Demo on: push: branches: - master pull_request: branches: - master env: azure-sub: AIRS buildConfiguration: Release cosmosAccountName: cmh-cosmos-demo-acct cosmosContainerName: products cosmosContainerPartitionKey: "/category" cosmosDatabaseName: cmh-cosmos-demo-db functionAppName: cmh-cosmos-demo infrastructure-arm-template: "${{ runner.workspace }}/Infrastructure/cosmosfunctionsdemo.json" location: eastus ordersContainerName: orders ordersPartitionKey: "/customerNumber" pool: ubuntu-latest resourceGroup: COSMOS-DEMO skipComponentGovernanceDetection: true jobs: Build-BuildInfrastructure: name: Build Infrastructure runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v3.3.0 - name: Install Bicep tooling run: "${{ github.workspace }}/infrastructure/install.sh" shell: bash - name: Build ARM template from Bicep run: "${{ github.workspace }}/infrastructure/build.sh" shell: bash working-directory: "${{ github.workspace }}/infrastructure/" # The following script preserves the globbing behavior of the CopyFiles task. # Refer to this transformer's documentation for an alternative that will work in simple cases. - name: Copy ARM templates to archive directory uses: actions/github-script@v6.4.0 env: TARGET_FOLDER: "${{ runner.temp }}/infrastructure/" SOURCE_FOLDER: "${{ github.workspace }}/infrastructure" CONTENTS: "**/*.json" with: github-token: "${{ secrets.GITHUB_TOKEN }}" script: |- const fs = require('fs').promises const path = require('path') const target = path.resolve(process.env.TARGET_FOLDER) process.chdir(process.env.SOURCE_FOLDER || '.') if (process.env.CLEAN_TARGET_FOLDER === 'true') await io.rmRF(target) const flattenFolders = process.env.FLATTEN_FOLDERS === 'true' const options = {force: process.env.OVERWRITE === 'true'} const globber = await glob.create(process.env.CONTENTS || '**') for await (const file of globber.globGenerator()) { if ((await fs.lstat(file)).isDirectory()) continue const filename = flattenFolders ? path.basename(file) : file.substring(process.cwd().length) const dest = path.join(target, filename) await io.mkdirP(path.dirname(dest)) await io.cp(file, dest, options) } - name: Publish infrastructure artifact uses: actions/upload-artifact@v3.1.1 with: name: Infrastructure path: "${{ runner.temp }}/infrastructure/" # The dotnet CLI does not accept glob patterns. Consider using a solution file to act on multiple projects at once. - name: Build run: dotnet build **/*.csproj -- configuration Release # The dotnet CLI does not accept glob patterns. Consider using a solution file to act on multiple projects at once. - name: Publish run: dotnet publish **/*.csproj --configuration Release --output ${{ runner.temp }}/code/ - name: Publish code artifact uses: actions/upload-artifact@v3.1.1 with: name: Code path: "${{ runner.temp }}/code/" Deploy-Deploy: needs: - Build-BuildInfrastructure runs-on: - self-hosted - "${{ env.pool }}" environment: name: Development env: cosmosConnectionString: AccountEndpoint=https://cmh-cosmos-demo-acct.documents.azure.com:443/;AccountKey=NPp4qSRKNklT0SLKVMk5NxmaqpEL3n4502h78eXx1NJ47khEVBntNz9DKH7xvgrxmi7oXYdtti2aCwl7rRatRQ==; if: github.RUN_NUMBER == 1 steps: - name: checkout uses: actions/checkout@v3.3.0 - name: download artifact uses: actions/download-artifact@v3.0.1 # # 'AzureResourceGroupDeployment' was not transformed because the '' action is not supported - name: Deploy functions uses: azure/login@v1.4.6 with: creds: "${{ secrets.AZURE_CREDENTIALS }}" # The Azure Function App does not accept glob patterns. Consider updating the package path. - name: Deploy functions uses: azure/functions-action@v1.4.8 with: app-name: "${{ env.functionAppName }}" package: "${{ runner.workspace }}/Code/*.zip" - name: Deploy functions uses: azure/appservice-settings@v1 with: app-name: "${{ env.functionAppName }}" app-settings-json: '[{"name":"cosmosDatabaseName","value":"${{ env.cosmosDatabaseName }}","slotSetting":false},{"name":"cosmosContainerName","value":"${{ env.cosmosContainerName }}","slotSetting":false},{"name":"cosmosConnectionstring","value":"${{ env.cosmosConnectionString }}","slotSetting":false}]' ```
christopherhouse commented 1 year ago

/migrate --pipeline-type pipeline --pipeline-id 104

christopherhouse commented 1 year ago

/migrate --pipeline-type pipeline --pipeline-id 104 https://github.com/christopherhouse/Migrated-Pipelines

christopherhouse commented 1 year ago

/migrate --pipeline-type pipeline --pipeline-id 104 --target-url https://github.com/christopherhouse/Migrated-Pipelines

github-actions[bot] commented 1 year ago

Migration was successful :sparkles:

Continue to the pull request to complete the migration.

christopherhouse commented 1 year ago

/dry-run --pipeline-type pipeline --pipeline-id 101

github-actions[bot] commented 1 year ago

Something went wrong. Please check the logs for more information.

Logs :point_down: ``` # Logfile created on 2023-02-27 17:08:01 +0000 by logger.rb/v1.5.3 I, [2023-02-27T17:08:01.126382 #1] INFO -- : Using GitHub Features: 'all' I, [2023-02-27T17:08:01.128605 #1] INFO -- request: GET https://dev.azure.com/chhouse/Customer%20Work/_apis/build/definitions/101?api-version=5.0 I, [2023-02-27T17:08:01.254414 #1] INFO -- response: Status 200 I, [2023-02-27T17:08:01.263363 #1] INFO -- request: GET https://api.github.com/repos/christopherhouse/DataFactoryCICD/contents/.pipelines/adf-artifacts-ci-cd.yaml?ref=refs%2Fheads%2Fmain I, [2023-02-27T17:08:01.558224 #1] INFO -- response: Status 404 E, [2023-02-27T17:08:01.559114 #1] ERROR -- : Resource not found (GET 404) Not Found: https://api.github.com/repos/christopherhouse/DataFactoryCICD/contents/.pipelines/adf-artifacts-ci-cd.yaml?ref=refs%2Fheads%2Fmain Message: Not Found /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/response/raise_error.rb:14:in `on_complete' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/middleware.rb:18:in `block in call' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/response.rb:42:in `on_complete' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/middleware.rb:17:in `call' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/middleware/follow_redirects.rb:73:in `perform_with_redirection' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/middleware/follow_redirects.rb:61:in `call' /usr/local/bundle/gems/faraday-retry-2.0.0/lib/faraday/retry/middleware.rb:148:in `call' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/rack_builder.rb:153:in `build_response' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/connection.rb:444:in `run_request' /usr/local/bundle/gems/faraday-2.7.4/lib/faraday/connection.rb:200:in `get' /usr/local/bundle/gems/sawyer-0.9.2/lib/sawyer/agent.rb:99:in `call' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/connection.rb:156:in `request' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/connection.rb:19:in `get' /usr/local/bundle/gems/octokit-5.6.1/lib/octokit/client/contents.rb:40:in `contents' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/github/extract_file.rb:16:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/adapters/provider_resolver.rb:26:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/extract_file.rb:11:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/azure_devops/pipeline/extract_pipeline.rb:98:in `pipeline_from_client' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/azure_devops/pipeline/extract_pipeline.rb:40:in `block in extract' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/concerns/cli_utilities.rb:126:in `source_file_from_local_or_scm' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/azure_devops/pipeline/extract_pipeline.rb:35:in `extract' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/services/azure_devops/pipeline/extract_pipeline.rb:28:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/adapters/provider_resolver.rb:58:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/dry_run.rb:12:in `block in call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/logger.rb:89:in `with_progress_bar' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/dry_run.rb:11:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/dry_run.rb:37:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/dry_run.rb:17:in `pipeline' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.0.16460/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' I, [2023-02-27T17:08:01.559418 #1] INFO -- : Sending telemetry with transaction id '6de2ee59-5524-4320-af5e-30e654d628be' E, [2023-02-27T17:08:01.798130 #1] ERROR -- : undefined method `success?' for nil:NilClass /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/commands/dry_run.rb:15:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/dry_run.rb:37:in `call' /usr/local/bundle/gems/actions_importer-1.0.16460/lib/valet/subcommands/azure_devops/dry_run.rb:17:in `pipeline' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:116:in `invoke' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:243:in `block in subcommand' /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' /usr/local/bundle/gems/thor-1.2.1/lib/thor/base.rb:485:in `start' /usr/local/bundle/gems/actions_importer-1.0.16460/exe/actions-importer:19:in `' /usr/local/bundle/bin/actions-importer:25:in `load' /usr/local/bundle/bin/actions-importer:25:in `
' ```