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

fix: APL-356 git url encoding in otomi-tasks #1808

Merged
merged 6 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:

# Reading gitea credentials
GITEA_USERNAME=$(cat /etc/gitea-credentials/username)
GITEA_PASSWORD=$(cat /etc/gitea-credentials/password)
GITEA_PASSWORD=$(cat /etc/gitea-credentials/password | jq -s -R -r @uri )

# Getting the full repository url
export fullRepoUrl=$(params["repoUrl"])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
git config --global --add safe.directory '*'
# Reading gitea credentials
GITEA_USERNAME=$(cat /etc/gitea-credentials/username)
GITEA_PASSWORD=$(cat /etc/gitea-credentials/password)
GITEA_PASSWORD=$(cat /etc/gitea-credentials/password | jq -s -R -r @uri )

# Parsing the repo url
export fullRepoUrl=$(params["repoUrl"])
Expand Down
2 changes: 1 addition & 1 deletion charts/otomi-pipelines/templates/tekton-otomi-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
git config --global --add safe.directory '*'
# Reading gitea credentials
GITEA_USERNAME=$(cat /etc/gitea-credentials/username)
GITEA_PASSWORD=$(cat /etc/gitea-credentials/password)
GITEA_PASSWORD=$(cat /etc/gitea-credentials/password | jq -s -R -r @uri )

# Parsing the repo url
export fullRepoUrl=$(params["repoUrl"])
Expand Down