Merge pull request #1217 from zabbix/workflow_64

Workflow 64
This commit is contained in:
Alexey Pustovalov 2024-02-20 01:08:15 +09:00 committed by GitHub
commit 46183dc14f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -43,6 +43,6 @@ result = requests.patch(os.environ["API_URL"] + os.environ["PROJECT_ID"],
data = json.dumps(data))
print("::group::Result")
print("Response code: " + str(result))
print("Response code: " + str(result.status_code))
print("Last update date: " + json.loads(result.content)['last_update_date'])
print("::endgroup::")

View File

@ -125,5 +125,9 @@ jobs:
PROJECT_ID: ${{ secrets[format('{0}_{1}_PROJECT', steps.branch_info.outputs.secret_prefix, steps.var_format.outputs.matrix_build)] }}
PYXIS_API_TOKEN: ${{ secrets.REDHAT_API_TOKEN }}
API_URL: ${{ env.API_URL }}
run: python ./.github/scripts/rhel_description.py
COMPONENT: ${{ matrix.component }}
ZABBIX_RELEASE: ${{ steps.branch_info.outputs.zabbix_release }}
run: |
python ./.github/scripts/rhel_description.py
echo "https://catalog.redhat.com/software/containers/zabbix/zabbix-${COMPONENT}-${ZABBIX_RELEASE}/${PROJECT_ID}"