Merge ~gary-wzl77/snappy-hwe-snaps/+git/jenkins-jobs:ssh_username into ~snappy-hwe-team/snappy-hwe-snaps/+git/jenkins-jobs:master

Proposed by Gary.Wang
Status: Merged
Approved by: Alfonso Sanchez-Beato
Approved revision: 3a4aae3adb70c9b21756500559f10210e211d349
Merged at revision: 1e930214bfccd46bd42cdf77b6b0d29196189aca
Proposed branch: ~gary-wzl77/snappy-hwe-snaps/+git/jenkins-jobs:ssh_username
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/jenkins-jobs:master
Diff against target: 13 lines (+1/-1)
1 file modified
jobs/snap/snap-test.sh (+1/-1)
Reviewer Review Type Date Requested Status
System Enablement Bot continuous-integration Approve
Alfonso Sanchez-Beato Approve
Simon Fels Approve
Review via email: mp+334660@code.launchpad.net

Commit message

Fix the repo fetching failure when running snap-test.sh

Our CI doesn't behave very well in these days. One reason
lies in the ongoing lab or infrastructure move from 47F to
46F in Taipei office last week. That seems to be fixed by
IS team. Another reason is that something went wrong with
private repos fetching.
This PR fixes the latter one.

Description of the change

Fix the repo fetching failure when running snap-test.sh

Our CI doesn't behave very well in these days. One reason
lies in the ongoing lab or infrastructure move from 47F to
46F in Taipei office last week. That seems to be fixed by
IS team. Another reason is that something went wrong with
private repos fetching.
This PR fixes the latter one.

To post a comment you must log in.
Revision history for this message
Simon Fels (morphis) wrote :

LGTM

review: Approve
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

LGTM

review: Approve
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/jobs/snap/snap-test.sh b/jobs/snap/snap-test.sh
2index 7a7445b..95fa694 100644
3--- a/jobs/snap/snap-test.sh
4+++ b/jobs/snap/snap-test.sh
5@@ -83,7 +83,7 @@ go build github.com/snapcore/spread/cmd/spread
6 mkdir /build/bin
7 cp spread /build/bin
8
9-git clone --depth 1 -b $CI_BRANCH git+ssh://git.launchpad.net/~$LAUNCHPAD_TEAM/$LAUNCHPAD_PROJECT/+git/$CI_REPO /build/src
10+git clone --depth 1 -b $CI_BRANCH git+ssh://$BOT_USERNAME@git.launchpad.net/~$LAUNCHPAD_TEAM/$LAUNCHPAD_PROJECT/+git/$CI_REPO /build/src
11 cd /build/src
12
13 # Copy any stage results from previous generic-build-snap-worker builds

Subscribers

People subscribed via source and target branches

to all changes: