-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update deb workflows and add dev-test branch
- Loading branch information
Nicolas Selva
committed
Aug 1, 2024
1 parent
b767f0b
commit b66b3c7
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Deb build push notify | ||
on: | ||
push: | ||
branches: | ||
- dev-test | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deb: | ||
runs-on: | ||
group: self-hosted | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set package version variable | ||
shell: bash | ||
run: | | ||
echo VERSION=$(cat setup.py | grep "version =" | cut -d '"' -f 2 && echo "-" && date "+%Y%m%d%H%M%S" && echo "~" && echo ${{ github.sha }} | cut -c1-7 ) | tr -d [:space:] >> $GITHUB_ENV | ||
- name: Deb build push and notify | ||
uses: IMIO/gha/[email protected] | ||
with: | ||
REPOSITORY_URL: ${{ secrets.NEXUS_BOOKWORM_TEST_URL }} | ||
REPOSITORY_LOGIN: ${{ secrets.NEXUS_LOGIN }} | ||
REPOSITORY_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
PACKAGE_NAME: ${{ github.event.repository.name }} | ||
PACKAGE_VERSION: ${{ env.VERSION }} | ||
PACKAGE_INSTALL_PATH: '/usr/lib' | ||
SIGNER_KEY_PASSPHRASE: ${{ secrets.DEB_SIGNER_PASSPHRASE }} | ||
SIGNER_KEY: ${{ secrets.DEB_SIGNER_KEY }} | ||
MATTERMOST_WEBHOOK_URL: ${{ secrets.TELESERVICES_MATTERMOST_WEBHOOK_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters