test pgp data

pull/26459/head^2
Corwin Smith 2 years ago
parent d4fff5d11d
commit ee2e2916b7
  1. 32
      src/data/test/pgpbuild-testdata.ts
  2. 20
      src/data/test/pgpdeveloper-testdata.ts
  3. 22
      src/pages/downloads.tsx

@ -0,0 +1,32 @@
export const pgpBuildTestData = [
{
"build server": "Android Builder",
"unique id": "Go Ethereum Android Builder <geth-ci@ethereum.org>",
"openpgp key": "F9585DE6",
"fingerprint": "8272 1824 F4D7 46E0 B5A7 AB95 70AD 154B F958 5DE6"
},
{
"build server": "iOS Builder",
"unique id": "Go Ethereum iOS Builder <geth-ci@ethereum.org>",
"openpgp key": "F9585DE6",
"fingerprint": "8272 1824 F4D7 46E0 B5A7 AB95 70AD 154B F958 5DE6"
},
{
"build server": "Linux Builder",
"unique id": "Go Ethereum Linux Builder <geth-ci@ethereum.org>",
"openpgp key": "F9585DE6",
"fingerprint": "8272 1824 F4D7 46E0 B5A7 AB95 70AD 154B F958 5DE6"
},
{
"build server": "macOS Builder",
"unique id": "Go Ethereum macOS Builder <geth-ci@ethereum.org>",
"openpgp key": "F9585DE6",
"fingerprint": "8272 1824 F4D7 46E0 B5A7 AB95 70AD 154B F958 5DE6"
},
{
"build server": "Windows Builder",
"unique id": "Go Ethereum Windows Builder <geth-ci@ethereum.org>",
"openpgp key": "F9585DE6",
"fingerprint": "8272 1824 F4D7 46E0 B5A7 AB95 70AD 154B F958 5DE6"
},
]

@ -0,0 +1,20 @@
export const pgpDeveloperTestData = [
{
"developer": "Felix Lange",
"unique id": "Felix Lange <fjl@ethereum.org>",
"openpgp key": "F9585DE6",
"fingerprint": "8272 1824 F4D7 46E0 B5A7 AB95 70AD 154B F958 5DE6"
},
{
"developer": "Martin Holst Swende",
"unique id": "Martin Holst Swende <martin.swende@ethereum.org>",
"openpgp key": "F9585DE6",
"fingerprint": "8272 1824 F4D7 46E0 B5A7 AB95 70AD 154B F958 5DE6"
},
{
"developer": "Péter Szilágyi",
"unique id": "Péter Szilágyi <peter@ethereum.org>",
"openpgp key": "F9585DE6",
"fingerprint": "8272 1824 F4D7 46E0 B5A7 AB95 70AD 154B F958 5DE6"
},
]

@ -21,7 +21,8 @@ import {
} from '../constants'
import { testDownloadData } from '../data/test/download-testdata'
import { pgpBuildTestData } from '../data/test/pgpbuild-testdata';
import { pgpDeveloperTestData } from '../data/test/pgpdeveloper-testdata';
const DownloadsPage: NextPage = ({}) => {
const [amountStableReleases, updateAmountStables] = useState(10)
@ -163,7 +164,8 @@ const DownloadsPage: NextPage = ({}) => {
</Text>
</Stack>
{/* <Stack p={4}>
{/* TODO: swap for real data */}
<Stack>
<DataTable
columnHeaders={[
'Build Server',
@ -171,8 +173,22 @@ const DownloadsPage: NextPage = ({}) => {
'OpenPGP Key',
'Fingerprint'
]}
data={pgpBuildTestData}
/>
</Stack>
{/* TODO: swap for real data */}
<Stack>
<DataTable
columnHeaders={[
'Developer',
'Unique ID',
'OpenPGP Key',
'Fingerprint'
]}
data={pgpDeveloperTestData}
/>
</Stack> */}
</Stack>
</DownloadsSection>
<DownloadsSection sectionTitle='Importing keys and verifying builds' id='importingkeys'>

Loading…
Cancel
Save