feat: only publish pkgs when we're in staging branches (#556)
See https://github.com/ooni/probe/issues/1506#issuecomment-949664779
This commit is contained in:
parent
197dc37461
commit
a9319142f3
1
.github/workflows/android.yml
vendored
1
.github/workflows/android.yml
vendored
|
@ -3,6 +3,7 @@ name: android
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- "mobile-staging"
|
||||
- "release/**"
|
||||
jobs:
|
||||
test:
|
||||
|
|
1
.github/workflows/ios.yml
vendored
1
.github/workflows/ios.yml
vendored
|
@ -3,6 +3,7 @@ name: ios
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- "mobile-staging"
|
||||
- "release/**"
|
||||
jobs:
|
||||
test:
|
||||
|
|
1
.github/workflows/jafar.yml
vendored
1
.github/workflows/jafar.yml
vendored
|
@ -1,3 +1,4 @@
|
|||
# jafar checks whether the jafar tool is still WAI.
|
||||
name: jafar
|
||||
on:
|
||||
push:
|
||||
|
|
9
.github/workflows/linux.yml
vendored
9
.github/workflows/linux.yml
vendored
|
@ -1,11 +1,10 @@
|
|||
# linux builds ooniprobe for Linux
|
||||
# linux builds and publishes ooniprobe for Linux
|
||||
name: linux
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "release/**"
|
||||
- "stable"
|
||||
- "linux"
|
||||
- "ooniprobe-staging"
|
||||
|
||||
jobs:
|
||||
build_386:
|
||||
|
@ -15,6 +14,7 @@ jobs:
|
|||
- run: ./mk OONI_PSIPHON_TAGS="" DEBIAN_TILDE_VERSION=$GITHUB_RUN_NUMBER ./debian/386
|
||||
- run: ./E2E/ooniprobe.sh ./CLI/linux/386/ooniprobe
|
||||
- run: ./CLI/linux/pubdebian
|
||||
if: github.ref == 'refs/heads/ooniprobe-staging'
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
@ -27,6 +27,7 @@ jobs:
|
|||
- run: ./mk OONI_PSIPHON_TAGS="" DEBIAN_TILDE_VERSION=$GITHUB_RUN_NUMBER ./debian/amd64
|
||||
- run: ./E2E/ooniprobe.sh ./CLI/linux/amd64/ooniprobe
|
||||
- run: ./CLI/linux/pubdebian
|
||||
if: github.ref == 'refs/heads/ooniprobe-staging'
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
@ -41,6 +42,7 @@ jobs:
|
|||
- run: ./mk OONI_PSIPHON_TAGS="" DEBIAN_TILDE_VERSION=$GITHUB_RUN_NUMBER ./debian/arm
|
||||
- run: ./E2E/ooniprobe.sh ./CLI/linux/arm/ooniprobe
|
||||
- run: ./CLI/linux/pubdebian
|
||||
if: github.ref == 'refs/heads/ooniprobe-staging'
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
@ -55,6 +57,7 @@ jobs:
|
|||
- run: ./mk OONI_PSIPHON_TAGS="" DEBIAN_TILDE_VERSION=$GITHUB_RUN_NUMBER ./debian/arm64
|
||||
- run: ./E2E/ooniprobe.sh ./CLI/linux/arm64/ooniprobe
|
||||
- run: ./CLI/linux/pubdebian
|
||||
if: github.ref == 'refs/heads/ooniprobe-staging'
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
|
1
.github/workflows/miniooni.yml
vendored
1
.github/workflows/miniooni.yml
vendored
|
@ -5,6 +5,7 @@ name: miniooni
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
- "release/**"
|
||||
jobs:
|
||||
test:
|
||||
|
|
4
.github/workflows/oohelperd.yml
vendored
4
.github/workflows/oohelperd.yml
vendored
|
@ -1,9 +1,10 @@
|
|||
# oohelperd builds oohelperd for Linux
|
||||
# oohelperd builds and publishes oohelperd for Linux
|
||||
name: oohelperd
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "release/**"
|
||||
- "oohelperd-staging"
|
||||
|
||||
jobs:
|
||||
build_amd64:
|
||||
|
@ -31,6 +32,7 @@ jobs:
|
|||
dpkg-buildpackage -us -uc -b
|
||||
|
||||
- name: upload package
|
||||
if: github.ref == 'refs/heads/oohelperd-staging'
|
||||
run: |
|
||||
curl -fsSLO https://raw.githubusercontent.com/ooni/sysadmin/master/tools/debops-ci
|
||||
chmod +x debops-ci
|
||||
|
|
Loading…
Reference in New Issue
Block a user