Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to run mod1 pipeline. #2

Open
ismail-temiz opened this issue Jun 5, 2023 · 0 comments
Open

Not able to run mod1 pipeline. #2

ismail-temiz opened this issue Jun 5, 2023 · 0 comments

Comments

@ismail-temiz
Copy link

Hi, I have just started learning concourse on Pluralsight.

I am on the first demo where we set up our first pipeline with the following YAML file:

resources:
- name: source-code
  type: git
  source:
    uri: https://github.com/rseroter/pluralsight-concourse-dotnetcore.git
    branch: master
    
    
jobs:
  - name: compile-app
    plan:
    - get: source-code
    - task: first-task
      config: 
        platform: linux
        image_resource:
          type: docker-image
          source:
            repository: mcr.microsoft.com/dotnet/core/sdk
            tag: 2.2
        inputs:
        - name: source-code
        run:
            path: sh
            args:
            - -exec
            - |
              dotnet build ./source-code/pluralsight-concourse-dotnetcore.csproj
  - name: inspect-app
    plan:
    - get: source-code
      passed: [compile-app]
      trigger: true
    - task: first-task
      config:
        platform: linux
        image_resource:
          type: docker-image
          source: {repository: ubuntu}
        inputs:
        - name: source-code
        run:
            path: find
            args: [.]

I am able to create the pipeline with fly -t ps set-pipeline -c mod1-pipeline.yml -p mod1-pipeline no problem. However when I try to run the pipeline compile-app job fails with

selected worker: d9f010052786

Cloning into '/tmp/build/get'...

fatal: detected dubious ownership in repository at '/tmp/build/get'

To add an exception for this directory, call:


	git config --global --add safe.directory /tmp/build/get

Haven't been able to find a solution for this, any suggestions?

I am using MAC with Apple M1 Pro chip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant