devops | Scripts and files to assist with installing and updating | DevOps library

 by   BookStackApp Shell Version: Current License: MIT

kandi X-RAY | devops Summary

kandi X-RAY | devops Summary

devops is a Shell library typically used in Devops, Ansible, Docker, Wordpress, Ubuntu applications. devops has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This repo contains scripts & configuration used for installation & project maintenance of BookStack. For installation scripts, we focus on supporting Ubuntu LTS releases only to keep maintenance feasible. Please don't offer alternative systems or methods of hosting (Such as docker, VMs etc...). The scope of official support is kept narrow to ensure we can continue to offer some level of support to users using these scripts and configurations.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              devops has a low active ecosystem.
              It has 38 star(s) with 56 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 17 have been closed. On average issues are closed in 108 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of devops is current.

            kandi-Quality Quality

              devops has 0 bugs and 0 code smells.

            kandi-Security Security

              devops has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              devops code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              devops is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              devops releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of devops
            Get all kandi verified functions for this library.

            devops Key Features

            No Key Features are available at this moment for devops.

            devops Examples and Code Snippets

            No Code Snippets are available at this moment for devops.

            Community Discussions

            QUESTION

            Azure Pipelines local agent failing to connect with SSL error
            Asked 2022-Mar-29 at 19:29

            We have an on premise server (Windows Server 2012 R2) with an Azure Pipelines agent running on it. Today (31st Jan 2022) this agent could not longer connect to our Azure DevOps organisation.

            Judging by the log files, I assume this is because it is trying to connect with an older TLS version, which as of today is no longer available - https://devblogs.microsoft.com/devops/azure-devops-services-to-require-tls-1-2/

            So I followed the instructions on how to make sure TLS 1.2 was enabled, and confirmed my settings in the registry editor and by running the PowerShell script suggested here - https://docs.microsoft.com/en-us/security/engineering/solving-tls1-problem#update-windows-powershell-scripts-or-related-registry-settings

            All seems ok, yet it still fails to connect with the same issue. The machine has been restarted as well. If I try the URL it is requesting in the in built Internet Explorer browser, it fails, but with Chrome it succeeds, so it must still be trying to connect with TLS 1.2, but I don't know why. I've tried reinstalling the agent (with the latest build) as well but it fails on the same error. Any suggestions?

            ...

            ANSWER

            Answered 2022-Jan-31 at 23:27

            Enabling below Cyphers with IISCrypto on the server helped us fix the issue

            Cipher Suites

            TLS 1.2 (suites in server-preferred order) TLS

            • _DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 2048 bits FS 256 TLS
            • DHE_RSA_WITH_AES_128_GCM_SHA256 (0x9e) DH 2048 bits FS 128

            This from Vijay's solution

            Source https://stackoverflow.com/questions/70929356

            QUESTION

            Unable to negotiate with 40.74.28.9 port 22: no matching host key type found. Their offer: ssh-rsa
            Asked 2022-Mar-28 at 15:54

            After start of using NixOS as a new package management system, I get the following error when using git within Azure DevOps repositories and rsa ssh key:

            ...

            ANSWER

            Answered 2021-Nov-12 at 12:44

            According to this post, you can add ssh.dev.azure.com host config to your ~/.ssh/config file:

            Final ~/.ssh/config that worked for me:

            Source https://stackoverflow.com/questions/69875520

            QUESTION

            Visual Studio 2022 not showing up in the dropdown
            Asked 2022-Mar-26 at 17:18

            We have on-prem Azure DevOps 2020 installed. We built a .net core 6 app in Visual Studio 2022. However, when creating the build pipeline, VS 2022 is not showing up in the dropdown.

            Has anyone faced this problem? Is MSFT supposed to release a patch that will start displaying VS 2022 in the dropdown?

            ...

            ANSWER

            Answered 2022-Jan-28 at 15:20

            Many people are running into this. No word from MS yet on when or if an update will be available. But these articles may help you find a workaround:

            FWIW, I'm working around it by using an explicit MSBuild path as mentioned in this answer. I added a PreferredMSBuildExePath variable to my pipeline and set it equal to %ProgramFiles%\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe. Then I made all my MSBuild steps use $(PreferredMSBuildExePath) as their MSBuild path under Specify Location. I also converted all my Visual Studio steps to MSBuild steps so I could use this explicit path variable.

            Source https://stackoverflow.com/questions/70866796

            QUESTION

            NPM install task failing in Azure Devops, same code worked previously
            Asked 2022-Mar-12 at 12:38

            I have yaml pipeline running a build in Azure Devops. The Npm@1 task has started failing this morning. npm install works locally with npm version 6.14.5 and it's all green lights on npm Status.

            ...

            ANSWER

            Answered 2021-Dec-02 at 13:14

            I still don't know why this started failing all of a sudden but I have resolved the problem by updating node-sass to version 6.0.1.

            Source https://stackoverflow.com/questions/70199030

            QUESTION

            Deps File Missing for Dotnet 6 Integration Tests
            Asked 2022-Feb-17 at 21:19

            Before I start, I've tried all suggestions from the following and none work:

            Integration testing ASP.NET Core with .NET Framework - can't find deps.json

            https://zimmergren.net/unable-to-find-deps-json-dotnet-azure-devops/

            So I'm trying to write some integration tests for dotnet 6. However, my WebApplicationFactory throws the following error:

            System.InvalidOperationException: Can't find '/repos/subscription-info-api/tests/SubscriptionInfoApi.Tests.Integration/bin/Debug/net6.0/...

            System.InvalidOperationException Can't find '/repos/subscription-info-api/tests/SubscriptionInfoApi.Tests.Integration/bin/Debug/net6.0/testhost.deps.json'. This file is required for functional tests to run properly. There should be a copy of the file on your source project bin folder. If that is not the case, make sure that the property PreserveCompilationContext is set to true on your project file. E.g 'true'. For functional tests to work they need to either run from the build output folder or the testhost.deps.json file from your application's output directory must be copied to the folder where the tests are running on. A common cause for this error is having shadow copying enabled when the tests run. at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory1.EnsureDepsFile() at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory1.EnsureServer() at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory1.CreateDefaultClient(DelegatingHandler[] handlers) at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory1.CreateDefaultClient(Uri baseAddress, DelegatingHandler[] handlers) at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory1.CreateClient(WebApplicationFactoryClientOptions options) at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory1.CreateClient() at SubscriptionInfoApi.Tests.Integration.UnitTest1.Test1() in /repos/subscription-info-api/tests/SubscriptionInfoApi.Tests.Integration/UnitTest1.cs:line 14 at SubscriptionInfoApi.Tests.Integration.UnitTest1.Test1() in /repos/subscription-info-api/tests/SubscriptionInfoApi.Tests.Integration/UnitTest1.cs:line 16 at Xunit.Sdk.TestInvoker1.<>c__DisplayClass48_0.<b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 264 --- End of stack trace from previous location --- at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func1 asyncAction) in //src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48 at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in //src/xunit.core/Sdk/ExceptionAggregator.cs:line 90

            My actual test code is extremely simple:

            ...

            ANSWER

            Answered 2021-Nov-18 at 21:03

            You are probably targeting the wrong namespace for Program in your test file (like I was).

            I had to add the following at the end of my Program.cs file (last line) to make it visible to my test projects needing it:

            Source https://stackoverflow.com/questions/69991983

            QUESTION

            Azure, .Net, Cobertura - ##[warning]Multiple file or directory matches were found
            Asked 2022-Feb-16 at 10:41

            Hi i am trying to get code coverage with .net5 in azure pipeline.

            Run tests (not entire file)

            ...

            ANSWER

            Answered 2021-Aug-25 at 08:52

            Please replace your PublishCodeCoverageResults with following steps:

            Source https://stackoverflow.com/questions/68919661

            QUESTION

            C# WASM without Blazor
            Asked 2022-Jan-30 at 14:27

            I want to be able to call C# code from JavaScript. The mono project used to have a WASM SDK that you could download from their old Jenkins server, but that is no longer public. Existing docs tend to point toward those builds. The Azure Devops builds do not include this SDK. A few messages I've seen on their Github account indicate that they are now focusing on the .NET 6 for WASM. I do not wish to use the Blazor components. Is there a way in .NET 6 to build a minimally sized WASM binary without the Blazor UI?

            ...

            ANSWER

            Answered 2021-Aug-26 at 01:25

            Yes it's absolutely possible. Blazor does not have a monopoly on C#/WASM and it's far from clear that it's going to wind up being the best long term option (and a lot of evidence it's not).

            I recommend starting with the Uno WASM Bootstrap. https://github.com/unoplatform/Uno.Wasm.Bootstrap

            Source https://stackoverflow.com/questions/68927533

            QUESTION

            Azure DevOps Build pipeline `npm install` failing on node-gyp
            Asked 2021-Dec-20 at 12:31

            We have a CD/CI Azure Devops build pipeline that has started failing for nodejs/node-gyp.

            • error gyp info using node-gyp@3.8.0
            • error gyp info using node@16.13.0 | win32 | x64

            Nothing about our build pipeline has changed, the pool we use is:

            ...

            ANSWER

            Answered 2021-Dec-13 at 09:42

            Azure auto updated the version of node it was using, pushing the required version of node-gyp forward too, this lead to all of our builds failing. The versions it pushed to were:

            • npm@8.1.0
            • node@v16.13.0

            Add task: NodeTool@0 to set the Node version to the last passed version which for us was:

            • npm@6.14.15
            • node@14.18.1

            The end code looks like this:

            Source https://stackoverflow.com/questions/70332595

            QUESTION

            How can I suppress or resolve "info: detecting host provider for..." in Git?
            Asked 2021-Nov-25 at 13:09

            I'm getting the following output when executing a fetch / pull via a powershell script:

            info: detecting host provider for '[devops site address]'...

            Normally, this wouldn't be an issue, however, Azure DevOps sees this output as an error and labels the release stage as such. Is there a way I can either suppress this output, or resolve it via GIT?

            The remote location for the repository is an on-prem version of DevOps.

            Thanks!

            ...

            ANSWER

            Answered 2021-Nov-25 at 13:09

            This comes indeed from the GCM used by Git.
            You can either downgrade to Git 2.32, or wait for the recently released Git-Credential-Manager-Core v2.0.603, which does remove those messages.

            Said release is not yet packaged with the latest Git for Windows, like the recent 2.34.0, but expect it in 2.34.1.

            A set GCM_PROVIDER=generic could help too.

            Update Nov. 25th, 2021: Git for Windows 2.34.1 has been released, and it does include Git Credential Manager Core v2.0.605.12951.

            That GCM 2.0.605 includes "Remove noisy messages during auto-detection" (#492, #494).

            Source https://stackoverflow.com/questions/69681452

            QUESTION

            Azure Devops - Hosted pool - ubuntu latest - How do i get ubuntu-latest to have the latest visual studio build tools (preview 2022)?
            Asked 2021-Nov-05 at 14:04

            Our azure devops pipelines are configured to use hosted ubuntu-latest

            I am using Azure Functions that require the package: packages/microsoft.net.sdk.functions/4.0.0 The hosted ubuntu latest is throwing non compatible framework version error.

            ...

            ANSWER

            Answered 2021-Nov-05 at 14:04

            use this in your pipeline definition:

            Source https://stackoverflow.com/questions/69733179

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install devops

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/BookStackApp/devops.git

          • CLI

            gh repo clone BookStackApp/devops

          • sshUrl

            git@github.com:BookStackApp/devops.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular DevOps Libraries

            ansible

            by ansible

            devops-exercises

            by bregman-arie

            core

            by dotnet

            semantic-release

            by semantic-release

            Carthage

            by Carthage

            Try Top Libraries by BookStackApp

            BookStack

            by BookStackAppPHP

            api-scripts

            by BookStackAppJavaScript

            system-cli

            by BookStackAppPHP

            cli

            by BookStackAppPHP

            hacks

            by BookStackAppPHP