-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-executors-metrics
- Loading branch information
Showing
12 changed files
with
106 additions
and
32 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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Push changelog to Seqera Docs | ||
on: | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
inputs: | ||
release_name: | ||
description: 'Release version (e.g. 1.0.0)' | ||
required: true | ||
release_body: | ||
description: 'Release changelog content' | ||
required: true | ||
|
||
jobs: | ||
update-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Clone seqeralabs/docs | ||
run: | | ||
git clone https://github.com/seqeralabs/docs.git seqeralabs-docs | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create changelog file | ||
run: | | ||
mkdir -p seqeralabs-docs/changelog/wave | ||
cat << EOF > seqeralabs-docs/changelog/wave/${{ github.event.release.name || inputs.release_name }}.mdx | ||
--- | ||
title: Wave ${{ github.event.release.name || inputs.release_name }} | ||
date: $(date +%Y-%m-%d) | ||
tags: [wave] | ||
--- | ||
${{ github.event.release.body || inputs.release_body }} | ||
EOF | ||
- uses: actions/create-github-app-token@v1 | ||
id: generate-token | ||
with: | ||
app-id: ${{ secrets.DOCS_BOT_APP_ID }} | ||
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }} | ||
owner: seqeralabs | ||
repositories: docs | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
branch-token: ${{ steps.generate-token.outputs.token }} | ||
path: seqeralabs-docs | ||
commit-message: "Changelog: Wave ${{ github.event.release.name || inputs.release_name }}" | ||
title: "Changelog: Wave ${{ github.event.release.name || inputs.release_name }}" | ||
body: | | ||
This PR adds the changelog for Wave ${{ github.event.release.name || inputs.release_name }} to the Seqera documentation. | ||
This is an automated PR created from the Wave repository. | ||
branch: changelog-wave-${{ github.event.release.name || inputs.release_name }} | ||
base: master | ||
delete-branch: true |
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 |
---|---|---|
|
@@ -37,3 +37,6 @@ deployment-url.txt | |
tsp-output/ | ||
node_modules/ | ||
package-lock.json | ||
|
||
# Seqera Docs clone | ||
seqeralabs-docs |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,7 @@ import spock.lang.Specification | |
|
||
import java.time.Duration | ||
|
||
import dev.failsafe.FailsafeException | ||
import groovy.util.logging.Slf4j | ||
|
||
/** | ||
* | ||
* @author Paolo Di Tommaso <[email protected]> | ||
|
@@ -65,8 +63,8 @@ class RetryableTest extends Specification { | |
when: | ||
retryable.apply(()-> {throw new IOException("Oops failed!")}) | ||
then: | ||
def e = thrown(FailsafeException) | ||
e.cause instanceof IOException | ||
def e = thrown(IOException) | ||
e.message == 'Oops failed!' | ||
} | ||
|
||
def 'should validate config' () { | ||
|