-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
1,730 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
- name: Update iroh-relay node | ||
hosts: derper | ||
become: yes | ||
|
||
tasks: | ||
- name: Fetch iroh-relay binary | ||
get_url: | ||
url: https://vorc.s3.us-east-2.amazonaws.com/iroh-relay-linux-amd64-{{ relay_version }} | ||
mode: '0755' | ||
force: yes | ||
dest: /usr/local/bin/iroh-relay | ||
- name: Allow ports | ||
shell: | ||
cmd: sudo setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/iroh-relay | ||
- name: Make sure iroh-relay is started | ||
ansible.builtin.systemd: | ||
state: restarted | ||
enabled: yes | ||
name: iroh-relay |
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,13 @@ | ||
# Keep GitHub Actions up to date with GitHub's Dependabot... | ||
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot | ||
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
groups: | ||
github-actions: | ||
patterns: | ||
- "*" # Group all Actions updates into a single larger pull request | ||
schedule: | ||
interval: weekly |
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,18 @@ | ||
## Description | ||
|
||
<!-- A summary of what this pull request achieves and a rough list of changes. --> | ||
|
||
## Breaking Changes | ||
|
||
<!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> | ||
|
||
## Notes & open questions | ||
|
||
<!-- Any notes, remarks or open questions you have to make about the PR. --> | ||
|
||
## Change checklist | ||
|
||
- [ ] Self-review. | ||
- [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. | ||
- [ ] Tests if relevant. | ||
- [ ] All breaking changes documented. |
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,43 @@ | ||
# Run tests using the beta Rust compiler | ||
|
||
name: Beta Rust | ||
|
||
on: | ||
schedule: | ||
# 06:50 UTC every Monday | ||
- cron: '50 6 * * 1' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: beta-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
IROH_FORCE_STAGING_RELAYS: "1" | ||
|
||
jobs: | ||
tests: | ||
uses: './.github/workflows/tests.yaml' | ||
with: | ||
rust-version: beta | ||
notify: | ||
needs: tests | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Extract test results | ||
run: | | ||
printf '${{ toJSON(needs) }}\n' | ||
result=$(echo '${{ toJSON(needs) }}' | jq -r .tests.result) | ||
echo TESTS_RESULT=$result | ||
echo "TESTS_RESULT=$result" >>"$GITHUB_ENV" | ||
- name: Notify discord on failure | ||
uses: n0-computer/discord-webhook-notify@v1 | ||
if: ${{ env.TESTS_RESULT == 'failure' }} | ||
with: | ||
severity: error | ||
details: | | ||
Rustc beta tests failed | ||
See https://github.com/n0-computer/iroh/actions/workflows/beta.yaml | ||
webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }} | ||
|
Oops, something went wrong.