Skip to content

Commit

Permalink
Release 0.1.1
Browse files Browse the repository at this point in the history
Migrate 0.1.1 (#4)
  • Loading branch information
jo-rivera authored Apr 28, 2022
2 parents cc273e1 + e973bdf commit 8607f11
Show file tree
Hide file tree
Showing 72 changed files with 3,744 additions and 350 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CHECKIN_CI

# Run this workflow every time a commit is pushed to main or a pull request is opened against main
on:
Expand All @@ -7,10 +7,11 @@ on:
- main
- dev
pull_request:
branches:
branches:
- main
- dev

workflow_dispatch:

jobs:
build-and-test:
runs-on: ubuntu-latest
Expand All @@ -20,7 +21,7 @@ jobs:
username: ${{ secrets.ACR_PRINCIPAL_ID }}
password: ${{ secrets.ACR_PRINCIPAL_PWD }}
timeout-minutes: 15

steps:
- uses: actions/checkout@master
- name: Build
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync issue to Azure DevOps work item

on:
issues:
types:
[opened, edited, deleted, closed, renamed, reopened, labeled, unlabeled, assigned]

jobs:
alert:
runs-on: ubuntu-latest
steps:
- uses: danhellem/github-actions-issue-to-work-item@master
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
ado_organization: "${{ secrets.ADO_ORGANIZATION }}"
ado_project: "${{ secrets.ADO_PROJECT }}"
ado_wit: "Bug"
ado_new_state: "New"
ado_active_state: "Active"
ado_resolved_state: "Resolved"
ado_close_state: "Closed"
ado_bypassrules: true
log_level: 100
66 changes: 66 additions & 0 deletions .github/workflows/nightly_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: NIGHTLY_CI
on:
push:
branches:
- main
- dev
schedule:
- cron: '30 8 * * *'

jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: rfsxbuild.azurecr.io/gnuradiopipeline:3.9.2.0-3
credentials:
username: ${{ secrets.ACR_PRINCIPAL_ID }}
password: ${{ secrets.ACR_PRINCIPAL_PWD }}
timeout-minutes: 20

steps:
- uses: actions/checkout@master
- name: Build
run: |
cd gr-azure-software-radio; pip install -r python/requirements.txt
mkdir build; cd build; cmake ..; cmake --build . -j --config Release
- name: Install
run: |
cd gr-azure-software-radio/build
sudo make install -j
- name: Update GNURadio preferences
run: |
mkdir -p "${HOME}/.gnuradio/prefs/"
echo "gr::vmcircbuf_sysv_shm_factory" > "${HOME}/.gnuradio/prefs/vmcircbuf_default_factory"
- name: Run Tests
env:
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}
AZURE_STORAGE_URL: ${{ secrets.AZURE_STORAGE_URL }}
AZURE_STORAGE_SAS: ${{ secrets.AZURE_STORAGE_SAS }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_EVENTHUB_CONNECTION_STRING: ${{ secrets.AZURE_EVENTHUB_CONNECTION_STRING }}
AZURE_EVENTHUB_NAME: ${{ secrets.AZURE_EVENTHUB_NAME }}
AZURE_EVENTHUB_CONSUMER_GROUP: ${{ secrets.AZURE_EVENTHUB_CONSUMER_GROUP }}
AZURE_EVENTHUB_HOST_NAME: ${{ secrets.AZURE_EVENTHUB_HOST_NAME }}
AZURE_KEYVAULT_NAME: ${{ secrets.AZURE_KEYVAULT_NAME }}
AZURE_KEYVAULT_TEST_KEY: ${{ secrets.AZURE_KEYVAULT_TEST_KEY }}
AZURE_STORAGE_READONLY_SAS: ${{ secrets.AZURE_STORAGE_READONLY_SAS }}
run: |
cd gr-azure-software-radio/build
export PYTHONPATH=${{ secrets.PYTHONPATH }}; export LD_LIBRARY_PATH=${{ secrets.LD_LIBRARY_PATH }};ctest -V -T test;
echo " "
echo "Now running integration..."
cd ..; cd python; python3 -m unittest integration_blob_source.py; python3 -m unittest integration_blob_sink.py; python3 -m unittest integration_default_credentials.py; python3 -m unittest integration_eventhub_sink.py; python3 -m unittest integration_eventhub_source.py;
shell: bash
- name: pylint
continue-on-error: false
run: |
export PYTHONPATH=${{ secrets.PYTHONPATH }}; export LD_LIBRARY_PATH=${{ secrets.LD_LIBRARY_PATH }};
cd ..
pylint azure-software-radio --rcfile azure-software-radio/.pylintrc
- name: check step
if: success()
run: echo pylint has passed all checks
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
Here we are sharing two assets we have developed to-date. Click on either link to dive in further!


1. [GNURadio - Azure Out of Tree Module](./gr-azure-software-radio/README.md)
1. [GNU Radio - Azure Out of Tree Module](./gr-azure-software-radio/README.md)
2. [Azure software radio Developer Virtual Machine](./pages/devvm.md)

We have also prepared a series of [tutorials](./tutorials/README.md) that walk you through setting up and using the Developer VM with the Azure Out of Tree Modules.

## Support

Expand Down
Loading

0 comments on commit 8607f11

Please sign in to comment.