-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(#6505): Update version snapshot after building containers
- Loading branch information
1 parent
daa44fe
commit 457bf9e
Showing
1 changed file
with
37 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,4 +78,41 @@ jobs: | |
--tower-workspace-id ${{ secrets.TOWER_WORKSPACE_ID }} \ | ||
--singularity | ||
- name: Bump Versions | ||
env: | ||
NFT_DIFF: "pdiff" | ||
NFT_DIFF_ARGS: "--line-numbers --width 120 --expand-tabs=2" | ||
SENTIEON_LICSRVR_IP: ${{ secrets.SENTIEON_LICSRVR_IP }} | ||
SENTIEON_AUTH_MECH: "GitHub Actions - token" | ||
run: | | ||
# use "docker_self_hosted" if it runs on self-hosted runner and matrix.profile=docker | ||
if [ "${{ matrix.profile }}" == "docker" ]; then | ||
PROFILE="docker_self_hosted" | ||
else | ||
PROFILE=${{ matrix.profile }} | ||
fi | ||
NFT_WORKDIR=~ \ | ||
nf-test test \ | ||
--profile=${{ matrix.profile }} \ | ||
--tap=test.tap \ | ||
# --ci \ | ||
--verbose \ | ||
--only-changed \ | ||
--shard ${{ matrix.shard }}/${{ env.TOTAL_SHARDS }} \ | ||
--filter ${{ matrix.filter }} \ | ||
--follow-dependencies \ | ||
--tag version \ | ||
--update-snapshot | ||
- name: Commit & push version bumps | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "nf-core-bot" | ||
git config push.default upstream | ||
git add . | ||
git status | ||
git commit -m "[automated] Bump versions snapshot" | ||
git push | ||
# TODO Build from Dockerfiles |