Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Nx cloud integration #5

Open
elvirdolic opened this issue Apr 9, 2020 · 1 comment
Open

Nx cloud integration #5

elvirdolic opened this issue Apr 9, 2020 · 1 comment

Comments

@elvirdolic
Copy link

Would be nice to see how does this work with nx cloud. I have set the nx cloud env variable but it doesn’t work

@rinckd
Copy link

rinckd commented Sep 6, 2020

This video shows you the basic setup for CI-CD: https://www.youtube.com/watch?v=w1-GiB74ddc

There are a couple steps unique to Azure DevOps.

In your pipeline add a variable.
atx-apps-ci_-_Pipelines

Then, for each script in the azure-pipelines.yml, pass the variable in:

          - script: node ./tools/scripts/run-many.js '$(COMMANDS)' build1 build '$(environment)'
            env: { NX_CLOUD_AUTH_TOKEN: $(NX_CLOUD_AUTH_TOKEN) }

The first run will likely cache, but with subsequent builds you will see it read from the cache.

Hope this helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants