Skip to content

Conversation

@seemethere
Copy link
Member

@seemethere seemethere commented Nov 30, 2022

Adds the ability for the workflow to export matrix variables as environment variables for our generic workflows. All environment variables will be reference like so:

MATRIX_${var_name}

Signed-off-by: Eli Uriegas eliuriegas@meta.com

@vercel
Copy link

vercel bot commented Nov 30, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
torchci ⬜️ Ignored (Inspect) Nov 30, 2022 at 11:27PM (UTC)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 30, 2022
Adds the ability for the workflow to export matrix variables as
environment variables for our generic workflows. All environment
variables will be reference like so:

MATRIX_${var_name}

Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
@seemethere seemethere force-pushed the seemethere/export_matrix branch from 76c34a9 to d503c27 Compare November 30, 2022 23:18
Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
@seemethere
Copy link
Member Author

Assigning to @atalman since I don't have enough bandwidth to finish this

atalman added a commit that referenced this pull request Dec 28, 2022
Its based on @seemethere work here:
#1201


Adds the ability for the workflow to export matrix variables as
environment variables for our generic workflows. All environment
variables will be reference like so:

```
MATRIX_${var_name}
```

With this we can remove all the environment initialization in the
validation workflows, here is an example:
https://github.com/pytorch/builder/blob/main/.github/workflows/validate-linux-binaries.yml#L54

Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
Co-authored-by: Eli Uriegas <eliuriegas@meta.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants