Merge lp:~thedac/ubuntu-openstack-ci/do-checkout-layered into lp:ubuntu-openstack-ci

Proposed by David Ames
Status: Needs review
Proposed branch: lp:~thedac/ubuntu-openstack-ci/do-checkout-layered
Merge into: lp:ubuntu-openstack-ci
Diff against target: 17 lines (+0/-7)
1 file modified
run/job-parts/osci_gerrit_common.sh (+0/-7)
To merge this branch: bzr merge lp:~thedac/ubuntu-openstack-ci/do-checkout-layered
Reviewer Review Type Date Requested Status
Ubuntu OpenStack CI Team Pending
Review via email: mp+378186@code.launchpad.net

Commit message

Do checkout layered charms

Description of the change

Do checkout layered charms

We need to check the commit message of all charms for func-test-pr. As is the
code does not checkout layered charms. This change does the checkout as well.

To post a comment you must log in.
Revision history for this message
David Ames (thedac) wrote :

For an example of what happens see:

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_smoke/openstack/charm-keystone-ldap/703696/3/14356/consoleText.test_charm_func_smoke_15956.txt

====> f_openstack_get_zaza_github_func_test_pr <=======================
fatal: Cannot change to 'show': No such file or directory
No GitHub Func-Test-PR found...

Unmerged revisions

425. By David Ames

Do checkout layered charms

We need to check the commit message of all charms for func-test-pr. As is the
code does not checkout layered charms. This change does the checkout as well.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'run/job-parts/osci_gerrit_common.sh'
2--- run/job-parts/osci_gerrit_common.sh 2019-10-15 07:54:42 +0000
3+++ run/job-parts/osci_gerrit_common.sh 2020-01-28 17:20:20 +0000
4@@ -31,13 +31,6 @@
5 # Handle all use cases by all jobs to check out or clone a repo.
6 f_line $FUNCNAME
7
8- # No need to check out at all if working with a layerci built asset
9- if f_layerci_in_effect; then
10- f_set_base_name_from_gerrit_project
11- echo " . Not checking out repo for $BASE_NAME (${BRANCH-$GERRIT_PROJECT}). Layer CI is in effect."
12- return 0
13- fi
14-
15 # Detect repo approach and fetch/clone/branch the asset
16 if [[ ! -z "$GIT_REPO" ]]; then
17 f_git_checkout_direct

Subscribers

People subscribed via source and target branches