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

git is not available in the image used by task ibm-pak. #3

Open
gomezrjo opened this issue Mar 30, 2024 · 1 comment
Open

git is not available in the image used by task ibm-pak. #3

gomezrjo opened this issue Mar 30, 2024 · 1 comment

Comments

@gomezrjo
Copy link

Add git to the image used by tas ibm-pak.

As part of the work done around CP4I, in order to be able to deploy Configurations used by App Connect Integration runtimes it is required to clone the repo that includes the source code of the integrations, but when trying to use the git command I got the following error:

/tekton/scripts/script-0-xkwf7: line 12: git: command not found

As a reference, this is the script I used in my task:

            echo "Entering test script."
            cd workspace
            git clone https://github.ibm.com/joel-gomez/cp4i-ace-artifacts.git
            echo "Test has been completed."
@rampadc
Copy link
Contributor

rampadc commented Apr 5, 2024

Hey @gomezrjo, can you have a look at using ibm-pak-0.3 task? It now includes git, unzip, zip and I updated the ibm-pak CLI to v1.14.0 as well. Your cluster should automatically pull the new task down into the default namespace. If it's not there, you can import this YAML in directly https://github.com/cloud-native-toolkit/deployer-tekton-tasks/blob/main/tasks/ibm-pak/0.3/ibm-pak.yaml

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