
* .../files/nodepool/scripts/prepare_node.sh: Add parameters for Python 3 and PyPy settings for use by the py3k-precise node type. * .../files/nodepool/scripts/prepare_node_py3k.sh: Wrapper to enable the Python 3 and PyPy support toggles in prepare_node.sh. * .../manifests/single_use_slave.pp: Add the Python 3 and PyPy support variables, passing them through to the Jenkins slave class. * .../templates/nodepool/nodepool.yaml.erb: Add a new node and image for py3k-precise in a suitably small quantity for initial testing. Change-Id: Id2438c17ea59ae9123a841fd0b348728c6467529
26 lines
745 B
Bash
Executable File
26 lines
745 B
Bash
Executable File
#!/bin/bash -xe
|
|
|
|
# Copyright (C) 2011-2014 OpenStack Foundation
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
#
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
HOSTNAME=$1
|
|
SUDO='false'
|
|
BARE='false'
|
|
PYTHON3='true'
|
|
PYPY='true'
|
|
|
|
./prepare_node.sh "$HOSTNAME" "$SUDO" "$BARE" "$PYTHON3" "$PYPY"
|