Skip to content

Update requirements and documentation #14

Update requirements and documentation

Update requirements and documentation #14

Workflow file for this run

---
# Copyright 2023 Cloudera, Inc. All Rights Reserved.
#
# 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.
name: Validate Pull Request
on:
pull_request:
branches:
- 'release/**'
- 'devel'
workflow_dispatch:
jobs:
validate-base:
uses: ./.github/workflows/validate_image.yml
with:
PROFILE: base
validate-profiles:
needs: validate-base
uses: ./.github/workflows/validate_image.yml
strategy:
fail-fast: false
matrix:
ee_profile: ["aws", "azure", "gcp", "full"]
with:
PROFILE: ${{ matrix.ee_profile }}
record:
needs: validate-profiles
runs-on: ubuntu-latest
steps:
# See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
- name: Save PR number
env:
PR_NUMBER: ${{ github.event.number }}
run: |
mkdir -p ./pr
echo $PR_NUMBER > ./pr/pr_number
- name: Upload the PR number
uses: actions/upload-artifact@v3
with:
name: pr_number
path: pr/