test pgp data
This commit is contained in:
parent
d4fff5d11d
commit
ee2e2916b7
32
src/data/test/pgpbuild-testdata.ts
Normal file
32
src/data/test/pgpbuild-testdata.ts
Normal file
@ -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"
|
||||
},
|
||||
]
|
20
src/data/test/pgpdeveloper-testdata.ts
Normal file
20
src/data/test/pgpdeveloper-testdata.ts
Normal file
@ -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> */}
|
||||
</Stack>
|
||||
|
||||
{/* TODO: swap for real data */}
|
||||
<Stack>
|
||||
<DataTable
|
||||
columnHeaders={[
|
||||
'Developer',
|
||||
'Unique ID',
|
||||
'OpenPGP Key',
|
||||
'Fingerprint'
|
||||
]}
|
||||
data={pgpDeveloperTestData}
|
||||
/>
|
||||
</Stack>
|
||||
</DownloadsSection>
|
||||
|
||||
<DownloadsSection sectionTitle='Importing keys and verifying builds' id='importingkeys'>
|
||||
|
Loading…
Reference in New Issue
Block a user