From d2e71c8bd212d0933c74e4551235b7c92f91234a Mon Sep 17 00:00:00 2001 From: James McMullan Date: Tue, 9 Jan 2024 14:15:04 -0500 Subject: [PATCH] wip --- .../workflows/baremetal-regression-suite.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/baremetal-regression-suite.yml b/.github/workflows/baremetal-regression-suite.yml index bfb85f27d..c246536cc 100644 --- a/.github/workflows/baremetal-regression-suite.yml +++ b/.github/workflows/baremetal-regression-suite.yml @@ -31,18 +31,9 @@ jobs: - uses: actions/checkout@v3 with: - # ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 fetch-tags: true - # - name: Rebase - # if: github.event_name == 'pull_request' - # run: | - # git config user.email 'hpccsystems@lexisnexisrisk.com' - # git config user.name 'hpccsystems development' - # git rebase origin/${{ github.event.pull_request.base.ref }} - # git log --pretty=one -n 15 - - name: Extract Latest Tagged Version id: extract_version env: @@ -75,15 +66,6 @@ jobs: def getTagVersionForCmd(cmd): versionPattern = re.compile(r'.*([0-9]+\.[0-9]+\.[0-9]+).*') - # Echo git tag command - print('Running: ' + cmd) - - # Print current directory - print('Current directory: ' + os.getcwd()) - - # List files in current directory - print('Files in current directory: ' + str(os.listdir())) - # Get latest release version gitTagProcess = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True) (output, err) = gitTagProcess.communicate() @@ -124,6 +106,7 @@ jobs: return getTagVersionForCmd(findLatestBranchVer) branch_name = os.environ['BRANCH_NAME'] + print("Branch Name: " + branch_name) latestVersion = getLatestBranchVersion(branch_name) latestVersionURL = 'https://cdn.hpccsystems.com/releases/CE-Candidate-' + latestVersion + '/bin/platform/hpccsystems-platform-community_' + latestVersion + '-1jammy_amd64_withsymbols.deb'