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

[GHA] Add checksum + execute command after file transfer is finished #200

Open
wants to merge 71 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
964b4f1
Create GHA Workflow
lucasmellos Jan 27, 2023
6d867cb
Improve Workflow name
lucasmellos Jan 27, 2023
7c5a3b2
Improve Workflow by supporting matrix
lucasmellos Jan 27, 2023
f3e4582
fix matrix to use reusable workflows
lucasmellos Jan 27, 2023
0a5392e
execute exec_command as sudo user
lucasmellos Jan 27, 2023
a583887
improve workflows by removing duplicates
lucasmellos Jan 27, 2023
740d169
bump ci
lucasmellos Jan 27, 2023
4f012f0
bump ci
lucasmellos Jan 27, 2023
54fd16e
bump ci
lucasmellos Jan 27, 2023
cc4c391
bump ci
lucasmellos Jan 30, 2023
153fc55
bump ci
lucasmellos Jan 30, 2023
ff153a5
bump ci
lucasmellos Jan 30, 2023
3af094c
bump ci
lucasmellos Jan 30, 2023
36c0c2f
remove ref from feat to main branch
lucasmellos Jan 30, 2023
a41e7c1
replace cd action
lucasmellos Jan 31, 2023
d932b63
replace cd action
lucasmellos Jan 31, 2023
0425c27
bump ci
lucasmellos Jan 31, 2023
0b86940
try a new file
lucasmellos Feb 1, 2023
532bd4f
upload based on pattern
lucasmellos Feb 1, 2023
cba9a3f
bump ci
lucasmellos Feb 1, 2023
9fedbb8
bump ci
lucasmellos Feb 1, 2023
99a6c48
bump ci
lucasmellos Feb 1, 2023
fd2f276
testing
lucasmellos Feb 1, 2023
f4fdca2
bump ci
lucasmellos Feb 1, 2023
e0ca4cf
testing
lucasmellos Feb 1, 2023
1a934bc
testing
lucasmellos Feb 1, 2023
f86b6bb
bump ci
lucasmellos Feb 1, 2023
bfa677a
bump ci
lucasmellos Feb 1, 2023
0dcb02d
bump ci
lucasmellos Feb 1, 2023
045ac55
bump ci
lucasmellos Feb 1, 2023
0928ac8
bump ci
lucasmellos Feb 1, 2023
ea59c2e
edit default branch
lucasmellos Feb 1, 2023
c55a3ce
test checksum + unlock files after they
lucasmellos Feb 2, 2023
7e775e0
Merge branch 'master' into master
lucasmellos Feb 3, 2023
f325972
Merge branch 'freeswitch:master' into master
lucasmellos Feb 9, 2023
589685b
init ci deb
lucasmellos Feb 9, 2023
d3fc612
bump ci
lucasmellos Feb 9, 2023
02ee386
bump ci
lucasmellos Feb 9, 2023
8087599
bump ci
lucasmellos Feb 9, 2023
defd39d
setup debian changelog
lucasmellos Feb 9, 2023
3056220
bump ci
lucasmellos Feb 9, 2023
4a485d2
bump ci
lucasmellos Feb 9, 2023
d2eb1fa
bump ci
lucasmellos Feb 9, 2023
a48784b
bump ci
lucasmellos Feb 9, 2023
c93dbc7
add permissions
lucasmellos Feb 9, 2023
15e5ed7
bump ci
lucasmellos Feb 9, 2023
329be91
remove permissions
lucasmellos Feb 9, 2023
bd8b633
configure secrets
lucasmellos Feb 9, 2023
10e2017
bump ci
lucasmellos Feb 9, 2023
fb1aa8f
bump ci
lucasmellos Feb 9, 2023
59c86e0
bump ci
lucasmellos Feb 9, 2023
0fee5d5
bump ci
lucasmellos Feb 9, 2023
0322b36
bump ci
lucasmellos Feb 9, 2023
ad304fe
bump ci
lucasmellos Feb 9, 2023
d691f19
add permissions to create a pr
lucasmellos Feb 9, 2023
8d840c2
bump ci
lucasmellos Feb 9, 2023
cbf5667
replace action
lucasmellos Feb 9, 2023
67bca2e
bump ci
lucasmellos Feb 9, 2023
2b0e688
bump ci
lucasmellos Feb 9, 2023
2df1105
support for multi-stage builds
lucasmellos Feb 10, 2023
a1031e6
bump ci
lucasmellos Feb 10, 2023
dcf4b5d
bump ci
lucasmellos Feb 10, 2023
454e56a
bump ci
lucasmellos Feb 10, 2023
add8138
test v2 release
lucasmellos Mar 8, 2023
26166fd
enable workflow dispatch
lucasmellos Mar 8, 2023
6783aa0
fix inputs
lucasmellos Mar 8, 2023
adf7aa7
disable fail-fast
lucasmellos Mar 8, 2023
11e2639
update build-deps
lucasmellos Mar 8, 2023
e33cb48
update max-parallel
lucasmellos Mar 8, 2023
4cc69a8
fix deps
lucasmellos Mar 8, 2023
c8b1d1f
temporarily disable arm64 builds
lucasmellos Mar 8, 2023
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
60 changes: 60 additions & 0 deletions .github/workflows/deb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Deb packages

