Skip to content

Commit 720b1f7

Browse files
committed
experimental stuff
1 parent 4703bc3 commit 720b1f7

6 files changed

Lines changed: 16 additions & 316 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 16 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ name: ci
33
on:
44
push:
55
branches:
6-
- master
7-
- release/**
6+
- antonpirker/test-gh-workflows
87

98
pull_request:
109

1110
jobs:
1211
dist:
13-
name: distribution packages
12+
name: Build Layer Directory
1413
timeout-minutes: 10
1514
runs-on: ubuntu-latest
1615

@@ -23,124 +22,28 @@ jobs:
2322

2423
- run: |
2524
pip install virtualenv
26-
make aws-lambda-layer-build
25+
make dist
26+
mkdir dist/sentry-lambda-layer
27+
mkdir dist/sentry-lambda-layer/python
28+
echo "something" > dist/sentry-lambda-layer/python/bla.txt
29+
echo "not enought stuff?" > dist/sentry-lambda-layer/main.txt
30+
31+
# make dist
32+
# make lambda-layer-dir (new)
33+
# make add-extension-binaries (new)
34+
# make lambda-distribution-zip (new)
2735

2836
- uses: actions/upload-artifact@v2
2937
with:
3038
name: ${{ github.sha }}
3139
path: |
3240
dist/*
33-
dist-serverless/*
34-
35-
docs:
36-
timeout-minutes: 10
37-
name: build documentation
38-
runs-on: ubuntu-latest
3941
42+
extension:
43+
name: Build extions package
4044
steps:
41-
- uses: actions/checkout@v2
42-
- uses: actions/setup-node@v1
43-
- uses: actions/setup-python@v2
44-
with:
45-
python-version: 3.9
46-
47-
- run: |
48-
pip install virtualenv
49-
make apidocs
50-
cd docs/_build && zip -r gh-pages ./
51-
52-
- uses: actions/upload-artifact@v2
45+
- uses: actions/download-artifact@v2
5346
with:
5447
name: ${{ github.sha }}
55-
path: docs/_build/gh-pages.zip
56-
57-
lint:
58-
timeout-minutes: 10
59-
runs-on: ubuntu-latest
60-
61-
steps:
62-
- uses: actions/checkout@v2
63-
- uses: actions/setup-python@v2
64-
with:
65-
python-version: 3.9
66-
6748
- run: |
68-
pip install tox
69-
tox -e linters
70-
71-
test:
72-
continue-on-error: true
73-
timeout-minutes: 45
74-
runs-on: ${{ matrix.linux-version }}
75-
strategy:
76-
matrix:
77-
linux-version: [ubuntu-latest]
78-
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
79-
include:
80-
# GHA doesn't host the combo of python 3.4 and ubuntu-latest (which is
81-
# currently 20.04), so run just that one under 18.04. (See
82-
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
83-
# for a listing of supported python/os combos.)
84-
- linux-version: ubuntu-18.04
85-
python-version: "3.4"
86-
87-
services:
88-
# Label used to access the service container
89-
redis:
90-
# Docker Hub image
91-
image: redis
92-
# Set health checks to wait until redis has started
93-
options: >-
94-
--health-cmd "redis-cli ping"
95-
--health-interval 10s
96-
--health-timeout 5s
97-
--health-retries 5
98-
ports:
99-
# Maps port 6379 on service container to the host
100-
- 6379:6379
101-
102-
postgres:
103-
image: postgres
104-
env:
105-
POSTGRES_PASSWORD: sentry
106-
# Set health checks to wait until postgres has started
107-
options: >-
108-
--health-cmd pg_isready
109-
--health-interval 10s
110-
--health-timeout 5s
111-
--health-retries 5
112-
# Maps tcp port 5432 on service container to the host
113-
ports:
114-
- 5432:5432
115-
116-
env:
117-
SENTRY_PYTHON_TEST_POSTGRES_USER: postgres
118-
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
119-
SENTRY_PYTHON_TEST_POSTGRES_NAME: ci_test
120-
121-
steps:
122-
- uses: actions/checkout@v2
123-
- uses: actions/setup-node@v1
124-
- uses: actions/setup-python@v2
125-
with:
126-
python-version: ${{ matrix.python-version }}
127-
128-
- name: setup
129-
env:
130-
PGHOST: localhost
131-
PGPASSWORD: sentry
132-
run: |
133-
psql -c 'create database travis_ci_test;' -U postgres
134-
psql -c 'create database test_travis_ci_test;' -U postgres
135-
pip install codecov tox
136-
137-
- name: run tests
138-
env:
139-
CI_PYTHON_VERSION: ${{ matrix.python-version }}
140-
timeout-minutes: 45
141-
run: |
142-
coverage erase
143-
./scripts/runtox.sh '' --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
144-
coverage combine .coverage*
145-
coverage xml -i
146-
codecov --file coverage.xml
49+
ls -alh

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/jira.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)