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

Any Working Example this with codefresh #105

Open
moses-gangipogu opened this issue Mar 4, 2020 · 1 comment
Open

Any Working Example this with codefresh #105

moses-gangipogu opened this issue Mar 4, 2020 · 1 comment

Comments

@moses-gangipogu
Copy link

hi,

i am new to codefresh , and trying sub modules.

steps:
    get_git_token:
        title: Reading Github token
        stage: prepare
        image: codefresh/cli
        commands:
           - cf_export GITHUB_TOKEN=$(codefresh get context github --decrypt -o yaml | yq -y .spec.data.auth.password)
    main_clone:
        title: Cloning repository...
        stage: prepare
        type: git-clone
        arguments:
            repo: '${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}'
            git: eds_bitbucket
            revision: '${{CF_BRANCH}}'
    init_submodules:
        title: Init Submodules
        stage: prepare
        image: codefreshio/git-image:latest
        working_directory: ${{main_clone}} 
        environment:
              - CF_SUBMODULE_SYNC=true
              - CF_SUBMODULE_UPDATE_RECURSIVE=true

I tried this but does nothing

@kostis-codefresh
Copy link
Member

Hello @moses-gangipogu

Could you please provide the URL of the build that has the error?

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

2 participants