on:
push:
branches: [ master ]
workflow_dispatch:

jobs:

sofia_build:
name: 'Build'
uses: signalwire/actions-template/.github/workflows/ci-deb-packages-v2.yml@feat/ci-deb
strategy:
fail-fast: false
max-parallel: 2
matrix:
BASE_IMAGE:
- debian:bullseye-20210927
- debian:buster
- debian:strech
PLATFORM:
# - arm64
- amd64
with:
PROJECT_NAME: sofia-sip
RUNNER: ubuntu-latest
BASE_IMAGE: ${{matrix.BASE_IMAGE}}
PLATFORM: ${{matrix.PLATFORM}}
# AUTHOR_EMAIL: [email protected]
# TARGET_BRANCH: master
# OS_FAMILIES: stretch,bullseye,buster
# secrets:
# PAT: ${{ secrets.PAT }}

# distribute_matrix:
# permissions: write-all
# name: 'Copy to remote'
# needs: sofia_build
# strategy:
# matrix:
# target_path:
# - /var/www/fsa/repo/deb/fsa/incoming
# - /var/www/fsa/repo/debian/release/incoming
# - /var/www/fsa/repo/debian/unstable/incoming
# - /var/www/repo/deb/freeswitch-1.8/incoming
# - /var/www/deb-public-unstable/incoming

# uses: signalwire/actions-template/.github/workflows/cd-scp.yml@main
# with:
# ARTIFACT_NAME: rpm-artifact
# TARGET_FOLDER: ${{ matrix.target_path }}
# RUNNER: ubuntu-latest
# EXEC_COMMANDS: find ${{ matrix.target_path }} -type f -name "*.tar.gz" -exec mv "{}" "{}".unlocked \;
# FILES: '*.tar.gz *.sha1'
# secrets:
# # Explicit define secrets for better understanding but it could be just inherit
# PROXY_URL: ${{ secrets.PROXY_URL }}
# USERNAME: ${{ secrets.USERNAME }}
# HOSTNAME: ${{ secrets.HOSTNAME }}
# TELEPORT_TOKEN: ${{ secrets.TELEPORT_TOKEN }}
5 changes: 3 additions & 2 deletions .github/workflows/e2e.yml → .github/workflows/rpm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Distribute Sofia-Sip
name: RPM packages

on:
push:
Expand Down Expand Up @@ -32,7 +32,8 @@ jobs:
ARTIFACT_NAME: rpm-artifact
TARGET_FOLDER: ${{ matrix.target_path }}
RUNNER: ubuntu-latest
FILES: '*.tar.gz'
EXEC_COMMANDS: find ${{ matrix.target_path }} -type f -name "*.tar.gz" -exec mv "{}" "{}".unlocked \;
FILES: '*.tar.gz *.sha1'
secrets:
# Explicit define secrets for better understanding but it could be just inherit
PROXY_URL: ${{ secrets.PROXY_URL }}
Expand Down