Strona głównaUżytkownik

Krzysztof-M | użytkownik

Krzysztof-M
Krzysztof-M
317,05
1648 dni, 13 godzin, 16 minut temu
13 grudnia, 2016
dotnetomaniak.pl

When you create a build pipeline you must sometime decide at runtime whether run some code or not. One of the options for this is output variables. It enables you to set a variable in one job and use this variable in the next job.

Tagi: Azure DevOps
Źródło: thecodemanual.pl
Dziel się z innymi:
Cross stage variables (almost avialable) in Azure DevOps · The Code Manual

Narzędzia 1646 dni, 18 godzin, 30 minut temu Krzysztof-M 22 źrodło rozwiń

Nowadays with Kubernetes being so popular, building a Docker image is a must thing for CI/CD pipeline. For this kind of pipelines, an artifact is not a simple zip file wich compiled application, but a Docker image pushed to container registry. There is plenty of benefits of this approach but there is also price for this. We need to handle this in our pipelines. Hopefully, this price is not high. And we will explore today how we can build a Docker image for our dotnet core web app on Azure DevOps.DOCKERFI...

Źródło: thecodemanual.pl
Dziel się z innymi:
How to build docker image on Azure DevOps? · The Code Manual

Narzędzia 1662 dni, 18 godzin, 22 minuty temu Krzysztof-M 25 źrodło rozwiń

Last time we created a gated check-in build for .NET Core app. It works very well, but we did there one thing which is in general a bad practice in our proficiency. We duplicated build steps for building and testing .NET Core app. We can do better than that, we can use templates. Following the documentation: Templates let you define reusable content, logic, and parameters. Templates function in two ways. You can insert reusable content with a template or you can use a template to control what is allowed...

Źródło: thecodemanual.pl
Dziel się z innymi:
Build templates on Azure DevOps · The Code Manual

Narzędzia 1680 dni, 5 godzin, 4 minuty temu Krzysztof-M 23 źrodło rozwiń

Standard CI build checks integrity of committed code after merge. This approach can lead to a state when code is not deployable due to failing tests or even failing compilation. Gated check-in helps to protect the integrity by verifying state before the merge. In that way, you can protect your master branch and avoid build breaks. In that way, you can ensure that your master branch is always deployable (what is crucial in GitHub flow) and you will not interrupt your colleagues with your obvious mistakes....

Źródło: thecodemanual.pl
Dziel się z innymi:
Gated check-in build on Azure DevOps for .NET Core app · The Code Manual

Narzędzia 1687 dni, 18 godzin, 17 minut temu Krzysztof-M 36 źrodło rozwiń

The goal of Cache@2 task is improving build performance by caching files between pipeline runs. It supports multiple types of packages likeBundler gemsnpm packagesYarn packagesNuGet packagesMaven artifactsGradle artifactsccache artifacts Further, we will focus on caching NuGet packages however in a similar manner we can configure this task for other types.Locking dependencies Before we configure cache task we need to lock dependencies to create packages.lock.json file as we need that file to set a prop...

Źródło: thecodemanual.pl
Dziel się z innymi:
Caching (not only) NuGet packages on Azure DevOps · The Code Manual

Narzędzia 1702 dni, 17 godzin, 54 minuty temu Krzysztof-M 36 źrodło rozwiń

In my previous post, I presented how we can deploy multiple visual studio database projects using Fake build tool. Here, I will present another option which is possible with version 5.19.0. This version has a new module called Fake.Sql.SqlPackage, which is a redesign of previous Fake.Sql.DacPac module. The reason, why the previous module needed redesign, it was a missing option (from my point of view crucial option) - publish profiles. I raised that point on GitHub here and solved it with this pull requ...

Źródło: thecodemanual.pl
Dziel się z innymi:
DB deployments with Fake.Sql.SqlPackage

Narzędzia 1778 dni, 17 godzin, 45 minut temu Krzysztof-M 45 źrodło rozwiń

This story has begun quite long ago. I got a chance to work on projects without the automatic deployment process. It was strange a bit because we had deployments process for both front-end and back-end projects, but not for databases. For databases, we were generating SQL scripts from Visual Studio, and then we executed them in our Test environment. This was a perfect place to save our time and FAKE did the right job here. We use Visual Studio SQL Server DB projects to handle SQL scripts. And exactly th...

