Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Azure Pipelines #109

Open
tonybaloney opened this issue Apr 23, 2020 · 1 comment
Open

Add support for Azure Pipelines #109

tonybaloney opened this issue Apr 23, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@tonybaloney
Copy link
Owner

Figure out how this can be run from within Azure Pipelines.

Ideas:

  • Since this is a Docker image, perhaps deploy the pipelines test agent into the image?
  • Emit the signals from the script?
  • Connect with Pytest and use the pytest-azurepipelines plugin?
@tonybaloney tonybaloney added the enhancement New feature or request label Apr 23, 2020
@tonybaloney
Copy link
Owner Author

The Microsoft team answered this https://stackoverflow.com/a/61887463/7402337

I am afraid you have to clone the DockerV2 Task and to customize it to run the Docker commands that you need.

The reason for its complexity is that their implementation forms are different.

We are customizing github action and publishing to Marketplace, the custom github action did not compile and package the source code, but just quoted the original code. In other words, our custom action is more like providing a link to tell the compiler where to download the source code and pass parameters and rewrite the source code. So we don't need to download the source code of github action and customize it.

However, the Azure Pipelines custom task is different. The custom task needs to be compiled to generate a .visx file, which requires the source code and compiles it after rewriting.

Besides, Azure devops provide a Task groups, so that we could encapsulate a sequence of tasks, already defined in a build or a release pipeline, into a single reusable task that can be added to a build or release pipeline, just like any other task. You can choose to extract the parameters from the encapsulated tasks as configuration variables, and abstract the rest of the task information.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant