-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to master and switch to using the schema
- Loading branch information
Showing
40 changed files
with
647 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../icon.svg |
56 changes: 56 additions & 0 deletions
56
integration-tests/data/simple-circle/circle/snapcraft.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: real-circle | ||
summary: A big bad circle | ||
description: | | ||
A snapcraft.yaml that lists a set of parts that are | ||
in a circular dependency chain. Snapcraft should NOT | ||
accept this snapcraft.yaml. | ||
version: 1.0 | ||
vendor: round@circle.square.com | ||
icon: icon.svg | ||
|
||
parts: | ||
a: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [last] | ||
b: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [a] | ||
c: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [b] | ||
d: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [c] | ||
e: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [d] | ||
f: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [e] | ||
g: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [f] | ||
h: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [g] | ||
last: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [h] |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../icon.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
name: dep-tree | ||
summary: A tree of things to make sure work | ||
description: | | ||
A snapcraft.yaml that has a relatively complex tree of | ||
dependencies that can stress test the depedency resolution | ||
code in Snapcraft. | ||
version: 1.0 | ||
vendor: deps@tree.com | ||
icon: icon.svg | ||
|
||
parts: | ||
root: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
a: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [root] | ||
b: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [root] | ||
c: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [root] | ||
aa: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [a] | ||
ab: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [a] | ||
ac: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [a] | ||
ba: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [b] | ||
bb: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [b] | ||
bc: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [b] | ||
ca: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [c] | ||
cb: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [c] | ||
cc: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [c] | ||
x: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [aa, ba, ca] | ||
y: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [ab, bb, cb] | ||
z: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [ac, bc, cc] | ||
last: | ||
plugin: copy | ||
files: | ||
icon.svg: icon.svg | ||
after: [x, y, z] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,89 @@ | ||
id: snapcraft/examples/build | ||
id: snapcraft/examples/downloader-with-wiki-parts | ||
plugin: shell | ||
command: | ||
set -e | ||
for example in ${PLAINBOX_PROVIDER_DATA}/examples/* | ||
do | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
done | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/downloader-with-wiki-parts | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/godd | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/godd | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/gopaste | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/gopaste | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/java-hello-world | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/java-hello-world | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/libpipeline | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/libpipeline | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/py2project | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/py2project | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/py3project | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/py3project | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/ros | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/ros | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/tomcat-maven-webapp | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/tomcat-maven-webapp | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* | ||
|
||
id: snapcraft/examples/webcam-webui | ||
plugin: shell | ||
command: | ||
set -e | ||
example=${PLAINBOX_PROVIDER_DATA}/examples/webcam-webui | ||
cp -rT ${example//:} ${PLAINBOX_SESSION_SHARE} | ||
cd ${PLAINBOX_SESSION_SHARE} && ${SNAPCRAFT} | ||
rm -rf ${PLAINBOX_SESSION_SHARE}/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.