-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from opencb/TASK-6879
TASK-6879 - Adapt GitHub Actions, CICD workflows and release scripts to new SDLC
- Loading branch information
Showing
9 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Pull request approve workflow | ||
name: TMP test-xetabase-branch | ||
run-name: 'Pull request approve workflow ${{ github.event.pull_request.head.ref }} -> ${{ github.event.pull_request.base.ref }} by @${{ github.actor }}' | ||
|
||
on: | ||
|
@@ -23,16 +23,16 @@ jobs: | |
- id: get_xetabase_branch | ||
name: "Get current branch for Xetabase from target branch" | ||
run: | | ||
if [ "$( git ls-remote https://[email protected]/opencb/opencga.git "TASK-6807" )" ] ; then | ||
echo "OPENCGA TASK-6807 branch"; | ||
if [ "$( git ls-remote https://[email protected]/opencb/opencga.git "TASK-6879" )" ] ; then | ||
echo "OPENCGA TASK-6879 branch"; | ||
fi | ||
if [ "$( git ls-remote https://[email protected]/zetta-genomics/opencga-enterprise.git "$input_branch" )" ] ; then | ||
echo "Here it is TASK-6807 branch"; | ||
fi | ||
chmod +x ./.github/workflows/scripts/get-xetabase-branch.sh | ||
echo "secrets.ZETTA_REPO_ACCESS_TOKEN: ${{ secrets.ZETTA_REPO_ACCESS_TOKEN }}" | tee -a ${GITHUB_STEP_SUMMARY} | ||
xetabase_branch=$(./.github/workflows/scripts/get-xetabase-branch.sh "TASK-6807" ) | ||
xetabase_branch=$(./.github/workflows/scripts/get-xetabase-branch.sh "TASK-6879" ) | ||
echo "__Xetabase ref:__ \"${xetabase_branch}\"" | tee -a ${GITHUB_STEP_SUMMARY} | ||
echo "xetabase_branch=${xetabase_branch}" >> $GITHUB_OUTPUT | ||
env: | ||
|
@@ -44,5 +44,5 @@ jobs: | |
uses: opencb/java-common-libs/.github/workflows/test-xetabase-workflow.yml@develop | ||
with: | ||
branch: ${{ needs.calculate-xetabase-branch.outputs.xetabase_branch }} | ||
task: TASK-6807 | ||
task: TASK-6879 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters