Skip to content

Commit

Permalink
Merge pull request #22 from resin-io/new-contract-schema
Browse files Browse the repository at this point in the history
New contract schema
  • Loading branch information
nghiant2710 authored May 25, 2018
2 parents 3b875a1 + 6f091f1 commit 648fdda
Show file tree
Hide file tree
Showing 189 changed files with 862 additions and 831 deletions.
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
machine:
node:
version: 8.11.2
9 changes: 0 additions & 9 deletions contracts/arch.sw/aarch64.json

This file was deleted.

15 changes: 15 additions & 0 deletions contracts/arch.sw/aarch64/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"slug": "aarch64",
"version": "1",
"type": "arch.sw",
"name": "ARM v8",
"data": { "arch": "aarch64" },
"requires": [
{
"type": "hw.device-type",
"data": {
"arch": "aarch64"
}
}
]
}
9 changes: 0 additions & 9 deletions contracts/arch.sw/amd64.json

This file was deleted.

15 changes: 15 additions & 0 deletions contracts/arch.sw/amd64/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"slug": "amd64",
"version": "1",
"type": "arch.sw",
"name": "Intel 64-bit (x86-64)",
"data": { "arch": "amd64" },
"requires": [
{
"type": "hw.device-type",
"data": {
"arch": "amd64"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"version": "1",
"type": "arch.sw",
"name": "ARM v5",
"data": { "arch": "armel" },
"requires": [
{
"or": [
{ "type": "hw.device-type", "arch": "armel" }
]
"type": "hw.device-type",
"data": {
"arch": "armel"
}
}
]
}
14 changes: 0 additions & 14 deletions contracts/arch.sw/armhf.json

This file was deleted.

25 changes: 25 additions & 0 deletions contracts/arch.sw/armhf/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"slug": "armhf",
"version": "1",
"type": "arch.sw",
"name": "ARM Hard Float",
"data": { "arch": "armhf" },
"requires": [
{
"or": [
{
"type": "hw.device-type",
"data": {
"arch": "armv7hf"
}
},
{
"type": "hw.device-type",
"data": {
"arch": "rpi"
}
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"version": "1",
"type": "arch.sw",
"name": "ARM v7",
"data": { "arch": "armv7hf" },
"requires": [
{
"or": [
{ "type": "hw.device-type", "arch": "armv7hf" }
]
"type": "hw.device-type",
"data": {
"arch": "armv7hf"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"version": "1",
"type": "arch.sw",
"name": "Intel 32-bit (x86)",
"data": { "arch": "i386" },
"requires": [
{
"or": [
{ "type": "hw.device-type", "arch": "i386" }
]
"type": "hw.device-type",
"data": {
"arch": "i386"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"version": "1",
"type": "arch.sw",
"name": "ARM v6",
"data": { "arch": "armv6hf" },
"requires": [
{
"or": [
{ "type": "hw.device-type", "arch": "rpi" }
]
"type": "hw.device-type",
"data": {
"arch": "rpi"
}
}
]
}
18 changes: 0 additions & 18 deletions contracts/hw.device-type/am571x-evm.json

This file was deleted.

20 changes: 20 additions & 0 deletions contracts/hw.device-type/am571x-evm/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"slug": "am571x-evm",
"version": "1",
"type": "hw.device-type",
"name": "AM571X-EVM",
"data": {
"arch": "armv7hf",
"hdmi": true,
"led": false,
"connectivity": {
"bluetooth": false
},
"storage": {
"internal": false
},
"media": {
"installation": "sdcard"
}
}
}
18 changes: 0 additions & 18 deletions contracts/hw.device-type/apalis-imx6q.json

This file was deleted.

20 changes: 20 additions & 0 deletions contracts/hw.device-type/apalis-imx6q/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"slug": "apalis-imx6q",
"version": "1",
"type": "hw.device-type",
"name": "Toradex Apalis",
"data": {
"arch": "armv7hf",
"hdmi": true,
"led": false,
"connectivity": {
"bluetooth": false
},
"storage": {
"internal": false
},
"media": {
"installation": "sdcard"
}
}
}
18 changes: 0 additions & 18 deletions contracts/hw.device-type/artik10.json

This file was deleted.

20 changes: 20 additions & 0 deletions contracts/hw.device-type/artik10/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"slug": "artik10",
"version": "1",
"type": "hw.device-type",
"name": "Samsung Artik 10",
"data": {
"arch": "armv7hf",
"hdmi": true,
"led": false,
"connectivity": {
"bluetooth": false
},
"storage": {
"internal": false
},
"media": {
"installation": "sdcard"
}
}
}
18 changes: 0 additions & 18 deletions contracts/hw.device-type/artik5.json

This file was deleted.

20 changes: 20 additions & 0 deletions contracts/hw.device-type/artik5/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"slug": "artik5",
"version": "1",
"type": "hw.device-type",
"name": "Samsung Artik 5",
"data": {
"arch": "armv7hf",
"hdmi": true,
"led": false,
"connectivity": {
"bluetooth": true
},
"storage": {
"internal": false
},
"media": {
"installation": "sdcard"
}
}
}
18 changes: 0 additions & 18 deletions contracts/hw.device-type/artik710.json

This file was deleted.

20 changes: 20 additions & 0 deletions contracts/hw.device-type/artik710/contract.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"slug": "artik710",
"version": "1",
"type": "hw.device-type",
"name": "Samsung Artik 710",
"data": {
"arch": "armv7hf",
"hdmi": true,
"led": true,
"connectivity": {
"bluetooth": true
},
"storage": {
"internal": false
},
"media": {
"installation": "sdcard"
}
}
}
18 changes: 0 additions & 18 deletions contracts/hw.device-type/bananapi-m1-plus.json

This file was deleted.

Loading

0 comments on commit 648fdda

Please sign in to comment.