Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.9.1 #10

Merged
merged 30 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d2a4586
Separate test for debs; Bump version to 0.9.1
asorbini Apr 15, 2024
c831a31
Clone repository during deb build
asorbini Apr 15, 2024
25915a9
Don't cancel parallel jobs
asorbini Apr 15, 2024
1ca6286
Debug failing workflow
asorbini Apr 15, 2024
40a0861
Trying to get container log printed out
asorbini Apr 15, 2024
222bbe7
Trying to get container log printed out
asorbini Apr 15, 2024
c19105e
Install dependencies to run integration test
asorbini Apr 15, 2024
33678b4
Install dependencies to run integration test
asorbini Apr 15, 2024
a09a5db
Fix int-test bug
asorbini Apr 15, 2024
ff5e763
Capture container logs
asorbini Apr 15, 2024
e7c0b2e
Make runner executable
asorbini Apr 15, 2024
9a94280
Clean up pull request workflows after closing them
asorbini Apr 15, 2024
47f4507
fix error in test
asorbini Apr 15, 2024
751edd1
Use runner.debug to increase verbosity; fix full-validation runner al…
asorbini Apr 15, 2024
3c0a3b4
Consistent testing invocation through makefile
asorbini Apr 16, 2024
bc8c417
Makefile improvements
asorbini Apr 16, 2024
d21b8a2
Don't use poetry in automation
asorbini Apr 16, 2024
c1a5ba3
Debug updated workflows
asorbini Apr 16, 2024
e53dd48
Avoid duplicate arg
asorbini Apr 16, 2024
b840ca1
Debug updated workflows
asorbini Apr 16, 2024
44e6b4f
pytest not being picked up
asorbini Apr 16, 2024
4dfc8e5
Don't update changelog in local deb builds
asorbini Apr 16, 2024
e130222
Debugging
asorbini Apr 16, 2024
a5377f6
DEBUGGING
asorbini Apr 16, 2024
1c9fea1
DEBUGGING
asorbini Apr 16, 2024
a43c94f
Fix deb build
asorbini Apr 16, 2024
63407a2
Fix deb build
asorbini Apr 16, 2024
4892b80
Don't resolve runner
asorbini Apr 16, 2024
5f98c47
Use different artifact names based on use of license; enable masquera…
asorbini Apr 16, 2024
5584c6c
info logs for experiment
asorbini Apr 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 41 additions & 9 deletions .github/workflows/_deb_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ jobs:
path: src/uno
submodules: true

- name: Clone support files
uses: actions/checkout@v4
with:
repository: mentalsmash/uno-ci
token: ${{ secrets.UNO_CI_PAT }}
ref: master
path: src/uno-ci

- name: Log in to GitHub
uses: docker/login-action@v3
with:
Expand All @@ -110,7 +102,12 @@ jobs:
with:
name: uno-${{inputs.platform}}-${{needs.config.outputs.BUILDER_TAG}}
path: src/uno/debian-dist/*
if: always()

- name: Upload test runner
uses: actions/upload-artifact@v4
with:
name: uno-runner-${{inputs.platform}}-${{needs.config.outputs.BUILDER_TAG}}
path: src/uno/build/pyinstaller-default-runner/runner

- name: Fix permissions
run: |
Expand All @@ -120,6 +117,41 @@ jobs:
chown -R $(id -u):$(id -g) /uno
if: always()

test-packages:
needs:
- config
- build-packages
runs-on: ${{ fromJson(needs.config.outputs.RUNNER) }}
steps:
- name: Clone uno
uses: actions/checkout@v4
with:
path: src/uno
submodules: true

- name: Clone support files
uses: actions/checkout@v4
with:
repository: mentalsmash/uno-ci
token: ${{ secrets.UNO_CI_PAT }}
ref: master
path: src/uno-ci

- name: Download artifacts
uses: actions/download-artifact@v4
with:
pattern: uno*-${{inputs.platform}}-${{needs.config.outputs.BUILDER_TAG}}

- name: Move artifacts in place
run: |
mkdir -p src/uno/build/pyinstaller-default-runner/runner
mv -v uno-runner-${{inputs.platform}}-${{needs.config.outputs.BUILDER_TAG}}/* \
src/uno/build/pyinstaller-default-runner/runner/

mkdir -p src/uno/debian-dist
mv -v uno-${{inputs.platform}}-${{needs.config.outputs.BUILDER_TAG}}/* \
src/uno/debian-dist/

- name: Build tester image
uses: docker/build-push-action@v5
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/_release_badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ jobs:
version=${sha_short}
color_version=orange
tag=nightly
badge_default_version=29b57b0427def87cc3ef4ab81c956c29
badge_default_base=2d53344e1ccfae961665e08432f18113
badge_static_version=d73e338805c7d2c348a2d7149a66f66c
badge_static_base=373e55438055b1222c9937797c949f9b
badge_default_version=e7aab205f782cc0c6f394a2fece90509
badge_default_base=8f31c46dcfd0543b42f356e5b1c6c2c8
badge_static_version=b310f08c34f051846877aeb59b0be311
badge_static_base=b0e38a84eb8679d5212e162fbb616773
;;
tag)
version=${{github.ref_name}}
color_version=green
tag=latest
badge_default_version=e7aab205f782cc0c6f394a2fece90509
badge_default_base=8f31c46dcfd0543b42f356e5b1c6c2c8
badge_static_version=b310f08c34f051846877aeb59b0be311
badge_static_base=b0e38a84eb8679d5212e162fbb616773
badge_default_version=29b57b0427def87cc3ef4ab81c956c29
badge_default_base=2d53344e1ccfae961665e08432f18113
badge_static_version=d73e338805c7d2c348a2d7149a66f66c
badge_static_base=373e55438055b1222c9937797c949f9b
;;
esac
(
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,16 @@ jobs:
base-image: ${{matrix.base-image}}
uno-middleware: ${{matrix.uno-middleware}}
test-without-license: ${{matrix.test-without-license}}

deb-validation:
needs: check-review-status
if: ${{ needs.check-review-status.outputs.FULL }}
strategy:
matrix:
base-tag: ["ubuntu:22.04"]
platform: [amd64]
uses: ./.github/workflows/_deb_build.yml
secrets: inherit
with:
base-tag: ${{ matrix.base-tag }}
platform: ${{ matrix.platform }}
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uno (0.9.0-1) UNRELEASED; urgency=high
uno (0.9.1-1) UNRELEASED; urgency=high

* Initial Debian release.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "uno"
version = "0.9.0"
version = "0.9.1"
description = "Dynamic site-to-site VPNs with WireGuard, frrouting, and RTI Connext DDS"
authors = ["Andrea Sorbini <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion uno/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.0"
__version__ = "0.9.1"