Skip to content

Commit

Permalink
Build-rpm action updates
Browse files Browse the repository at this point in the history
Required-githooks: true

Signed-off-by: Phil Henderson <phillip.henderson@intel.com>
  • Loading branch information
phender committed Oct 11, 2024
1 parent 94163e2 commit 007d69f
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/actions/build-rpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,22 @@ env:
JENKINS_URL: https://build.hpdd.intel.com/
DAOS_EMAIL: phil.henderson@intel.com
DAOS_FULLNAME: daos-stack
DISTRO: ${{ inputs.distro }}
DISTRO_REPOS: disabled
# DOCKER_BUILDKIT: 0
ARTIFACTS_URL: file:///scratch/job_repos/
MOCK_OPTIONS: --uniqueext=${{ github.run_id }}
PR_NUM: ${{ github.event.pull_request.number }}
# TODO -- this should be on stable, backed up storage, not /scratch
# yamllint disable-line rule:line-length
REPO_PATH: /scratch/job_repos/daos-stack/job/daos/job/PR-${{ github.event.pull_request.number }}/
REPO_FILE_URL: https://artifactory.dc.hpdd.intel.com/artifactory/repo-files/
RUN_ID: ${{ github.run_id }}
TARGET: ${{ inputs.distro }}
# keep VS Code's GHA linting happy
STAGE_NAME:
DISTRO_NAME:
DISTRO_VERSION:
CP_LEAP15_VERSION:
COMMIT_STATUS_DISTRO_VERSION:
FVERSION:
PR_NUM:
MOCK_OPTIONS:
RUN_ID:
DISTRO:
TARGET:

runs:
- name: Set variables
Expand Down Expand Up @@ -80,6 +77,13 @@ runs:
echo "STAGE_NAME=Build RPM on $DISTRO_NAME $DISTRO_VERSION" >> $GITHUB_ENV
echo "FVERSION=$FVERSION" >> $GITHUB_ENV
echo "COMMIT_STATUS_DISTRO_VERSION=$COMMIT_STATUS_DISTRO_VERSION" >> $GITHUB_ENV
echo "PR_NUM=${{ github.event.pull_request.number }}" >> $GITHUB_ENV
# TODO -- this should be on stable, backed up storage, not /scratch
echo "REPO_PATH=/scratch/job_repos/daos-stack/job/daos/job/PR-${PR_NUM}/" >> $GITHUB_ENV
echo "MOCK_OPTIONS=--uniqueext=${{ github.run_id }}" >> $GITHUB_ENV
echo "RUN_ID=${{ github.run_id }}" >> $GITHUB_ENV
echo "DISTRO=${{ inputs.distro }}" >> $GITHUB_ENV
echo "TARGET=${{ inputs.distro }}" >> $GITHUB_ENV
echo "COVFN_DISABLED=${{ inputs.covfn_disabled }}" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v4.1.1
Expand Down

0 comments on commit 007d69f

Please sign in to comment.