-
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.
[Dead-Hosts::Infrastructure][AuthChecker]
a4DCiuGlhAKT-WCrCiSgm3TV
- Loading branch information
1 parent
4ed70aa
commit e77adf8
Showing
2 changed files
with
61 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,60 @@ | ||
name: Platform Worker | ||
on: | ||
# schedule: | ||
# - cron: "0 */1 * * *" | ||
workflow_dispatch: {} | ||
|
||
env: | ||
PYFUNCEBLE_AUTO_CONFIGURATION: "YES" | ||
GIT_NAME: "${{ secrets.GIT_BOT_NAME }}" | ||
GIT_EMAIL: "${{ secrets.GIT_BOT_EMAIL }}" | ||
GIT_BRANCH: "${{ github.head_ref || github.ref_name }}" | ||
GIT_DISTRIBUTION_BRANCH: "${{ github.head_ref || github.ref_name }}" | ||
PYFUNCEBLE_CONFIG_DIR: "${{ github.workspace }}/.pyfunceble" | ||
GITHUB_TOKEN: "${{ secrets.BOT_REPO_PAT }}" | ||
PLATFORM_API_URL: "${{ secrets.PLATFORM_API_URL }}" | ||
PLATFORM_API_TOKEN: "${{ secrets.PLATFORM_API_TOKEN }}" | ||
PLATFORM_SCOPE: "${{ secrets.PLATFORM_SCOPE }}" | ||
PLATFORM_WORKER: "yes" | ||
PYFUNCEBLE_COLLECTION_API_TOKEN: "${{ secrets.PLATFORM_WORKER_TOKEN }}" | ||
|
||
jobs: | ||
trigger: | ||
name: Trigger action | ||
runs-on: "${{ matrix.os }}" | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python_version: | ||
- "3.11" | ||
os: | ||
- ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
name: Clone repository | ||
with: | ||
token: "${{ secrets.BOT_REPO_PAT }}" | ||
|
||
- name: Set up Python ${{ matrix.python_version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install --pre git+https://github.com/dead-hosts/infrastructure-launcher.git@dev | ||
pip install --upgrade PyFunceble-dev | ||
- name: Get PyFunceble version | ||
run: | | ||
PyFunceble --version | ||
- name: Get Launcher version | ||
run: | | ||
dead-hosts-launcher --version | ||
- name: Run Launcher | ||
run: | | ||
dead-hosts-launcher -d |
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 |
---|---|---|
@@ -1 +1 @@ | ||
1716182583.403273 | ||
1716268933.685985 |