devops-service | DevOps Service is the core service | Microservice library

 by   choerodon Java Version: Current License: No License

kandi X-RAY | devops-service Summary

kandi X-RAY | devops-service Summary

devops-service is a Java library typically used in Manufacturing, Utilities, Automotive, Architecture, Microservice, Spring Boot, Spring, Docker, Prometheus, Grafana applications. devops-service has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

DevOps Service DevOps Service是Choerodon平台实现持续交付的基础. 当前版本为: 0.22.0.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              devops-service has a low active ecosystem.
              It has 29 star(s) with 47 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 6 have been closed. On average issues are closed in 45 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of devops-service is current.

            kandi-Quality Quality

              devops-service has 0 bugs and 0 code smells.

            kandi-Security Security

              devops-service has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              devops-service code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              devops-service does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              devops-service releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              devops-service saves you 108976 person hours of effort in developing the same functionality from scratch.
              It has 157331 lines of code, 21192 functions and 1949 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed devops-service and discovered the below as its top functions. This is intended to give you an instant insight into devops-service implemented functionality, and help decide if they suit your requirements.
            • Import an App Service Import
            • Init branch
            • Perform push
            • Sets project hook id
            • Start image deploy task
            • Get docker run command
            • Get DevopsHost App DTO
            • Start deployment of a jar file
            • Set the status of a devop job to skip
            • On auto deploy task
            • Gets a page of branches
            • Get a page of the cluster node info
            • Delete app by id
            • Create custom deploy info
            • Custom custom deploy
            • Create or update a manifest
            • Provides a page of pages of a pipeline
            • Deploy a ci pipeline deployment
            • Deploys an image for a specific device
            • Launch a pipeline auto deploy task
            • Gets the Sonar table
            • Start automatic deploy task
            • Execute external app approval task
            • Starts GitOps synchronously
            • Get app center env detail
            • Utility method to perform a pagination
            Get all kandi verified functions for this library.

            devops-service Key Features

            No Key Features are available at this moment for devops-service.

            devops-service Examples and Code Snippets

            No Code Snippets are available at this moment for devops-service.

            Community Discussions

            QUESTION

            Azure Pipelines local agent failing to connect with SSL error
            Asked 2022-Mar-29 at 19:29

            We have an on premise server (Windows Server 2012 R2) with an Azure Pipelines agent running on it. Today (31st Jan 2022) this agent could not longer connect to our Azure DevOps organisation.

            Judging by the log files, I assume this is because it is trying to connect with an older TLS version, which as of today is no longer available - https://devblogs.microsoft.com/devops/azure-devops-services-to-require-tls-1-2/

            So I followed the instructions on how to make sure TLS 1.2 was enabled, and confirmed my settings in the registry editor and by running the PowerShell script suggested here - https://docs.microsoft.com/en-us/security/engineering/solving-tls1-problem#update-windows-powershell-scripts-or-related-registry-settings

            All seems ok, yet it still fails to connect with the same issue. The machine has been restarted as well. If I try the URL it is requesting in the in built Internet Explorer browser, it fails, but with Chrome it succeeds, so it must still be trying to connect with TLS 1.2, but I don't know why. I've tried reinstalling the agent (with the latest build) as well but it fails on the same error. Any suggestions?

            ...

            ANSWER

            Answered 2022-Jan-31 at 23:27

            Enabling below Cyphers with IISCrypto on the server helped us fix the issue

            Cipher Suites

            TLS 1.2 (suites in server-preferred order) TLS

            • _DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 2048 bits FS 256 TLS
            • DHE_RSA_WITH_AES_128_GCM_SHA256 (0x9e) DH 2048 bits FS 128

            This from Vijay's solution

            Source https://stackoverflow.com/questions/70929356

            QUESTION

            Resolving Predefined Agent Variables in Runtime Expressions
            Asked 2021-Oct-25 at 07:30

            I have the following scenario, it is simplified for the sake of brevity, but outlines my problem.

            I have a 2 Job pipeline.

            BreakMatrix Job: A job that runs on an AdminPool and outputs 2 variables with the following names ENV1 and ENV2. The names are important because each of them matches the name of an Environment running in a separate MachinePool VM deployment pool.

            Upgrade Job: A deployment job that depends on the BreakMatrix job and that runs on a VM MachinePool, with a tag that will select ENV1 and ENV2 environments.

            I am trying to pass in one of the variables to each of the corresponding Environments:

            ...

            ANSWER

            Answered 2021-Oct-25 at 07:30

            I got confirmation on the developer community that this is not possible.

            Relevant part:

            But I am afraid that the requirement couldn’t be achieved.

            The reason is that the dependencies.xx.outputs expression can’t read the variable(variables['Agent.Name']) and format expression value defined in the YAML pipeline.

            It now only supports hard-coding the name of the variable to get the corresponding job variable value.

            Source https://stackoverflow.com/questions/69645548

            QUESTION

            Azure DevOps API creates service connection without verifying hence getting the error failed to query service connection api while using
            Asked 2021-Aug-10 at 13:28

            Am able to create a new service endpoint using

            Create Service EndPoint

            And also able to grant it with Pipeline Permissions using below

            curl --request PATCH -H "Content-Type: application/json" -u $user:$token -d "@newpatch.json" https://dev.azure.com/$org/$project/_apis/pipelines/pipelinePermissions/endpoint/$connection_id\?api-version\=5.1-preview.1

            But when am trying to use the service connection in the pipeline it is giving me below error

            Failed to query service connection API: 'https://management.azure.com/subscriptions/resourcegroups?api-version=2019-05-01'. Status Code: 'BadRequest', Response from server: '{"error":{"code":"InvalidSubscriptionId","message":"The provided subscription identifier 'resourcegroups' is malformed or invalid."}}'

            I have tried with - update restproxy but I still see the error, not sure on the body for the script

            Please help

            ...

            ANSWER

            Answered 2021-Aug-10 at 13:28

            Passing service connection as a variable at terraform task level caused the Issue.

            Since it is not supported at task level, it has to be defined globally in the yaml or from variable groups. Issue has been resolved doing it.

            Source https://stackoverflow.com/questions/68602282

            QUESTION

            How to get the values of pull request Created by and Approved by in Azure DevOps CI pipeline
            Asked 2021-Apr-21 at 06:50

            I have the pull-request build in Azure DevOps in that I have used inline PowerShell script to get the Pull Request ID by following System variables (DevOps Services) documentation.

            But I want to get the values of Pull Request Created by and Approved by using predefined variables.

            So, can anyone suggest how to do it.

            ...

            ANSWER

            Answered 2021-Apr-21 at 06:50

            There are no predefined variables of Created by or Approved by for a Pull Request. Instead, you could use Pull Requests - Get Pull Request By Id api to get these information, as you have had Pull Request ID:

            Source https://stackoverflow.com/questions/67160959

            QUESTION

            Application is not loading when deployed via azure app service
            Asked 2021-Apr-06 at 22:07

            I'm a newbie to Azure

            I created a new Vue project using vue create which runs locally and even serving the dist folder too it run successfully. (serve -s dist)

            And then I deployed the application using GitActions to Azure(Web App Service) which Azure DevOps services indicated that the deployment has been successful: azure-devops-service-github-actions

            So I was expecting to see the default page as: vue-app-default-page-content

            Instead, it still shows as: azure-site-landing-page

            There are no error messages, and I'm not sure how best to debug what has gone wrong with a deployment. Also not sure if later when I use the application with any REST APIs does it include any configurations to get it up and running.

            Secondly, not a blocker, but after removing these lines from the workflow - master.yml file the deployment continued without any issue. Used Node 12 and Node 14. I Googled and have no idea why??

            ...

            ANSWER

            Answered 2021-Apr-05 at 02:30

            You need to add startup command, you can try it.

            Source https://stackoverflow.com/questions/66924180

            QUESTION

            Azure Virtual Machine Scale Set on Azure Devops - predefined variables not recognised
            Asked 2021-Apr-02 at 02:13

            I built a Scale Set(Windows) and I can run simple commands successfully on my Azure Devops Custom Agent Pool, with a custom VM based on Windows 19 Server Core based on this guide.

            However, when I try to access any Azure Devops predefined variables in any of my tasks they are not recognised. For example executing:

            ...

            ANSWER

            Answered 2021-Apr-02 at 02:13

            I also tested the shell script task on my VMSS Windows-2019 agent, it can correctly print the value of the predefined variables in pipeline. I did not get any error.

            I tried the VMSS created via executing the related Azure CLI on Azure Cloud Shell, and manual created on Azure Portal web UI, both of them can work fine without any error.

            Please check with the following steps:

            1. Try the VMSS in different pipelines, different projects to see if the same issue occurs.
            2. Try creating a new VMSS (you can try manual creation) to see if the issue also occurs on the new VMSS.
            3. Check if there is any syntax or format issue in your pipeline definition (YAML file). Below is a simple pipeline as reference, I tested it on my side and it can work fine.

            Source https://stackoverflow.com/questions/66891614

            QUESTION

            Azure Devops Pipeline with Manual Run and User-Set Variables: How to check variables in conditions?
            Asked 2021-Mar-05 at 20:03

            Hoping someone can help me with this as looking back at my git log I've now tried 14 different things to try to get this to work. Here's the scenario:

            • I created a variable in the UI called deploy_custom_env and checked "User can set variable at runtime." I initialized it to "default", but I am expecting users to override it when starting manual runs.

            • I am trying to use this variable in the condition for some of my pipeline stages.

            • I've tried many, many different things. Here are some examples:

            First:

            ...

            ANSWER

            Answered 2021-Mar-05 at 18:37

            If you're doing this in yml file, then $(deploy_custom_env) should work.

            Source https://stackoverflow.com/questions/66496713

            QUESTION

            How to get git branch at commit with tag at run Azure pipeline?
            Asked 2020-Dec-07 at 03:32

            In Azure Pipeline is possible use predefined build variables (DevOps Services) Build.SourceBranch and Build.SourceBranchName but their values at case commit with tag are tags.

            In doc. https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#build-variables-devops-services is written

            • When your pipeline is triggered by a tag: refs/tags/your-tag-name
            • The name of the branch in the triggering repo the build was queued for. Git repo branch or pull request: The last path segment in the ref. For example, in refs/heads/master this value is master. In refs/heads/feature/tools this value is tools.
            • this my observation: but in case commit with tag is the last path segment of Build.SourceBranch, so your-tag-name
            ...

            ANSWER

            Answered 2020-Dec-07 at 03:32

            As it is described in the document. If the pipeline is triggered by a tag. Then variables Build.SourceBranch and Build.SourceBranchName will be the tag name.

            However, you can use git commands(git branch -r --contains $(Build.SourceBranchName) | grep -v $(Build.SourceVersion)) to retrieve the branch name that the tag points to.

            If you want to use the branch name as variable, You can define a variable use the logging commands(echo "##vso[task.setvariable variable=CurrentBranch]$branch"). For below example:

            Source https://stackoverflow.com/questions/65141122

            QUESTION

            Access Azure DevOps analytic data via Power BI using a different PAT
            Asked 2020-Jan-10 at 10:10

            I'm trying to create reporting against work items in Azure DevOps from PowerBI for my entire organization. But I don't have access to all of the projects, so the odata connector returns an error. (per the last statement on https://docs.microsoft.com/en-us/azure/devops/report/powerbi/analytics-security?view=azure-devops)

            Can I use a different PAT through Power BI? I don't see a way to do this.

            I tried following the answer from How do you get DimIteration table information from Azure Devops Services into Power BI? with a PAT I was given and a variety of URLS, but did not work.

            And I'm using Power BI (not writing C#, Java, etc.), so I don't see where the Authentication Guide fits into my solution.

            ...

            ANSWER

            Answered 2020-Jan-10 at 10:10

            Can I use a different PAT through Power BI?

            Do you mean changing authentication credentials? If so you can go through the following steps:

            Click File > Options and Settings > Data Source Settings. Select the correct URL to the OData Feed and click Edit.

            Click the Edit Permissions button under the Credentials setting.

            Edit the credentials as noted above, click Save, then Done, then Close.

            For details ,please refer to this document. If I misunderstood the issue, please indicate.

            Source https://stackoverflow.com/questions/59671164

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install devops-service

            You can download it from GitHub.
            You can use devops-service like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the devops-service component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/choerodon/devops-service.git

          • CLI

            gh repo clone choerodon/devops-service

          • sshUrl

            git@github.com:choerodon/devops-service.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link