Add job dependencies to haproxy-statsd

haproxy-statsd uses opendevorg/python-base already. Add that to its
job dependencies and make sure it triggers on updates to python-base.

Update the FROM line to be fully qualified.

Change-Id: I9c8e8094f5570bf44076915610cd1be6d95ed326
This commit is contained in:
Monty Taylor 2019-10-23 17:09:33 +09:00
parent ccaf54c866
commit 99c3fbff78
2 changed files with 10 additions and 3 deletions

View File

@ -148,6 +148,7 @@
# Duplicate in the run-gitea job
files: &haproxy-statsd_files
- docker/haproxy-statsd/.*
- docker/python-base/.*
- job:
name: system-config-upload-image-haproxy-statsd
@ -1108,7 +1109,10 @@
soft: true
- name: system-config-build-image-gerrit-base
soft: true
- system-config-build-image-haproxy-statsd
- system-config-build-image-haproxy-statsd:
dependencies:
- name: system-config-build-image-python-base
soft: true
- system-config-build-image-python-base
- system-config-build-image-python-builder
gate:
@ -1173,7 +1177,10 @@
soft: true
- name: system-config-upload-image-gerrit-base
soft: true
- system-config-upload-image-haproxy-statsd
- system-config-upload-image-haproxy-statsd:
dependencies:
- name: system-config-upload-image-python-base
soft: true
- system-config-upload-image-python-base
- system-config-upload-image-python-builder
promote:

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM opendevorg/python-base
FROM docker.io/opendevorg/python-base
COPY haproxy-statsd.py /usr/local/bin
RUN pip install statsd