Skip to content

feat: dsp dcp tck update #6191

feat: dsp dcp tck update

feat: dsp dcp tck update #6191

Workflow file for this run

#################################################################################
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://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.
#
# SPDX-License-Identifier: Apache-2.0
#################################################################################
---
## This is a master test workflow that runs the verify.yaml workflow and the deployment-test.yaml workflow
name: Run-All-Tests
on:
push:
branches:
- main
- release/*
pull_request:
paths-ignore:
- docs/**
workflow_dispatch:
inputs:
publish:
description: "Publish snapshot"
required: false
type: boolean
default: false
workflow_call:
inputs:
publish:
description: "Publish snapshot"
required: false
type: boolean
default: false
schedule:
- cron: 0 3 * * 1 # run on 03:00 UTC every Monday
concurrency:
# cancel older running jobs on the same branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
verify:
permissions:
contents: write
uses: ./.github/workflows/verify.yaml
deployment-test:
permissions:
contents: read
uses: ./.github/workflows/deployment-test.yaml
upgradeability-test:
permissions:
contents: read
uses: ./.github/workflows/upgradeability-test.yaml
# this job really serves no other purpose than waiting for the other two test workflows
# in future iterations, this could be used as a choke point to collect test data, etc.
summary:
needs:
- verify
- deployment-test
- upgradeability-test
runs-on: ubuntu-latest
steps:
- name: 'Master test job'
run: echo "all test jobs have run by now"
publish-snapshot:
name: "Publish new snapshot"
needs: [ summary ]
permissions:
contents: write
if: ${{ (github.ref_name == 'main' || startsWith(github.ref_name, 'release/')) && (github.event_name == 'push' || github.event_name == 'schedule' || inputs.publish == true) }}
uses: ./.github/workflows/publish-new-snapshot.yaml
with:
dated_snapshot: ${{ github.event_name == 'schedule' }}
secrets:
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
ORG_GPG_PRIVATE_KEY: ${{ secrets.ORG_GPG_PRIVATE_KEY }}
ORG_GPG_PASSPHRASE: ${{ secrets.ORG_GPG_PASSPHRASE }}
CENTRAL_SONATYPE_TOKEN_USERNAME: ${{ secrets.CENTRAL_SONATYPE_TOKEN_USERNAME }}
CENTRAL_SONATYPE_TOKEN_PASSWORD: ${{ secrets.CENTRAL_SONATYPE_TOKEN_PASSWORD }}
SWAGGERHUB_API_KEY: ${{ secrets.SWAGGERHUB_API_KEY }}
SWAGGERHUB_USER: ${{ secrets.SWAGGERHUB_USER }}