1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at
5 # http://www.apache.org/licenses/LICENSE-2.0
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 ########################################################################################
14 name: resource-orchestrator
15 summary: An image for OSM RO
17 OSM Resource Orchestrator image.
18 version: master_beta_1 # version format: <upstream-version>_<base-version>_<version>
28 chroot ${CRAFT_OVERLAY}
30 mkdir -p /app/storage/kafka
32 groupadd -g 1001 appuser
33 useradd -u 1001 -g 1001 -d /app appuser
34 chown -R appuser:appuser /app
37 source: https://osm.etsi.org/gerrit/osm/common.git
45 - PYTHONDONTWRITEBYTECODE: "1" # This does not work as expected, there is a bug and still not fixed.
46 # Workaround for conflicts related with the bug of PYTHONDONTWRITEBYTECODE
49 find "$CRAFT_PART_INSTALL" -name '*.pyc' -exec rm {} \;
54 - -lib/python3.10/site-packages/pip-23.2.1.dist-info/RECORD
55 - -lib/python3.10/site-packages/wheel-0.41.0.dist-info/RECORD
56 - -lib/python3.10/site-packages/charset_normalizer-3.1.0.dist-info/RECORD
60 source: https://osm.etsi.org/gerrit/osm/RO.git
80 - ./RO-SDN-onos_openflow
81 - ./RO-SDN-odl_openflow
82 - ./RO-SDN-floodlight_openflow
83 - ./RO-SDN-arista_cloudvision
84 - ./RO-SDN-juniper_contrail