Skip to content

Commit

Permalink
Move EOL ledger to 5.x (#6829)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtropets authored Feb 17, 2025
1 parent 7c6bcf4 commit 4fcd369
Show file tree
Hide file tree
Showing 42 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion tests/infra/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# versions to no longer be run in the recovery LTS compatibility test
# and corresponding ledgers should be copied to the testdata/ directory
# instead.
END_OF_LIFE_MAJOR_VERSIONS = [1, 2]
END_OF_LIFE_MAJOR_VERSIONS = [1, 2, 3, 4, 5]

# Note: Releases are identified by tag since releases are not necessarily named, but all
# releases are tagged
Expand Down
13 changes: 9 additions & 4 deletions tests/infra/member.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ def get_recovery_share(self, member, remote_node):
member, remote_node
)

def api_version(self, remote_node):
return self._by_node_version(remote_node).API_VERSION


class Member:
def __init__(
Expand Down Expand Up @@ -455,10 +458,12 @@ def get_and_submit_recovery_share(self, remote_node):
]

if supports_api_version:
cmd += [
"--api-version",
self.gov_api_impl_inst.API_VERSION,
]
api_version = (
self.gov_api_impl_inst.API_VERSION
if hasattr(self.gov_api_impl_inst, "API_VERSION")
else self.gov_api_impl_inst.api_version(remote_node)
)
cmd += ["--api-version", api_version]

# Versions of the script that do not support --member-id arguments use
# client certificates (forward to curl) to authenticate with the service.
Expand Down
20 changes: 10 additions & 10 deletions tests/testdata/eol_service/common/service_cert.pem
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIBtzCCAT2gAwIBAgIQdAtmiSLQ5X1YVsXBHw3rbzAKBggqhkjOPQQDAzAWMRQw
EgYDVQQDDAtDQ0YgTmV0d29yazAeFw0yMzA2MTQwODMzNTdaFw0yMzA2MTUwODMz
NTZaMBYxFDASBgNVBAMMC0NDRiBOZXR3b3JrMHYwEAYHKoZIzj0CAQYFK4EEACID
YgAEJF1XvISMiXVbU6HDlHlaMwHRvFEfy62SkR3C4fDKreJdD2sF+weBNvjvxgBB
rX36H9XPmf9rth4Jj6YIrgOmzBRlLkmdmQMUPJR8o/Br/UF7AaQnclu+U+YM3bOs
rOF1o1AwTjAMBgNVHRMEBTADAQH/MB0GA1UdDgQWBBRgJ4QHTEs9LSFdf9T8qmdv
vVAUvDAfBgNVHSMEGDAWgBRgJ4QHTEs9LSFdf9T8qmdvvVAUvDAKBggqhkjOPQQD
AwNoADBlAjEAiowoDdNYSne22niGAoLKKwSkcgAbNnRs1ELg/R8rrRJme5KHfo4w
Ueuv2OhJEBMpAjBlM9FCA5Jcqw2vUAl9HmPwD5dEjuUKf8c9kww7S0L3X3StPO4i
9S93Rt1gfVVBAqA=
MIIBvjCCAUOgAwIBAgIQCpwM9VfqlVHYBufpQmctBTAKBggqhkjOPQQDAzAWMRQw
EgYDVQQDDAtDQ0YgTmV0d29yazAeFw0yNTAyMTcxNjI2MzdaFw0yNjAyMTYxNjI2
MzZaMBYxFDASBgNVBAMMC0NDRiBOZXR3b3JrMHYwEAYHKoZIzj0CAQYFK4EEACID
YgAE6EhpxuQJuAdSuXC+Pm24+kUFDcxtIJFw4zc3eFKX2jF3ic/ZsjYqyDHy6h1R
SvAFoQeOLEj/6772eyahqoEDGx0gchjdoDO9nsrz7KjUHG4EBb1oMPeAS+e3Xkqp
zbDNo1YwVDASBgNVHRMBAf8ECDAGAQH/AgEBMB0GA1UdDgQWBBSi4aFp+Uo+gNnh
7xyERFtPYFRAETAfBgNVHSMEGDAWgBSi4aFp+Uo+gNnh7xyERFtPYFRAETAKBggq
hkjOPQQDAwNpADBmAjEA21jyjYcES+gtis8+qqVDrW7oy18LVntI80PncjFz1YE3
dfewIKn5vNeFGhv/EANAAjEAis53SS5ks41LpBEkA1ht0xwcvhlbWJOZVr4i7AQf
Sk3MVRRpRzmwebvz7dKIDVu6
-----END CERTIFICATE-----
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added tests/testdata/eol_service/ledger/ledger_494
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 4fcd369

Please sign in to comment.