Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update master with latest releases #5172

Merged
merged 230 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
bbe3917
WithdrawalRequest: make sure h is non-identity
aniampio Aug 8, 2024
7722a70
RequestVerify: check if h is non-identity
aniampio Aug 8, 2024
6ea746e
Add test for check if h is identity in the verify_partial_blind_signa…
aniampio Aug 8, 2024
07de186
Coconut: add check if h is not identity in the prepare_blind_sign fun…
aniampio Aug 8, 2024
5743624
Add check for identity point in all required Coconut functions
aniampio Aug 8, 2024
eff725e
Run cargo fmt
aniampio Aug 8, 2024
29bfd54
Fix checks for non identity h in offline ecash
aniampio Aug 8, 2024
47a3c53
Run fmt in ecash files
aniampio Aug 12, 2024
96ead0b
Fix function input
aniampio Aug 12, 2024
4957d9d
Fix clippy
aniampio Aug 12, 2024
f86e088
bugfix: correctly paginate through 'search_tx' endpoint
jstuczyn Sep 26, 2024
894e0bd
Add more conversions for responses of authenticator messages (#4929)
neacsu Sep 26, 2024
fabd48b
Fix broken build after merge (#4937)
neacsu Sep 26, 2024
e08fc48
[DOCs/operators]: Release notes v2024.11-wedel (#4939)
serinko Sep 27, 2024
d7eecd4
decreased SOCKET_FAILURE_RESET
jstuczyn Sep 27, 2024
5e95992
introduced cli command to process an individual block
jstuczyn Sep 27, 2024
457c478
introduced cli command to process a block range
jstuczyn Sep 27, 2024
74392a2
don't request useless blocks during startup sync
jstuczyn Sep 27, 2024
27fb4ae
log error when rewarding fails due to missing blocks
jstuczyn Sep 27, 2024
d399161
adjust 'process_until' command to allow empty stop height
jstuczyn Sep 27, 2024
76c3081
introduced rewarding resync alongside recovery instructions
jstuczyn Sep 27, 2024
0702231
fixed typos and formatting
jstuczyn Sep 27, 2024
8aa5711
fixed query for historical validator data
jstuczyn Sep 27, 2024
784fae2
fix logic for determining end height for processing block ranges
jstuczyn Sep 27, 2024
4ad52ac
fixed stabilised clippy issue
jstuczyn Sep 27, 2024
e371454
Merge pull request #4942 from nymtech/bugfix/rewarder-post-pruning-ad…
jstuczyn Sep 27, 2024
676a909
V2 performance monitoring feature flag (#4943)
durch Sep 30, 2024
09a771f
Add "utoipa" feature to nym-node (#4945)
durch Sep 30, 2024
6030bf6
build(deps): bump the patch-updates group across 1 directory with 9 u…
dependabot[bot] Sep 30, 2024
1202a2f
[DOCs:/operators]: Update FAQ sphinx size (#4946)
serinko Sep 30, 2024
4c51a89
Initial stab
durch Oct 1, 2024
469f85f
Switch over the last set of jobs to arc runners (#4938)
octol Oct 7, 2024
e2d1806
Extract packet processing from mixnode-common (#4949)
durch Oct 7, 2024
d4293c9
Merge pull request #4936 from nymtech/bugfix/rpc-pagination
jstuczyn Oct 7, 2024
143b336
expose autheticator address along other address in node-details (#4953)
simonwicky Oct 7, 2024
92e9da7
extended CosmWasmClient with AllContractState query
jstuczyn Oct 8, 2024
a21052b
exposed contract state query to nym-cli
jstuczyn Oct 8, 2024
c16746a
introduced internal tool for importing contract states
jstuczyn Oct 8, 2024
5e0d1bb
swapped base85 for base85rs with more compatible license
jstuczyn Oct 8, 2024
27ac345
Merge pull request #4954 from nymtech/feature/contract-state-tools
jstuczyn Oct 8, 2024
e59a9a5
feat: add env feature to clap and change variables to be available as…
Oct 9, 2024
a1e75e1
change env var naming to be consistent with nym-node
Oct 9, 2024
51b511b
Rebased the branch one more time
jstuczyn Mar 28, 2024
1339e20
typo
jstuczyn Sep 12, 2024
fd88776
fix legacy test
jstuczyn Sep 19, 2024
5c08a89
exposed nym-node related operations in the wallet backend
jstuczyn Sep 19, 2024
9a9d91c
additional unit tests for compatibility-based txs + bug fixes
jstuczyn Sep 23, 2024
49fd0dc
wip: additional nym-nodes routes
jstuczyn Sep 23, 2024
279b00d
exposing node role in nym node annotation
jstuczyn Sep 23, 2024
8c979e3
scaffolding additional skimmed endpoints + strenghten key types
jstuczyn Sep 24, 2024
304b192
basic handlers with a lot of repeated code
jstuczyn Sep 24, 2024
cd706aa
extracted common functionalities and implemented remaining skimmed ro…
jstuczyn Sep 24, 2024
2e36502
implemented the noise route
jstuczyn Sep 24, 2024
e79450a
cargo fmt
jstuczyn Sep 24, 2024
fb43e91
updated ts_rs and derived it for more types
jstuczyn Sep 25, 2024
c7f2ef7
regenerated typescript types
jstuczyn Sep 25, 2024
6879c21
cleaning up mixnet contract in preperation for merging
jstuczyn Sep 25, 2024
561566f
fixed wasm sdk build
jstuczyn Oct 9, 2024
3d13274
changed CI to no longer build with 'axum' feature since it was removed
jstuczyn Oct 9, 2024
59da117
fixed wallet's lock file
jstuczyn Oct 9, 2024
065b389
removed unused error variant
jstuczyn Oct 9, 2024
050a58a
fixed cli command for updating node cost params
jstuczyn Oct 9, 2024
f76d677
additional rewarding-related unit tests
jstuczyn Oct 10, 2024
45f4eee
fixed linter issues and outdated tests
jstuczyn Oct 10, 2024
c3e3ef1
removed axum feature from ci-build.yml for clippy
jstuczyn Oct 10, 2024
8113948
Merge pull request #4903 from nymtech/feature/directory-v3-purge-base
jstuczyn Oct 11, 2024
493390d
bugfix: fix expected return type on /v1/gateways endpoint
jstuczyn Oct 11, 2024
67462a9
split the existing tools into separate modules
jstuczyn Oct 11, 2024
e333aca
introduced specialised subcommand to importer-cli to import mixnet/ve…
jstuczyn Oct 11, 2024
08aa0af
Merge pull request #4965 from nymtech/bugfix/invalid-gateways-response
jstuczyn Oct 11, 2024
a103aca
Import vpn-api from a414f4a2ee0
octol Oct 10, 2024
0ddaf3b
Import Cargo workspace files
octol Oct 10, 2024
3460ce7
Remove workspace deps for nym
octol Oct 10, 2024
8435cf9
Add CI workflows
octol Oct 10, 2024
275cd9f
rustfmt
octol Oct 10, 2024
435d9d3
Update to don't use removed default ticket type
octol Oct 12, 2024
9d8a686
Add common to trigger paths for CI
octol Oct 12, 2024
845b5df
chore: remove unused rocket code
jstuczyn Oct 14, 2024
8758bea
Use ticket type when retrieving from storage (#4947)
neacsu Oct 14, 2024
1fc7e07
Merge pull request #4967 from nymtech/jon/import-vpn-api
octol Oct 14, 2024
b68fca0
feat: add clap and env vars through clap, add Dockerfile
farbanas Oct 14, 2024
16edca2
allow to optionally skip state migration
jstuczyn Oct 14, 2024
c14481b
allow nym-api to control bind address with CLI
jstuczyn Oct 14, 2024
11f6db5
fixed compatibility with 'skimmed' endpoints by making "no_legacy" ar…
jstuczyn Oct 14, 2024
e87b00b
add the nym-nodes count to refresher log
jstuczyn Oct 14, 2024
1219dd9
changed debian for ubuntu docker image
farbanas Oct 14, 2024
6717951
feat: added dockerfile for nym-credentials-proxy
farbanas Oct 14, 2024
99cf7d1
feat: add Dockerfile for nym node
farbanas Oct 14, 2024
62c94d5
Fix: CMD -> ENTRYPOINT
farbanas Oct 14, 2024
a1c33bb
fix: CMD -> ENTRYPOINT
farbanas Oct 14, 2024
652f2db
exposed announce ports to nym-node CLI
jstuczyn Oct 14, 2024
27775a2
added additional logs when refreshing self-described cache
jstuczyn Oct 14, 2024
0713869
fixed swagger route arguments for skimmed endpoints
jstuczyn Oct 14, 2024
d04331a
updated clients to use 'new' endpoints
jstuczyn Oct 14, 2024
3320da2
fixed testnet-manager tool to work with the updated binaries
jstuczyn Oct 14, 2024
01db51e
updated mixnet schema
jstuczyn Oct 14, 2024
ca45230
missing update to the integration test
jstuczyn Oct 14, 2024
435f236
[Product Data] First step in gateway usage data collection (#4963)
simonwicky Oct 15, 2024
5d445d6
fix: comments on PR, removing stuff that's not needed
farbanas Oct 16, 2024
bccbc99
Merge pull request #4971 from nymtech/feat/nym-credentials-proxy-dock…
farbanas Oct 16, 2024
b88bc18
Merge pull request #4970 from nymtech/feat/nym-data-observatory-docker
farbanas Oct 16, 2024
a26ba3d
feature: require reporting using nym-node binary for rewarded set sel…
jstuczyn Oct 16, 2024
3158a67
Merge pull request #4973 from nymtech/bugfix/additional-directory-fixes
jstuczyn Oct 16, 2024
083ee83
Merge pull request #4968 from nymtech/chore/remove-dead-code
jstuczyn Oct 16, 2024
24773f6
Merge pull request #4966 from nymtech/feature/contract-state-tools-mi…
jstuczyn Oct 16, 2024
973d51e
resolved beta clippy issues in DKG contract
jstuczyn Oct 16, 2024
56fb46c
removed old coconut-bandwidth contract from the workspace
jstuczyn Oct 16, 2024
7964e62
elided extra lifetimes
jstuczyn Oct 16, 2024
e08e9fc
Merge pull request #4978 from nymtech/chore/beta-clippy
jstuczyn Oct 16, 2024
14fd7c7
added unit tests for vested migrations and fixed additional issues
jstuczyn Oct 9, 2024
02dd16b
added unit tests for the migration and fixed rounding errors
jstuczyn Oct 9, 2024
86eb060
ci: update 'publish-nym-contracts' runner
jstuczyn Oct 15, 2024
6446e43
Merge pull request #4977 from nymtech/bugfix/vested-delegation-migration
jstuczyn Oct 16, 2024
9bcf48f
expose all ecash routes but return error if nym-api is not a signer
jstuczyn Oct 16, 2024
9f80d95
re-disabled bloomfilters
jstuczyn Oct 16, 2024
ed2fbc5
allow to overwrite contract state with explicit config flag
jstuczyn Oct 16, 2024
0b6f652
Rename crate to nym-credential-proxy
octol Oct 16, 2024
b6ab25a
Update crate references
octol Oct 16, 2024
fa879ba
Rename directory to nym-credential-proxy
octol Oct 16, 2024
8f45649
Rename crate directories
octol Oct 16, 2024
5612035
Update Cargo.toml
octol Oct 16, 2024
06b5347
Update paths
octol Oct 16, 2024
9a94e40
Update paths in various build and deployment files
octol Oct 16, 2024
97fbd7d
Update gh workflows
octol Oct 16, 2024
72c54e0
Merge pull request #4980 from nymtech/feature/nym-api-always-expose-g…
jstuczyn Oct 17, 2024
20bc305
Merge pull request #4976 from nymtech/feature/active-set-selection-cr…
jstuczyn Oct 17, 2024
f455b7c
Migrate Legacy Node (Frontend) (#4826)
gala1234 Oct 17, 2024
7d55d03
Merge pull request #4981 from nymtech/jon/rename-credential-proxy
octol Oct 17, 2024
355991a
[Product Data] Add session type based on ecash ticket received (#4974)
simonwicky Oct 17, 2024
e675e39
Top up bandwidth (#4975)
neacsu Oct 17, 2024
31f1037
Add topup req constructor (#4983)
neacsu Oct 17, 2024
dabbe8b
removed additional sources of copying secrets and introduced extra er…
jstuczyn Oct 17, 2024
5af6ee7
Merge pull request #4758 from nymtech/ania/cure53_SI84_SI85
jstuczyn Oct 18, 2024
871b54e
Fix computation of h for the SI-86
aniampio Oct 17, 2024
c5b7435
Add infinity checks to fix SI-87
aniampio Oct 17, 2024
f37eb9d
Fixes following cargo clippy
aniampio Oct 17, 2024
25326e5
Fixes following cargo fmt
aniampio Oct 17, 2024
50c6ac0
[DOCs;/operators]: Release notes for v2024.12 aero (#4984)
serinko Oct 18, 2024
e6d2cbb
Merge pull request #4982 from nymtech/cure53_SI86_SI87
jstuczyn Oct 18, 2024
4e65617
Bump sqlx to 0.7.4 (#4959)
dynco-nym Oct 18, 2024
6d3ce3a
nym-credential-proxy: improve naming of env vars
mmsinclair Oct 18, 2024
0cb80d0
nym-credential-proxy: fix up OpenAPI spect name
mmsinclair Oct 18, 2024
85a93f5
Added empty workflows for branch work
Oct 18, 2024
15fd6a2
Fix rustfmt in nym-credential-proxy (#4992)
octol Oct 18, 2024
ac9a982
feat: credential proxy GHA for pushing to harbor (#4995)
farbanas Oct 18, 2024
795350a
feature: make accepting t&c a hard requirement for rewarded set selec…
jstuczyn Oct 18, 2024
0e47b88
chore: update itertools in compact ecash (#4994)
jstuczyn Oct 18, 2024
9800411
fix: revert the removal of checking if tag exists (#4996)
farbanas Oct 18, 2024
d291582
Separate storage from wg_api (#4988)
neacsu Oct 18, 2024
7b1200f
fix: add ca-certificates to ubuntu dockerfiles (#4998)
farbanas Oct 18, 2024
d36ea20
bugfix: dont store sent/received fragments unless explicitly enabled …
jstuczyn Oct 21, 2024
e65e261
Push private ip before inserting (#5008)
neacsu Oct 22, 2024
3388356
feature: adjusted ticket sizes to the agreed amounts (#5009)
jstuczyn Oct 22, 2024
f71ea52
Merge pull request #4972 from nymtech/feat/nym-node-dockerfile
tommyv1987 Oct 22, 2024
0cb1163
Merge pull request #4957 from nymtech/feat/nym-api-env-vars
tommyv1987 Oct 22, 2024
1532547
Merge pull request #4948 from nymtech/nym-api-container
tommyv1987 Oct 22, 2024
9efc50e
Merge branch 'release/2024.12-aero' into merge/release/2024.12-aero
jstuczyn Oct 22, 2024
d6435a8
Merge pull request #5012 from nymtech/merge/release/2024.12-aero
jstuczyn Oct 22, 2024
0ec2514
fix: working directory for nym-credential-proxy (#4997)
farbanas Oct 22, 2024
daafb5c
Consume only positive bandwidth (#5013)
neacsu Oct 22, 2024
b9fbe0b
Reapply fixes to new branch (#5014)
neacsu Oct 22, 2024
38e66f6
added 'get_all_described_nodes' to NymApiClient and adjusted return t…
jstuczyn Oct 23, 2024
6fafd8c
bugfix: directory v2.1 `get_all_avg_gateway_reliability_in_interval` …
jstuczyn Oct 23, 2024
d2df542
bugfix: missing #[serde(default)] for announce port (#5024)
jstuczyn Oct 23, 2024
d18ddcd
bugfix: introduce 'LegacyPendingMixNodeChanges' that does not contain…
jstuczyn Oct 24, 2024
c09a17b
bugfix: verifying signed information of legacy nodes (#5029)
jstuczyn Oct 24, 2024
4b0153f
bugfix: fixed backwards incompatibility for /gateways/described endpo…
jstuczyn Oct 24, 2024
0edb963
feature: use axum_client_ip for attempting to extract source ip (#5031)
jstuczyn Oct 24, 2024
29f8386
bugfix: make sure to use correct highest node id when assigning role …
jstuczyn Oct 24, 2024
9234474
bugfix: use old name for 'epoch_role' in SkimmedNode (#5034)
jstuczyn Oct 25, 2024
d626e76
bugfix: make gateways insert themselves into [local] topology (#5038)
jstuczyn Oct 25, 2024
bfa3825
Pass the Poisson flag on authenticator config (#5037)
neacsu Oct 25, 2024
e16a733
bugfix: use bonded nym-nodes for determining initial network monitor …
jstuczyn Oct 25, 2024
9ca6301
bugfix: make sure nym-nodes are also tested by network monitor (#5040)
jstuczyn Oct 25, 2024
3167fb3
bugfix: don't assign exit gateways to standby set (#5041)
jstuczyn Oct 25, 2024
fa39216
bugfix: use human readable roles for annotations (#5036)
jstuczyn Oct 28, 2024
cb13be2
bugfix: fix ecash handlers routes (#5043)
jstuczyn Oct 28, 2024
4d08047
bugfix: restore default http port for nym-api (#5045)
jstuczyn Oct 28, 2024
a56a318
bugfix: supersede 'cb13be27f8f61d9ae74d924e85d2e6787895eb14' by using…
jstuczyn Oct 28, 2024
4396def
bugfix: adjust runtime storage migration (#5047)
jstuczyn Oct 28, 2024
317f7ff
added hacky routes to return nymnodes alongside legacy nodes (#5051)
jstuczyn Oct 29, 2024
76da4ab
bugfix: mark migrated gateways as rewarded in the previous epoch in c…
jstuczyn Oct 30, 2024
753a21f
bugfix/feature: added NymApiClient method to get all skimmed nodes (#…
jstuczyn Oct 30, 2024
07ff263
bugfix: use corrext axum extractors for ecash route arguments (#5065)
jstuczyn Oct 30, 2024
c90ebf0
Feature/wallet bonding fixes (#5064)
fmtabbara Oct 30, 2024
8b0b70a
allow nym node config updates (#5066)
fmtabbara Oct 31, 2024
be67234
bugfix: credential-proxy obtain-async (#5067)
jstuczyn Oct 31, 2024
b9d1fc4
deprecated old nym-api client methods and replaced them when possible…
jstuczyn Oct 31, 2024
9f8bf2d
bugfix: wallet backend fixes (#5070)
jstuczyn Oct 31, 2024
cf4fe5f
NS API with directory v2 (#5068)
dynco-nym Oct 31, 2024
0374626
Allow custom http port to be reset (#5073)
fmtabbara Oct 31, 2024
09b68a8
Cherry pick NS API from develop (#5074)
dynco-nym Nov 1, 2024
b73561f
Fix gateway decreasing bandwidth (#5075)
neacsu Nov 1, 2024
f9b3636
Fix expiration date as today + 7 days (#5076)
neacsu Nov 1, 2024
80b590d
bug-fix: nym-credential-proxy webhook request is the correct shape an…
mmsinclair Nov 1, 2024
5cefa7f
Don't increase bandwidth again (#5081)
neacsu Nov 4, 2024
2569deb
bugfix: [wallet] displaying delegations for native nymnodes (#5087)
jstuczyn Nov 4, 2024
c6959d3
Make 250 GB/30 days for free ride mode (#5083)
neacsu Nov 5, 2024
fa551b6
Nym node - Fix claim delegator rewards (#5090)
fmtabbara Nov 5, 2024
15ca24b
Add more translations from v2 to v3 authenticator (#5091)
neacsu Nov 5, 2024
69e97b3
Remove old use of 1GB constant (#5096)
neacsu Nov 5, 2024
d03c5b3
Graceful agent 1.1.5 (#5093)
dynco-nym Nov 5, 2024
fd8dc63
fixed HistoricalUptimeUpdater (#5097)
jstuczyn Nov 5, 2024
c001059
Feature/force refresh node (#5101)
jstuczyn Nov 6, 2024
a400aa8
bugfix: preserve as much as possible of the rewarded set during migra…
jstuczyn Nov 8, 2024
ac77712
nym-credential-proxy-requests: reqwest use rustls-tls (#5116)
octol Nov 11, 2024
4fab7ea
temporarily disable playground and test my node in the wallet
tommyv1987 Nov 13, 2024
5b216e8
update versions
benedettadavico Nov 13, 2024
c0aadeb
Migrate node when events pending (#5125)
fmtabbara Nov 13, 2024
532c25c
change: dont allow mixnodes bonded with vested tokens into the reward…
jstuczyn Nov 14, 2024
46a33b5
Add NYM_VPN_API to env files (#5099)
pronebird Nov 14, 2024
6809f73
Pain/polyfill deprecated endpoints (#5131)
jstuczyn Nov 14, 2024
94f2475
nym-node-status-agent bump version
mmsinclair Nov 15, 2024
db20c2e
node-status-agent: cherry-pick GH Actions pipeline and dockerfile fro…
mmsinclair Nov 15, 2024
e44a36e
Respond to auth messages with same version (#5140)
neacsu Nov 18, 2024
35343b5
bugfix: make sure to assign correct node_id and identity during 'gate…
jstuczyn Nov 18, 2024
6dc9b79
bugifx: assign 'node_id' when converting from 'GatewayDetails' to 'Te…
jstuczyn Nov 18, 2024
5ad11f2
Limit race probability (#5145)
neacsu Nov 18, 2024
086b4f6
update changelog
benedettadavico Nov 18, 2024
b5f1d67
update wallet versions and changelog
benedettadavico Nov 18, 2024
62e0771
Update publish-nym-contracts.yml
tommyv1987 Nov 18, 2024
b49ef64
Update publish-nym-binaries.yml
tommyv1987 Nov 18, 2024
6b5b971
fix: tracing logger to output to stderr
jstuczyn Nov 19, 2024
119c36b
added 'deterministic_route_selection' for sphinx packet route selecti…
jstuczyn Nov 21, 2024
3d704fb
change: make nym-api optionally ignore nodes with illegal ip addresse…
jstuczyn Nov 21, 2024
d6d2239
implement optional cap for number of ack retransmissions (#5158)
jstuczyn Nov 21, 2024
d8ab2a8
update version for clients and nym-node
benedettadavico Nov 22, 2024
042a8a5
start session collection for exit gateways (#5148) (#5161)
simonwicky Nov 22, 2024
01c7b28
update changelog
benedettadavico Nov 22, 2024
6acd936
bugfix: additional improvements to nym-api db performance (#5168)
jstuczyn Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 1 addition & 22 deletions .github/workflows/cd-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04-16-core
runs-on: arc-ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Dependencies (Linux)
Expand Down Expand Up @@ -99,24 +99,3 @@ jobs:
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
working-directory: dist/docs
continue-on-error: false

- name: Matrix - Node Install
run: npm install
working-directory: .github/workflows/support-files
- name: Matrix - Send Notification
env:
NYM_NOTIFICATION_KIND: cd-docs
NYM_PROJECT_NAME: "Docs CD"
NYM_CI_WWW_BASE: "${{ secrets.NYM_CD_WWW_BASE }}"
NYM_CI_WWW_LOCATION: "${{ env.GITHUB_REF_SLUG }}"
GIT_COMMIT_MESSAGE: "${{ github.event.head_commit.message }}"
GIT_BRANCH: "${GITHUB_REF##*/}"
MATRIX_SERVER: "${{ secrets.MATRIX_SERVER }}"
MATRIX_ROOM: "${{ secrets.MATRIX_ROOM_DOCS }}"
MATRIX_USER_ID: "${{ secrets.MATRIX_USER_ID }}"
MATRIX_TOKEN: "${{ secrets.MATRIX_TOKEN }}"
MATRIX_DEVICE_ID: "${{ secrets.MATRIX_DEVICE_ID }}"
IS_SUCCESS: "${{ job.status == 'success' }}"
uses: docker://keybaseio/client:stable-node
with:
args: .github/workflows/support-files/notifications/entry_point.sh
23 changes: 2 additions & 21 deletions .github/workflows/ci-build-ts.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: ci-build-ts

on:
workflow_dispatch:
pull_request:
paths:
- "ts-packages/**"
Expand All @@ -9,7 +10,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04-16-core
runs-on: arc-ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install rsync
Expand Down Expand Up @@ -45,23 +46,3 @@ jobs:
REMOTE_USER: ${{ secrets.CI_WWW_REMOTE_USER }}
TARGET: ${{ secrets.CI_WWW_REMOTE_TARGET }}/ts-${{ env.GITHUB_REF_SLUG }}-example
EXCLUDE: "/dist/, /node_modules/"
- name: Matrix - Node Install
run: npm install
working-directory: .github/workflows/support-files
- name: Matrix - Send Notification
env:
NYM_NOTIFICATION_KIND: ts-packages
NYM_PROJECT_NAME: "ts-packages"
NYM_CI_WWW_BASE: "${{ secrets.NYM_CI_WWW_BASE }}"
NYM_CI_WWW_LOCATION: "ts-${{ env.GITHUB_REF_SLUG }}"
GIT_COMMIT_MESSAGE: "${{ github.event.head_commit.message }}"
GIT_BRANCH: "${GITHUB_REF##*/}"
IS_SUCCESS: "${{ job.status == 'success' }}"
MATRIX_SERVER: "${{ secrets.MATRIX_SERVER }}"
MATRIX_ROOM: "${{ secrets.MATRIX_ROOM }}"
MATRIX_USER_ID: "${{ secrets.MATRIX_USER_ID }}"
MATRIX_TOKEN: "${{ secrets.MATRIX_TOKEN }}"
MATRIX_DEVICE_ID: "${{ secrets.MATRIX_DEVICE_ID }}"
uses: docker://keybaseio/client:stable-node
with:
args: .github/workflows/support-files/notifications/entry_point.sh
41 changes: 41 additions & 0 deletions .github/workflows/ci-build-vpn-api-wasm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: ci-build-vpn-api-wasm

on:
pull_request:
paths:
- 'common/**'
- 'nym-credential-proxy/**'
- '.github/workflows/ci-build-vpn-api-wasm.yml'

jobs:
wasm:
runs-on: arc-ubuntu-22.04
env:
CARGO_TERM_COLOR: always
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
components: rustfmt, clippy

- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Install wasm-opt
uses: ./.github/actions/install-wasm-opt
with:
version: '116'

- name: Install wasm-bindgen-cli
run: cargo install wasm-bindgen-cli

- name: "Build"
run: make
working-directory: nym-credential-proxy/vpn-api-lib-wasm
18 changes: 5 additions & 13 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [arc-ubuntu-20.04, custom-runner-mac-m1]
os: [ arc-ubuntu-20.04, custom-runner-mac-m1 ]
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
Expand All @@ -57,18 +57,16 @@ jobs:
command: fmt
args: --all -- --check

- name: Build all binaries
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: build
command: clippy
args: --workspace --all-targets -- -D warnings

# while disabled by default, this build ensures nothing is broken within
# `axum` feature
- name: Build with `axum` feature
- name: Build all binaries
uses: actions-rs/cargo@v1
with:
command: build
args: --features axum

- name: Build all examples
if: contains(matrix.os, 'ubuntu')
Expand All @@ -90,9 +88,3 @@ jobs:
with:
command: test
args: --workspace -- --ignored

- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-targets --features axum -- -D warnings
2 changes: 1 addition & 1 deletion .github/workflows/ci-contracts-upload-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: arc-ubuntu-20.04
platform: [ arc-ubuntu-20.04 ]

runs-on: ${{ matrix.platform }}
env:
Expand Down
23 changes: 1 addition & 22 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04-16-core
runs-on: arc-ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Dependencies (Linux)
Expand Down Expand Up @@ -70,24 +70,3 @@ jobs:
REMOTE_USER: ${{ secrets.CI_WWW_REMOTE_USER }}
TARGET: ${{ secrets.CI_WWW_REMOTE_TARGET }}/docs-${{ env.GITHUB_REF_SLUG }}
EXCLUDE: "/node_modules/"

- name: Matrix - Node Install
run: npm install
working-directory: .github/workflows/support-files
- name: Matrix - Send Notification
env:
NYM_NOTIFICATION_KIND: ci-docs
NYM_PROJECT_NAME: "Docs CI"
NYM_CI_WWW_BASE: "${{ secrets.NYM_CI_WWW_BASE }}"
NYM_CI_WWW_LOCATION: "docs-${{ env.GITHUB_REF_SLUG }}"
GIT_COMMIT_MESSAGE: "${{ github.event.head_commit.message }}"
GIT_BRANCH: "${GITHUB_REF##*/}"
MATRIX_SERVER: "${{ secrets.MATRIX_SERVER }}"
MATRIX_ROOM: "${{ secrets.MATRIX_ROOM_DOCS }}"
MATRIX_USER_ID: "${{ secrets.MATRIX_USER_ID }}"
MATRIX_TOKEN: "${{ secrets.MATRIX_TOKEN }}"
MATRIX_DEVICE_ID: "${{ secrets.MATRIX_DEVICE_ID }}"
IS_SUCCESS: "${{ job.status == 'success' }}"
uses: docker://keybaseio/client:stable-node
with:
args: .github/workflows/support-files/notifications/entry_point.sh
24 changes: 2 additions & 22 deletions .github/workflows/ci-lint-typescript.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: ci-lint-typescript

on:
workflow_dispatch:
pull_request:
paths:
- "ts-packages/**"
Expand All @@ -14,7 +15,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04-16-core
runs-on: arc-ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: rlespinasse/[email protected]
Expand Down Expand Up @@ -53,24 +54,3 @@ jobs:
run: yarn lint
- name: Typecheck with tsc
run: yarn tsc

- name: Matrix - Node Install
run: npm install
working-directory: .github/workflows/support-files
- name: Matrix - Send Notification
env:
NYM_NOTIFICATION_KIND: ts-packages
NYM_PROJECT_NAME: "ts-packages"
NYM_CI_WWW_BASE: "${{ secrets.NYM_CI_WWW_BASE }}"
NYM_CI_WWW_LOCATION: "ts-${{ env.GITHUB_REF_SLUG }}"
GIT_COMMIT_MESSAGE: "${{ github.event.head_commit.message }}"
GIT_BRANCH: "${GITHUB_REF##*/}"
IS_SUCCESS: "${{ job.status == 'success' }}"
MATRIX_SERVER: "${{ secrets.MATRIX_SERVER }}"
MATRIX_ROOM: "${{ secrets.MATRIX_ROOM }}"
MATRIX_USER_ID: "${{ secrets.MATRIX_USER_ID }}"
MATRIX_TOKEN: "${{ secrets.MATRIX_TOKEN }}"
MATRIX_DEVICE_ID: "${{ secrets.MATRIX_DEVICE_ID }}"
uses: docker://keybaseio/client:stable-node
with:
args: .github/workflows/support-files/notifications/entry_point.sh
45 changes: 45 additions & 0 deletions .github/workflows/ci-nym-credential-proxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: ci-nym-credential-proxy

on:
pull_request:
paths:
- 'common/**'
- 'nym-credential-proxy/**'
- '.github/workspace/ci-nym-credential-proxy.yml'
workflow_dispatch:

jobs:
build:
runs-on: arc-ubuntu-22.04
env:
CARGO_TERM_COLOR: always
MANIFEST_PATH: "--manifest-path nym-credential-proxy/Cargo.toml"
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy

- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: ${{ env.MANIFEST_PATH }} --all -- --check

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: ${{ env.MANIFEST_PATH }} --workspace --all-targets

- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: ${{ env.MANIFEST_PATH }} --workspace --all-targets -- -D warnings
11 changes: 11 additions & 0 deletions .github/workflows/hello-world.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Hello world

on:
workflow_dispatch:

jobs:
my-job:
runs-on: arc-ubuntu-22.04
steps:
- name: my-step
run: echo "Hello World!"
1 change: 1 addition & 0 deletions .github/workflows/publish-nym-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Build all binaries
uses: actions-rs/cargo@v1
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish-nym-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ jobs:
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.77
target: wasm32-unknown-unknown
override: true
components: rustfmt, clippy

- name: Install wasm-opt
run: cargo install --version 0.114.0 wasm-opt
uses: ./.github/actions/install-wasm-opt
with:
version: '114'

- name: Build release contracts
run: make contracts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-sdk-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
publish:
runs-on: ubuntu-20.04-16-core
runs-on: arc-ubuntu-20.04
steps:
- uses: actions/checkout@v4

Expand Down
55 changes: 55 additions & 0 deletions .github/workflows/push-credential-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build and upload Credential Proxy container to harbor.nymte.ch
on:
workflow_dispatch:

env:
WORKING_DIRECTORY: "nym-credential-proxy"
CONTAINER_NAME: "credential-proxy"

jobs:
build-container:
runs-on: arc-ubuntu-22.04-dind
steps:
- name: Login to Harbor
uses: docker/login-action@v3
with:
registry: harbor.nymte.ch
username: ${{ secrets.HARBOR_ROBOT_USERNAME }}
password: ${{ secrets.HARBOR_ROBOT_SECRET }}

- name: Checkout repo
uses: actions/checkout@v4

- name: Configure git identity
run: |
git config --global user.email "[email protected]"
git config --global user.name "Lawrence Stalder"

- name: Get version from cargo.toml
uses: mikefarah/[email protected]
id: get_version
with:
cmd: yq -oy '.package.version' ${{ env.WORKING_DIRECTORY }}/nym-credential-proxy/Cargo.toml

- name: Check if tag exists
run: |
if git rev-parse ${{ steps.get_version.outputs.value }} >/dev/null 2>&1; then
echo "Tag ${{ steps.get_version.outputs.value }} already exists"
fi

- name: Remove existing tag if exists
run: |
if git rev-parse ${{ env.WORKING_DIRECTORY }}-${{ steps.get_version.outputs.result }} >/dev/null 2>&1; then
git push --delete origin ${{ env.WORKING_DIRECTORY }}-${{ steps.get_version.outputs.result }}
git tag -d ${{ env.WORKING_DIRECTORY }}-${{ steps.get_version.outputs.result }}
fi

- name: Create tag
run: |
git tag -a ${{ env.WORKING_DIRECTORY }}-${{ steps.get_version.outputs.result }} -m "Version ${{ steps.get_version.outputs.result }}"
git push origin ${{ env.WORKING_DIRECTORY }}-${{ steps.get_version.outputs.result }}

- name: BuildAndPushImageOnHarbor
run: |
docker build -f ${{ env.WORKING_DIRECTORY }}/nym-credential-proxy/Dockerfile . -t harbor.nymte.ch/nym/${{ env.CONTAINER_NAME }}:${{ steps.get_version.outputs.result }} -t harbor.nymte.ch/nym/${{ env.CONTAINER_NAME }}:latest
docker push harbor.nymte.ch/nym/${{ env.CONTAINER_NAME }} --all-tags
Loading
Loading