Skip to content

Commit aacd57b

Browse files
authored
ci: Use GHA instead of zeus (#286)
1 parent e31d1bb commit aacd57b

File tree

3 files changed

+20
-39
lines changed

3 files changed

+20
-39
lines changed

.craft.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1-
---
2-
minVersion: "0.9.0"
1+
minVersion: "0.13.2"
32
github:
43
owner: getsentry
54
repo: symbolic
5+
changelogPolicy: auto
6+
7+
statusProvider:
8+
name: github
9+
artifactProvider:
10+
name: github
11+
612
preReleaseCommand: bash scripts/bump-version
713
targets:
814
- name: crates
915
- name: pypi
1016
- name: github
11-
changelogPolicy: simple
1217
requireNames:
1318
- /^symbolic-.*-py2.py3-none-macosx_10_15_x86_64.whl$/
1419
- /^symbolic-.*-py2.py3-none-manylinux2010_i686.whl$/

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
python-version: 3.7
3030

3131
- uses: Swatinem/rust-cache@v1
32-
with:
33-
key: lints
3432

3533
- name: Run cargo fmt
3634
uses: actions-rs/cargo@v1
@@ -69,8 +67,6 @@ jobs:
6967
override: true
7068

7169
- uses: Swatinem/rust-cache@v1
72-
with:
73-
key: test-rust
7470

7571
- name: Run cargo test
7672
uses: actions-rs/cargo@v1
@@ -106,7 +102,5 @@ jobs:
106102
python-version: 3.7
107103

108104
- uses: Swatinem/rust-cache@v1
109-
with:
110-
key: test-python
111105

112106
- run: make test-python

.github/workflows/release.yml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,10 @@ jobs:
2727

2828
- run: make wheel SYMBOLIC_PYTHON=python2
2929

30-
- uses: actions/setup-node@v1
31-
32-
- name: Upload to Zeus
33-
env:
34-
ZEUS_HOOK_BASE: ${{ secrets.ZEUS_HOOK_BASE }}
35-
run: |
36-
npm install -D @zeus-ci/cli
37-
npx zeus job update --build ${{ github.run_id }} --job ${{ github.job }} --ref ${{ github.sha }}
38-
npx zeus upload --build ${{ github.run_id }} --job ${{ github.job }} --type "application/zip+wheel" py/dist/*
39-
npx zeus job update --build ${{ github.run_id }} --job ${{ github.job }} --status passed
30+
- uses: actions/upload-artifact@v2
31+
with:
32+
name: ${{ github.sha }}
33+
path: py/dist/*
4034

4135
python-wheel-linux:
4236
strategy:
@@ -61,16 +55,10 @@ jobs:
6155
- name: Build in Docker
6256
run: make wheel-manylinux IMAGE=quay.io/pypa/manylinux2010_${{ matrix.build-arch }}
6357

64-
- uses: actions/setup-node@v1
65-
66-
- name: Upload to Zeus
67-
env:
68-
ZEUS_HOOK_BASE: ${{ secrets.ZEUS_HOOK_BASE }}
69-
run: |
70-
npm install -D @zeus-ci/cli
71-
npx zeus job update --build ${{ github.run_id }} --job ${{ github.job }} --ref ${{ github.sha }}
72-
npx zeus upload --build ${{ github.run_id }} --job ${{ github.job }} --type "application/zip+wheel" py/dist/*
73-
npx zeus job update --build ${{ github.run_id }} --job ${{ github.job }} --status passed
58+
- uses: actions/upload-artifact@v2
59+
with:
60+
name: ${{ github.sha }}
61+
path: py/dist/*
7462

7563
sdist:
7664
name: Python sdist
@@ -85,13 +73,7 @@ jobs:
8573

8674
- run: make sdist
8775

88-
- uses: actions/setup-node@v1
89-
90-
- name: Upload to Zeus
91-
env:
92-
ZEUS_HOOK_BASE: ${{ secrets.ZEUS_HOOK_BASE }}
93-
run: |
94-
npm install -D @zeus-ci/cli
95-
npx zeus job update --build ${{ github.run_id }} --job ${{ github.job }} --ref ${{ github.sha }}
96-
npx zeus upload --build ${{ github.run_id }} --job ${{ github.job }} --type "application/zip+wheel" py/dist/*
97-
npx zeus job update --build ${{ github.run_id }} --job ${{ github.job }} --status passed
76+
- uses: actions/upload-artifact@v2
77+
with:
78+
name: ${{ github.sha }}
79+
path: py/dist/*

0 commit comments

Comments
 (0)