pipeline-trigger | trigger allows you to trigger and wait for the results | BPM library

 by   finestructure Python Version: 2.7.1 License: MIT License

kandi X-RAY | pipeline-trigger Summary

kandi X-RAY | pipeline-trigger Summary

pipeline-trigger is a Python library typically used in Automation, BPM applications. pipeline-trigger has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However pipeline-trigger build file is not available. You can download it from GitLab.

Pipeline-trigger allows you to trigger and wait for the results of another GitLab pipeline
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pipeline-trigger has a low active ecosystem.
              It has 118 star(s) with 55 fork(s). There are no watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 0 have been closed. On average issues are closed in 26 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pipeline-trigger is 2.7.1

            kandi-Quality Quality

              pipeline-trigger has no bugs reported.

            kandi-Security Security

              pipeline-trigger has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              pipeline-trigger is licensed under the MIT License License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pipeline-trigger releases are available to install and integrate.
              pipeline-trigger has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pipeline-trigger
            Get all kandi verified functions for this library.

            pipeline-trigger Key Features

            No Key Features are available at this moment for pipeline-trigger.

            pipeline-trigger Examples and Code Snippets

            No Code Snippets are available at this moment for pipeline-trigger.

            Community Discussions

            QUESTION

            Azure Pipelines - Handling builds for Dependent downstream pipelines
            Asked 2022-Mar-22 at 11:17

            We have more number of common upstream pipelines - pipleline-a, pipleline-b, pipeline-c, pipeline-d … each in its own repository - repository-a, repository-b, repository-c, repository-d… My target pipeline, say pipeline-y in repository-y, has a dependency on these upstream pipelines artifacts and the target pipeline needs to build when there is a change to any of the upstream libraries and the corresponding upstream pipeline builds successfully. In other words, target pipeline-y needs to be triggered if any of the upstream pipelines completed successfully due to changes in them (CI triggers for upstream libraries work fine in their own pipelines).

            We currently achieved this, using the resources pipelines trigger in the target pipeline-y, as below:

            Upstream Pipeline - pipeline-a.yml

            ...

            ANSWER

            Answered 2022-Mar-22 at 11:17

            It's not possible to dynamically specify resources in YAML.

            A suggestion could be to use REST API hooks when new pipelines are added. Then trigger a program that generates new YAML for pipeline-y.yml.

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

            QUESTION

            gitlab only runs one job in child-pipeline
            Asked 2021-Dec-23 at 14:57

            I have a gitlab-ci.yml that creates and trigger a child .yml

            ...

            ANSWER

            Answered 2021-Dec-23 at 14:57

            Turned out the problem was the encoding of the powershell-output. Default encoding from powershell 5 is UFT16BOM and my reencoding to UTF8 resulted in UFT8BOM wich gitlab can´t handle properly. My sollution was to encode in ASCII. What I can´t explain is why it was able to interpret the first job correctly, I thought that encodeing would result in an all or nothing outcome. Maybe the CRLF-CRLF after the first job caused the errror

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

            QUESTION

            Azure YAML Pipelines: Is it possible to find out which pipeline triggered a build?
            Asked 2021-Dec-01 at 21:14

            I have two repos on my Azure DevOps project. One for the Cloud Infrastructure deployment and another that contains my application code.

            I have a YAML pipeline that is triggered after any of those repos build pipeline finishes. The pipeline looks a bit like this like this:

            ...

            ANSWER

            Answered 2021-Dec-01 at 21:14

            Have a look at Pipeline resource variables

            In each run, the metadata for a pipeline resource is available to all jobs in the form of predefined variables. The is the identifier that you gave for your pipeline resource. Pipeline resources variables are only available at runtime.

            There are also a number of predefined variables called Build.TriggeredBy.*, amongst them Build.TriggeredBy.DefinitionName, however documentation suggests that for yaml pipeline with pipeline triggers the resource variables should be used instead

            If the build was triggered by another build, then this variable is set to the name of the triggering build pipeline. In Classic pipelines, this variable is triggered by a build completion trigger.

            This variable is agent-scoped, and can be used as an environment variable in a script and as a parameter in a build task, but not as part of the build number or as a version control tag.

            If you are triggering a YAML pipeline using resources, you should use the resources variables instead.

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

            QUESTION

            Azure pipelines: What is the name of the pipeline resource?
            Asked 2021-Jul-01 at 16:00

            Im new in Azure DevOps and want to trigger a pipeline by another pipeline.

            i follow this documentation

            the following section is described there:

            ...

            ANSWER

            Answered 2021-Jul-01 at 16:00
            • pipeline: securitylib specifies the name of the pipeline resource, and is used when referring to the pipeline resource from other parts of the pipeline, such as pipeline resource variables.

            is a name for the pipeline resource. This is not pipeline name in Azure Devops. It it is like

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

            QUESTION

            Azure DevOps - YAML Pipeline Trigger starts run before completion of source
            Asked 2021-Jun-07 at 10:55

            I have two pipelines - one for CI and the other for CD. Want to trigger the CD pipeline after CI pipeline has completely finished. After setting up the triggers (through YAML), both of my pipelines get triggered together so CD finishes even before CI has completed.

            How can I trigger the CD pipeline, only after the CI has finished off?

            My CI pipeline is as follows:

            ...

            ANSWER

            Answered 2021-Jun-07 at 10:18

            One way would be to create a tag at the end of the CI and CD can be triggered by this tag.

            ADO CI pipeline sample code :

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

            QUESTION

            Trigger build pipeline (on the same branch) on completion of another pipeline
            Asked 2020-Jun-22 at 08:44

            In our Azure DevOps Server 2019 we want to trigger a build pipeline on completion of another build pipeline. The triggered build should use the same source branch the triggering build used.

            According to the documentation this does not work with classic builds or the classic trigger definition, but in the YAML definition for the triggered build:

            build.yaml:

            ...

            ANSWER

            Answered 2020-Jun-22 at 08:44

            Updates are made every few weeks to the cloud-hosted version, Azure DevOps Services. These updates are then rolled up and made available through quarterly updates to the on-premises Azure DevOps Server and TFS.So, all features are release in Azure DevOps Service first.

            A timeline of feature released and those planned in the feature release can be found at here-- Azure DevOps Feature Timeline

            You could choose to directly use cloud version Azure DevOps Service instead or monitor latest update on above Feature Timeline with Azure DevOps Server. Sorry for any inconvenience.

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

            QUESTION

            Azure pipeline to run two or more independent pipelines
            Asked 2020-May-01 at 07:38

            Is it possible to create a pipeline in Azure DevOps that simply runs two or more independent pipelines (in parallel or in series) and does nothing else?

            I have an application consisting of five independent microservices, each of which can be built and deployed separately via its individual build pipeline (YAML). However, it is often convenient for us to build and deploy them all together; e.g., when tagging the resulting artefacts as part of a new release. I've scoured the official docs but found nothing on how to do this. Pipeline triggers don't help me because I need to keep these pipelines decoupled, as they are frequently run individually. What I need is something like this (wishful pseudo-code):

            ...

            ANSWER

            Answered 2020-Apr-29 at 19:45

            Assuming your pipelines are all in the same project, and assuming you're using Windows-based build agents whose services are running under a Windows account that has permission to access your project in Azure DevOps (as opposed to LOCAL SYSTEM et cetera), you can run the script below as a build task for the purpose of triggering other builds, which could then trigger releases.

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

            QUESTION

            Azure devops pipeline - trigger only on another pipeline, NOT commit
            Asked 2020-Apr-23 at 23:51

            Requirement

            So, there is some newish functionality in Azure DevOps which allows pipelines to trigger other pipelines and is documented here: https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#pipeline-triggers-1 It sounds great, apart from the fact I can't get the behaviour I need. I want 2 pipelines in the same repository:

            • Pipeline A: is only triggered by multiple other pipelines outside of its own repo, but in the same project. As a result of being triggered it makes a change to its own repo and therefore triggers pipeline B.
            • Pipleline B: is only triggered by changes to its own repo and when triggered goes ahead and does whatever it needs to do

            Pipeline A Syntax

            ...

            ANSWER

            Answered 2020-Jan-07 at 23:01

            Working Solution

            Because all of my builds are centralised in one pipeline template, I changed this template to trigger my pipeline A on successful publishing of an artifact. Here's the pipeline trigger code which is pretty much verbatim from (https://docs.microsoft.com/en-us/azure/devops/cli/azure-devops-cli-in-yaml?view=azure-devops), apart from the last couple of steps:

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

            QUESTION

            Azure Pipelines CI not triggered by pushing tags to external git
            Asked 2020-Mar-20 at 16:51

            I have repository on local GitLab server of my organization and want to trigger build pipeline that then will trigger release pipeline and publish to staging/production VMs.

            I've read a lot of articles at microsoft docs, SO and tons of blogs that you can trigger pipeline by tags providing branch filter like refs/tags/v*. YAML configuration has additional section special for tags, however YAML is not supported for git repos that are connected as "Other git".

            And that tag trigger just never works. After I set up trigger UI shows me just "v*", so it understands that refs/tags has special meaning. I can run pipeline manually specifying exact tag, like refs/tags/v1.0-test, and it works. But never launches automatically. Branch triggers work without problems.

            What I've already tried:

            • set include filter for refs/tags/v* - doesn't work
            • set include filter for refs/tags/exacttagname - doesn't work
            • set include filter for refs/tags/v* and another one for master - triggers only for master
            • set include filter for refs/tags/v*, for * and exclude filters for refs/heads/* and refs/remotes/* - doesn't work

            I tried pushing commit, then pushing tag. Tried pushing commit and tag in one requiest with git push ---follow-tags. Tried pushing tags for older commits. Nothing of that works.

            This issue about the same problem was resolved on azure side previous summer, however all comments where about GitHub integrations. So maybe it's still broken for "other git" or smth else.

            Any help?

            ...

            ANSWER

            Answered 2020-Mar-20 at 16:51

            I tested and got the same result, tags triggers for other git doesnot work. You can submit a feature request(click suggest a feature and choose Azure devops) for supporting tag triggers for gitlab repo to Micrsoft Development team. Please check this thread for example.

            As workaround you can use multiple agent jobs to achieve above currently.

            You can add another agent job before your original agent job to run a script task, And add dependency on it in your original agent job. The script task will check if there is tag associated to the current commit. If the tag exits, the script task will pass, and the following agent job will run. Or the script task fails and the following agent job will be skipped.

            The detailed steps is as below:

            1. add a agent job with a single powershell task. Check below screenshot.

            2. Run below inline scripts in the powershell task to check the tags

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

            QUESTION

            Custom GitHub PR comment triggers for Azure Pipelines
            Asked 2020-Feb-05 at 05:33

            Is it possible to trigger somehow Azure Pipelines with custom GitHub Pull Request comments (besides the standard ones)? We’ve found the following documentation suggesting to use webhook triggers but as far as I understand this feature isn’t yet implemented in Azure Pipelines, is it?

            ...

            ANSWER

            Answered 2020-Feb-05 at 05:33

            Custom GitHub PR comment triggers for Azure Pipelines

            Yes, you are right. The feature Incoming Webhook should not yet implemented in Azure Pipelines at this time.

            Now, Azure pipeline trigger only support the "standard" GitHub Pull Request comments, like /AzurePipelines runor /AzurePipelines run . So we could not use the custom GitHub PR comment trigger the Azure pipeline currently.

            The workaround as Levi Lu answered in that post, but the limitation is that the pipeline still needs to be executed for each PR.

            If above workaround not help you, you could add your request for this feature on our UserVoice site (https://developercommunity.visualstudio.com/content/idea/post.html?space=21 ), which is our main forum for product suggestions. Thank you for helping us build a better Azure DevOps:

            Hope this helps.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install pipeline-trigger

            You can download it from GitLab.
            You can use pipeline-trigger like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitLab. 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://gitlab.com/finestructure/pipeline-trigger.git

          • sshUrl

            git@gitlab.com:finestructure/pipeline-trigger.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

            Explore Related Topics

            Consider Popular BPM Libraries

            Try Top Libraries by finestructure

            Arena

            by finestructureSwift

            CoPilot

            by finestructureSwift

            Hummingbird

            by finestructureSwift

            Gala

            by finestructureSwift

            Historian

            by finestructureSwift