Skip to content

Commit 1aa9091

Browse files
committed
Reduce verbosibility of copybara log.
Signed-off-by: Łukasz Dywicki <[email protected]>
1 parent 1a77e59 commit 1aa9091

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/copy.bara.sky

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sourceUrl = "ssh://[email protected]/code-house/maven-git-release-test.git"
1+
sourceUrl = "[email protected]:Code-House/maven-git-release-test.git"
22
destinationUrl = sourceUrl
33

44
core.workflow(

.github/workflows/copybara-pr.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
git config --global user.email "[email protected]"
2121
git config --global user.name "ConnectorIO Bot"
2222
git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "ssh://[email protected]:"
23-
git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "ssh://[email protected]:"
23+
git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "git://[email protected]:"
2424
env:
2525
BUILD_USER: x-access-token
2626
BUILD_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -35,15 +35,16 @@ jobs:
3535
path: bazel-bin/java/com/google/copybara/copybara_deploy.jar
3636
key: copybara
3737
- name: Call copybara
38+
# removed section
39+
# git config -l --global
40+
# echo $PATH
41+
# command -v git
42+
# export GIT_CURL_VERBOSE=1
43+
# export GIT_SSH_COMMAND=""
44+
# and copybara option --git-destination-url="https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/code-house/maven-git-release-test.git" \
3845
run: |
39-
git config -l --global
40-
echo $PATH
41-
command -v git
42-
export GIT_CURL_VERBOSE=1
4346
export GIT_SSH_COMMAND=""
4447
java -jar bazel-bin/java/com/google/copybara/copybara_deploy.jar \
4548
migrate .github/copy.bara.sky 3.1.x \
4649
${{ github.event.pull_request.number }} \
47-
--git-destination-url="https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/code-house/maven-git-release-test.git" \
48-
--last-rev ${{ github.event.pull_request.base.sha }} \
49-
--verbose
50+
--last-rev ${{ github.event.pull_request.base.sha }}

0 commit comments

Comments
 (0)