pipeline Questions

2

Given the following .gitlab-ci.yml: --- stages: - .pre - test - build compile-build-pipeline: stage: .pre script: [...] artifacts: paths: [".artifacts/build.yaml"] lint-source: ...
Swan asked 7/6, 2021 at 12:58

2

Solved

I am trying to oneHotEncode the categorical variables of my Pandas dataframe, which includes both categorical and continues variables. I realise this can be done easily with the pandas .get_dummies...
Steffens asked 13/2, 2017 at 12:38

3

Solved

I am trying to pipe an array of strings to write-host and explicitly use $_ to write those strings: 'foo', 'bar', 'baz' | write-host $_ However, it fails with: The input object cannot be boun...
Vasty asked 13/4, 2019 at 12:37

2

Solved

I am trying to set up a GitLab CI configuration that sends an email after a pipeline's job completes with a link of the artifacts to the upload site. The pipeline builds based upon pom.xml, then te...
Pasteurize asked 12/1, 2020 at 11:4

2

Solved

I'm building a pipeline with snakemake and using conda and singularity environments to ensure reproducibility. I run into an error where the text on my plots is replaced by rectangles After exper...
Basalt asked 25/2, 2020 at 19:8

3

Solved

I am running all my test cases and some of them get fail sometimes, pipeline detects it and fail the step and build. this blocks the next step to be executed (zip the report folder). I want to send...
Monologue asked 1/8, 2020 at 10:31

2

I have a task that creates a cache - task: Cache@2 inputs: key: 'sonarCache' path: $(SONAR_CACHE) cacheHitVar: CACHE_RESTORED displayName: Cache Sonar packages However, the cache got corrupte...

2

Solved

I am using an Array List to build a sequence of log items to later log. Works a treat, but the Add method emits the current index to the pipeline. I can address this by sending it to $null, like th...
Payton asked 10/7, 2019 at 7:37

2

I have switched my current video project from command prompt to PowerShell so that I can take full advantage of the Tee-Object for a multi output code. Currently, I have a version of my code worki...
Graphics asked 21/5, 2018 at 20:47

3

Solved

I am new to this, but I enherited a project, where runtime build is created with dockerfile and commands like this: # Build runtime image FROM microsoft/dotnet:2.2-aspnetcore-runtime-alpine RUN e...
Potful asked 16/8, 2022 at 13:24

1

I want to save a pipeline displayed with the set_config(display="diagram") command, see below: Is there a better way to do it than by taking a screenshot?
Treillage asked 14/1, 2022 at 17:2

1

I try to use configs in dag using "trigger w/config". def execute(**kwargs): dag_run = kwargs['dag_run'] start_date = dag_run.conf['start_dt'] if 'start_dt' in dag_run.conf.keys() el...
Buckish asked 30/3, 2022 at 9:8

11

I am new to working with Azure DevOps, I am trying to create a pipeline using Azure DevOps for deploying my terraform code onto AWS, for authentication I am aware that we can use service principles...
Yean asked 21/11, 2018 at 15:50

2

Solved

I was wondering how I can set the system path variables in the GitHub actions workflow. export "$PATH:$ANYTHING/SOMETHING:$AA/BB/bin"
Backchat asked 1/7, 2021 at 13:33

1

Solved

I was running the pipeline with a simple task to install the git and check the version by the following tasks. Everything was running well till the time I created another temporary pipeline with th...
Varnish asked 20/9, 2022 at 10:45

3

I have 2 workflows in my repository: name: First on: pull_request: branches: [ master ] jobs: test: name: test runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up G...
Labial asked 12/8, 2021 at 15:9

2

Solved

While reviewing a merge request on gitlab.com, there are times when I have to rebase before completing the merge. After pressing “Rebase” on gitlab, I have a specific pipeline step fails because i...
Crista asked 1/9, 2020 at 7:29

2

Solved

I am new to jq so if this is not a jq question or a json question please point me in the right direction. I am not sure of the correct terminology so it is making it hard for me to properly articul...
Waters asked 11/11, 2017 at 4:21

2

Solved

I have a need to run the "Secure" stage if one of the previous stages of INT was sucessfully passed. I tried with dependson and conditions but I can't find the solution.
Hardandfast asked 3/5, 2021 at 7:17

1

Solved

Is it possible to run the first two stages parallelly in Azure DevOps pipelines? By default, Each stage starts only after the preceding stage is complete unless otherwise specified via the dependsO...

1

Solved

https://tryfsharp.fsbolero.io/ printfn "Hello" works as expected without errors, however, using pipe operator "Hello" |> printfn The type 'string' is not compatible with t...
Animadvert asked 19/8, 2022 at 11:59

6

Solved

How do you send the output from one CmdLet to the next one in a pipeline as a complete array-object instead of the individual items in the array one at a time? The problem - Generic description As...
Krasnoff asked 30/4, 2015 at 16:35

8

I am trying to pickle a sklearn machine-learning model, and load it in another project. The model is wrapped in pipeline that does feature encoding, scaling etc. The problem starts when i want to u...
Signature asked 11/9, 2019 at 11:36

2

Solved

I'm looking on a way to trigger a Azure pipeline ONLY on successful (or attempted) pull request merge. Now I have : trigger: branches: include: - DEV steps: - script: FOO But this runs EVERY t...
Yelena asked 20/7, 2022 at 14:43

2

Solved

I'm new to Gitlab Pipelines and want to set up one for one of my Python projects. I'm using the docker GitLab-runner container with this Configuration file: version: '3' services: runner: contain...
Newhall asked 25/5, 2022 at 17:4

© 2022 - 2024 — McMap. All rights reserved.