question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disabling first time experience in CI

See original GitHub issue

What are the recommended steps to disable the first time experience and telemetry in CI? Specifically for GitHub Actions. I’ve tried using the environment variables suggested in other issues but this has no impact.

    - name: Restore
      run: dotnet restore
      env:
        DOTNET_CLI_TELEMETRY_OPTOUT: 1
        DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1

This still produces the first time output when running restore (on all OS):

image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:16 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
PathogenDavidcommented, Oct 25, 2020

DOTNET_NOLOGO does what it’s supposed to with dotnet msbuild:

image

I think that Jason is expecting it to do the same thing as /nologo, which isn’t how it’s documented in either of the two places I could find. (Here and here)

It’s probably unnecessarily confusing to have two different concepts use nologo, but I imagine it’s way too late to switch to DOTNET_NOWELCOME.

1reaction
marcpopMSFTcommented, Jul 22, 2020

@PathogenDavid You are correct. We didn’t have automatic code flow from 3.1 into our .net 5 branches but we have caught up with that PR and are monitoring for additional changes we’ll need in the future so we should be good for a future PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disabling GitLab CI/CD
To disable GitLab CI/CD in your project: On the left sidebar, at the top, select Search ... In the Repository section, turn off...
Read more >
Disable Code Like Magic With Feature Flags
Disable code in production without touching it. Sound like magic? It's not: gain that power by adopting feature flags.
Read more >
How to quickly disable / enable stages in Gitlab CI
5 Answers. You could disable all the jobs from your stage using this trick of starting the job name with a dot ('...
Read more >
Monitor Your CI Pipelines and Tests With Datadog CI ...
Learn how Datadog CI Visibility lets you monitor the health and performance of your CI builds and test suite.
Read more >
Disable a metric for a CI
Navigate to All > Event Management > Anomaly Detection > Metric to CI. Locate the record for the metric/CI that you want to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found