Skip to content

Add comment field to parameters #1414

Add comment field to parameters

Add comment field to parameters #1414

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
name: Traffic Ops and Traffic Vault Database Tests
env:
# alpine:3.13
ALPINE_VERSION: sha256:08d6ca16c60fe7490c03d10dc339d9fd8ea67c6466dea8d558526b1330a85930
on:
push:
paths:
- traffic_ops/app/db/**
- .github/actions/todb-tests/**
- .github/workflows/traffic.ops.database.yml
- traffic_ops_db/test/**
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
paths:
- traffic_ops/app/db/**
- .github/actions/todb-tests/**
- .github/workflows/traffic.ops.database.yml
- traffic_ops_db/test/**
jobs:
tests:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout
with:
fetch-depth: 0
uses: actions/checkout@master
- name: Run Traffic Ops Database Tests
run: ./.github/actions/todb-tests/entrypoint.sh
- name: Build And Copy Traffic Ops RPM
run: ./pkg traffic_ops_build && cp ./dist/traffic_ops-*.x86_64.rpm traffic_ops_db/test/docker/traffic_ops.rpm && cp ./dist/traffic_ops-*.x86_64.rpm traffic_ops/app/db/trafficvault/test/traffic_ops.rpm
- name: Run Traffic Ops Database Docker Tests
run: cd traffic_ops_db/test/docker/ && docker-compose up --build --exit-code-from trafficops-db-admin
- name: Run Traffic Vault Database Docker Tests
run: cd traffic_ops/app/db/trafficvault/test/ && docker-compose up --build --exit-code-from trafficvault-db-admin