Comment by Giulio Vian on How can a test function be skipped on Github Actions?
do you want to skip a whole step of the build (then conditionals is the answer) or what? what you do in the build: you start a test runner for an entire suite?
View ArticleComment by Giulio Vian on How can I update AssemblyVersion number in...
I usually recommend GitVersion so "best way" is a bit too opinionated IMHO.
View ArticleComment by Giulio Vian on Create Azure Service Principal for Service App...
the error Application with identifier '' was not found in the directory seems to me that you are passing the wrong id (they are all similar, what a shame) I updated my answer in case it helps BTW I...
View ArticleComment by Giulio Vian on Azure DevOps Pipeline is not copying or deploying...
Have you checked the Output folders of your projects? It may be that they use custom path for those build configurations
View ArticleComment by Giulio Vian on Automating a FluentMigrator Rollback on Azure Devops
if you tie the migration ids to code ids (e.g. commit hashes) than you have a (relatively) easy way of matching them. Another way could be scanning version control history (e.g. git log) to find the...
View ArticleComment by Giulio Vian on How to trigger CodePipeline for GitHub pull...
I bet the scenario is to implement a validation check on the PR by merging the code locally in the pipeline and running a whole set of checks and tests. If the build fails, the PR is automatically...
View ArticleComment by Giulio Vian on How should I trigger one pipeline at the end of...
Is the build pipeline publishing any artifact using the PublishPipelineArtifact task?
View ArticleComment by Giulio Vian on How to build a docker image with RSA key as build...
I notice now that you have a spurious dash (-) before name. The YAML parser starts a new step and the Docker step never sees the environment variable
View ArticleComment by Giulio Vian on How to find a directory on code running on Azure...
careful with . (dot) vs _ (underscore) BUILD_SOURCESDIRECTORY => Environment var Build.SourcesDirectory => pipeline var in the case of C# code pick the _ (underscore) version
View ArticleComment by Giulio Vian on Is Selenium Grid 4 compatible with v3 clients?
thanks @vvv but I want to know the opposite: what happens to existing tests written for Selenium v3 when run on a Selenium v4 Grid.
View ArticleComment by Giulio Vian on Is Selenium Grid 4 compatible with v3 clients?
very interesting, thanks for the EdgeChromium tip
View ArticleComment by Giulio Vian on Looking for an Alternative to call a Target with...
They moved the content to learn.microsoft.com/en-us/archive/blogs/giuliov/… . I fixed the link but formatting isn't great. Hope it works for you.
View ArticleComment by Giulio Vian on question re terraform and github actions / secrets
Yours is worth an S.O. question in itself; shortly it depends. How important are those credentials, how many permissions the account have etc. For an hobbyist project GH secrets are fine, for an...
View ArticleAnswer by Giulio Vian for Set permissions for different namespaces in Azure...
Are you looking for the Security API page?You probably need to manage group membership using Graph API.The Get started page lists the libraries you can use and how to authenticate.
View ArticleAnswer by Giulio Vian for How to do Code Signing in Cloud?
The simple answer is: use cloud-based build services like Azure DevOps (ex VSTS) but keep at least one build server on premise to do the signing using your hardware token.Azure DevOps (ex Visual Studio...
View ArticleAnswer by Giulio Vian for Azure Build Pipeline Bash Script now setting build...
The $() syntax is evaluated by the Agent before bash sees it, while the $var is evaluated by bash. This is why ChangeSet is correctly assigned.The echo '##vso[task.setvariable...
View ArticleAnswer by Giulio Vian for Missing DNS validation record when using terraform...
The zone shouldn't have a final . ?resource "aws_route53_zone""idarth-hosted-zone" { name = "${var.dns_zone}."}Also on a similar scenario, I used a CNAME for the DNS record pointing to the CloudFront...
View ArticleAnswer by Giulio Vian for How can I deploy content to a static website in...
I would recommend a different approach: running an Azure DevOps agent with a static IP and/or inside the private VNet.Why I consider this a better choice:audit logs will be filled with addition and...
View ArticleAnswer by Giulio Vian for how to sort Data Sources in terraform based on...
The sort() function orders lexicographical and you have no simple key here.You can use filtering with some code like this (v0.12)locals { best_db_instance_class_key = "rds.pg.s1.small"...
View ArticleAnswer by Giulio Vian for Adding current iteration/sprint number to the build...
Iteration is not a unique value, so there is no simple answer.It depends how you determine which Iteration are you on and it may be different from one project to another, from one team to another.You...
View Article