Skip to content

Commit

Permalink
Test bucket creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tzununbekov committed Feb 21, 2024
1 parent ce19649 commit f6bc548
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches: [master, ci-migration]
tags:

# Mage's `GenerateEnvFile` talks to GH API to setup tags, versions, etc.
env:
GITHUB_OWNER: mysteriumnetwork
GITHUB_REPO: node
Expand Down Expand Up @@ -73,16 +72,16 @@ jobs:
matrix:
platform:
# - PackageLinuxRaspberryImage
# - PackageLinuxAmd64
- PackageLinuxAmd64
# - PackageLinuxArm
# - PackageLinuxDebianAmd64
# - PackageLinuxDebianArm64
# - PackageLinuxDebianArm
# - PackageMacOSAmd64
# - PackageMacOSArm64
# - PackageWindowsAmd64
- PackageAndroid
- PackageAndroidProvider
# - PackageAndroid
# - PackageAndroidProvider

steps:
- uses: actions/checkout@v4
Expand All @@ -95,7 +94,10 @@ jobs:
name: env.sh

- name: Create bucket
if: contains(github.ref, 'refs/tags') || github.ref == 'refs/heads/master'
if: |
contains(github.ref, 'refs/tags') ||
github.ref == 'refs/heads/master' ||
github.ref == 'refs/heads/ci-migration'
run: |
source env.sh
go run mage.go -v MakeBucket
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
source env.sh
go run mage.go -v ${{ matrix.platform }}
# master only
# - name: Release Go report
# run: bin/release_goreport
- name: Release Go report
if: github.ref == 'refs/heads/master'
run: bin/release_goreport

release-tag:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -79,15 +79,15 @@ jobs:
with:
name: env.sh
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Remove bucket
run: go run mage.go -v RemoveBucket
# master only
# - name: Notify UptimeRobot
# run: |
# if [ "$NIGHTLY_BUILD" = "1" -o "$NIGHTLY_BUILD" = "T" -o "$NIGHTLY_BUILD" = "true" -o "$NIGHTLY_BUILD" = "True" -o "$NIGHTLY_BUILD" = "TRUE" ]; then
# curl -so /dev/null -I "$NIGHTLY_UPTIMEROBOT"
# fi
- name: Notify UptimeRobot
if: github.ref == 'refs/heads/master'
run: |
if [ "$NIGHTLY_BUILD" = "1" -o "$NIGHTLY_BUILD" = "T" -o "$NIGHTLY_BUILD" = "true" -o "$NIGHTLY_BUILD" = "True" -o "$NIGHTLY_BUILD" = "TRUE" ]; then
curl -so /dev/null -I "$NIGHTLY_UPTIMEROBOT"
fi
- name: PR Avado
run: go run mage.go -v CreateAvadoPR

0 comments on commit f6bc548

Please sign in to comment.