~fnordahl/ubuntu-openstack-ci/bug-1733984

« back to all changes in this revision

Viewing changes to run/job-parts/build_prescribe.sh

  • Committer: Liam Young
  • Date: 2020-08-18 08:01:33 UTC
  • mfrom: (436.1.1 ubuntu-openstack-ci)
  • Revision ID: liam.young@canonical.com-20200818080133-rtpws2krpovelxnj
[gnuoy, r=admcleod] Ensure operator charms are built and deploy tests run

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
  "charm (built)"|"charm (classic)"|"interface")
19
19
      echo " . No build necessary for $CO_DIR"
20
20
      ;;
21
 
  "charm (source)"|"layer")
 
21
  "charm (source)"|"layer"|"charm (source operator)")
22
22
      # Layers are not built to deploy, only to test build success
23
23
      echo " . Need to build $CO_DIR"
24
24
      echo "CHARM_BUILD_NEEDED=True" > $WORKSPACE/prescribe_charm_build.properties
29
29
  "layer"|"interface")
30
30
      echo " . No deploy testing necessary for $CO_DIR"
31
31
      ;;
32
 
  "charm (built)"|"charm (classic)"|"charm (source)")
 
32
  "charm (built)"|"charm (classic)"|"charm (source)"|"charm (source operator)")
33
33
      echo " . Deploy testing necessary for $CO_DIR"
34
34
      echo "DEPLOY_TEST_NEEDED=True" > $WORKSPACE/prescribe_deploy_test.properties
35
35
      ;;