File tree 4 files changed +56
-6
lines changed
4 files changed +56
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Snap Builds
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ node-version : [20.x]
15
+
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+
19
+ - uses : snapcore/action-build@v1
20
+ id : build
21
+
22
+ - uses : diddlesnaps/snapcraft-review-action@v1
23
+ with :
24
+ snap : ${{ steps.build.outputs.snap }}
25
+ isClassic : ' false'
26
+ # Plugs and Slots declarations to override default denial (requires store assertion to publish)
27
+ # plugs: ./plug-declaration.json
28
+ # slots: ./slot-declaration.json
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ SoftLayer API Python Client
10
10
:target: https://coveralls.io/github/softlayer/softlayer-python?branch=master
11
11
.. image :: https://snapcraft.io//slcli/badge.svg
12
12
:target: https://snapcraft.io/slcli
13
-
13
+ .. image :: https://https://github.com/softlayer/softlayer-python/workflows/Snap%20Builds/badge.svg
14
+ :target: https://github.com/softlayer/softlayer-python/actions?query=workflow:"Snap+Builds"
14
15
15
16
This library provides a simple Python client to interact with `SoftLayer's
16
17
XML-RPC API <https://softlayer.github.io/reference/softlayerapi> `_.
Original file line number Diff line number Diff line change @@ -6,11 +6,32 @@ description: |
6
6
SLCLI documentation can be found here: https://softlayer-python.readthedocs.io/en/latest/
7
7
8
8
license : MIT
9
-
10
- base : core22
9
+ website : https://www.ibm.com/cloud
10
+ source-code : https://github.com/softlayer/softlayer-python
11
+ issues : https://github.com/softlayer/softlayer-python/issues
12
+ contact : https://github.com/softlayer/softlayer-python
13
+ icon : snap/local/slcli.png
14
+ base : core24
11
15
grade : stable
12
16
confinement : strict
13
17
18
+ platforms :
19
+ amd64 :
20
+ build-on : [amd64]
21
+ build-for : [amd64]
22
+ arm64 :
23
+ build-on : [arm64]
24
+ build-for : [arm64]
25
+ armhf :
26
+ build-on : [armhf]
27
+ build-for : [armhf]
28
+ ppc64el :
29
+ build-on : [ppc64el]
30
+ build-for : [ppc64el]
31
+ s390x :
32
+ build-on : [s390x]
33
+ build-for : [s390x]
34
+
14
35
apps :
15
36
slcli :
16
37
command : bin/slcli
@@ -25,10 +46,10 @@ parts:
25
46
slcli :
26
47
source : https://github.com/softlayer/softlayer-python
27
48
source-type : git
28
- plugin : python
49
+ plugin : python
29
50
override-pull : |
30
- snapcraftctl pull
31
- snapcraftctl set-version "$(git describe --tags | sed 's/^v//')"
51
+ craftctl default
52
+ craftctl set version= "$(git describe --tags | sed 's/^v//')"
32
53
33
54
build-packages :
34
55
- python3
You can’t perform that action at this time.
0 commit comments