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

Set up CI with Azure Pipelines #856

Closed
wants to merge 3 commits into from
Closed

Conversation

azure-pipelines[bot]
Copy link

@azure-pipelines azure-pipelines bot commented Oct 14, 2018

@kaylangan
Copy link

Hi! I'm a Program Manager on Azure Pipelines.

You set up your matrix like this:

strategy:
  matrix:
    node_8_x_typescript_2_9_2:
      node_version: 8.x
      typescript_version: typescript@2.9.2
...

@johnnyreilly
Copy link
Member

Thanks for responding @kaylangan !

@johnnyreilly
Copy link
Member

johnnyreilly commented Oct 15, 2018

So does this mean I need to list out every permutation I require manually? There's no way to do what AppVeyor / Travis do whereby they come up with all the permutations given the variables you want to test?

Obviously it's possible to specify each permutation. But when you've multiple variables that gets noisy quickly!

@kaylangan
Copy link

For now, you'll need to manually expand the matrix. We found that almost all projects that use a multi-dimensional matrix ended up having exclusions for some of the permutations, and rather than introduce an exclusion concept we went with explicit configuration.

All that said, we're adding an each expression that--while intended for pre/post-steps in templates--could be twisted to generate a matrix: microsoft/azure-pipelines-yaml#2. We're still discussing that.

@johnnyreilly
Copy link
Member

Thanks @kaylangan - that's great to hear! I may hold off until each is available.

I really appreciate you getting back to me by the way, thanks so much!

@johnnyreilly
Copy link
Member

It looks like each isn't going to do what we want. Hopefully this may lead to something though: microsoft/azure-pipelines-yaml#20

@johnnyreilly johnnyreilly added the pinned don't let probot-stale close label Jan 19, 2019
@johnnyreilly
Copy link
Member

Closing in favour of @g-plane's GitHub Actions approach. I've disabled the AppVeyor webhook as well as AppVeyor has become unstable in the last month.

@johnnyreilly johnnyreilly deleted the azure-pipelines branch March 28, 2021 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned don't let probot-stale close
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants