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

chore(ci): Update delivery credentials (#543) #546

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
7 changes: 5 additions & 2 deletions .github/actions/delivery/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ inputs:
distrib:
description: "The distribution used for packaging"
required: true
repos_username:
nexus_username:
description: "Artifact Manager technical username"
required: true
repos_password:
nexus_password:
description: "Artifact Manager technical password"
required: true
version:
Expand Down Expand Up @@ -40,6 +40,9 @@ inputs:
yum_repo_url:
description: "The legacy yum repo url"
required: true
artifactory_token:
description: "The token for artifactory"
required: true

runs:
using: "composite"
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/centreon-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ jobs:
with:
distrib: ${{ matrix.distrib }}
version: ${{ env.version }}
repos_username: ${{ secrets.REPOS_USERNAME }}
repos_password: ${{ secrets.REPOS_PASSWORD }}
repos_username: ${{ secrets.NEXUS_USERNAME }}
repos_password: ${{ secrets.NEXUS_PASSWORD }}
tuntoja marked this conversation as resolved.
Show resolved Hide resolved
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-${{ github.run_id }}

delivery-centos:
Expand All @@ -214,9 +215,10 @@ jobs:
minor_version: ${{ needs.create-version.outputs.patch }}
release: ${{ needs.create-version.outputs.release }}
module_name: centreon-collect
repos_username: ${{ secrets.REPOS_USERNAME }}
repos_password: ${{ secrets.REPOS_PASSWORD }}
cache_key: cache-${{ github.sha }}-${{ github.run_id }}
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: cache-${{ github.sha }}-rpmbuild-centreon-collect-${{ matrix.distrib }}-${{ github.head_ref || github.ref_name }}
tuntoja marked this conversation as resolved.
Show resolved Hide resolved
update_repo_path: ${{ secrets.UPDATE_REPO_PATH }}
cloudfront_id: ${{ secrets.CLOUDFRONT_ID }}
yum_repo_address: ${{ secrets.YUM_REPO_ADDRESS }}
Expand Down