Źródło: thecodemanual.pl
Dziel się z innymi:
DB deployments with FAKE tool · The Code Manual

Narzędzia 1789 dni, 17 godzin, 48 minut temu Krzysztof-M 81 źrodło rozwiń

IT emigration to the USA - FSharp and D3.js shows you where people goes 10 Jan 2017 | Category: Programming | Tag: F#, D3.js I heard many times about people going to the USA to live and work there. For some people, it stills revealed as the best plan for life and the best country to live. However, it is not an easy thing. A company must to request for you and organise a visa, mostly H-1B and pay for it. This process, by itself nature takes some time and requires you and your future company to pay a...

Tagi: F#
Dziel się z innymi:
IT emigration to the USA - FSharp and D3.js shows you where people goes

Inne 2850 dni, 9 godzin, 21 minut temu Krzysztof-M 113 źrodło rozwiń

FSharp helps you find duplicates in your project file 03 Jan 2017 | Category: Programming | Tag: F# On my daily work, I deal with a complex solution counting more than 100 projects. As probably like the most of you, we have branches dedicated to production, testing and development. In such environment, it is a normal thing that you have to merge your changes from one branch to another. And sometimes, not everything will go smoothly. Then, when someone overwrites merged changes, roll back becomes prob...

Tagi: F#
Dziel się z innymi:
FSharp helps you find duplicates in your project file

Narzędzia 2860 dni, 8 godzin, 31 minut temu Krzysztof-M 68 źrodło rozwiń

Z nieistniejącego jeszcze cyklu: pytania algorytmiczne oraz struktury danych u gigantów doliny krzemowej: Google, Amazon, Microsoft etc. Pamięć podręczna cache to pamięć o bardzo szybkim dostępie, której jest bardzo mało. Tworząc procesor twórcy implementują jeden z algorytmów do zarządzania pamięcią, który decyduje, który element z pamięci ma wylecieć, aby utworzyć miejsce dla nowego elementu.

Tagi: algorytmy
Źródło: blog.soltysiak.it
Dziel się z innymi:
Algorytm LFU dla pamięci cache – rozwiązanie w stałym czasie – O(1) – Soltys Blog

Sztuka programowania 2872 dni, 15 godzin, 48 minut temu Paweł Sołtysiak 130 źrodło rozwiń

How to report your SQL - FSharp and XPlot make it easy 26 Dec 2016 | Category: Programming | Tag: F#, SQL It's a time to go further. Recently we modified SqlProfilerTraceAnalyzer by adding different ways of showing recorded trace. Today we'll do something even better - we'll generate an HTML page with charts showing count, the total and the average time for our SQL. After that, we'll add a table containing information about our store procedures. Last time we used F# Charting, but today we'll take a...

Tagi: F#
Dziel się z innymi:
How to report your SQL - FSharp and XPlot make it easy

Inne 2864 dni, 18 godzin, 3 minuty temu Krzysztof-M 73 źrodło rozwiń

How to show your SQL19 Dec 2016 | Category: Programming | Tag: F#, SQL Last time we did a good job. We tracked store procedures hitting our server and we printed some details to the console. This was good, but this is not the end of what we can do. The first version contained hard-coded file name used to extract data and we only put the result on the console. Today we'll change this hard-coded file to a parameter and we add printing result to the file and to the chart.

Tagi: F#, SQL
Dziel się z innymi:
How to show your SQL

Inne 2874 dni, 17 godzin, 58 minut temu Krzysztof-M 104 źrodło rozwiń

How to trace your SQL12 Dec 2016 | Category: Programming | Tag: F#, SQL Have you ever thought how many store procedures your code is calling? Have you tracked them to find duplicate calls? Maybe there is a place which could be optimized but going through the code without information what procedure you are looking for is difficult or at least time consuming. There is probably a many ways to do that but here you'll find a way with F#.

Tagi: F#, SQL
Dziel się z innymi:
How to trace your SQL

Inne 2881 dni, 17 godzin, 56 minut temu Krzysztof-M 93 źrodło rozwiń