diff --git a/.github/workflows/centreon-collect.yml b/.github/workflows/centreon-collect.yml index 9adc91edc7..712a5229d3 100644 --- a/.github/workflows/centreon-collect.yml +++ b/.github/workflows/centreon-collect.yml @@ -75,7 +75,7 @@ jobs: uses: ./.github/workflows/get-environment.yml with: version_file: CMakeLists.txt - nightly_manual_trigger: ${{ inputs.nightly_manual_trigger }} + nightly_manual_trigger: ${{ inputs.nightly_manual_trigger || false }} unit-test: needs: [get-environment] diff --git a/.github/workflows/package-collect.yml b/.github/workflows/package-collect.yml index 4776156e7b..b2d31b9898 100644 --- a/.github/workflows/package-collect.yml +++ b/.github/workflows/package-collect.yml @@ -72,14 +72,14 @@ jobs: SCCACHE_PATH: "/usr/bin/sccache" SCCACHE_BUCKET: "centreon-github-sccache" SCCACHE_REGION: "eu-west-1" - AWS_ACCESS_KEY_ID: ${{ secrets.collect_s3_access_key }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.collect_s3_secret_key }} + AWS_ACCESS_KEY_ID: ${{ secrets.COLLECT_S3_ACCESS_KEY }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.COLLECT_S3_SECRET_KEY }} container: image: ${{ vars.DOCKER_INTERNAL_REGISTRY_URL }}/${{ matrix.image }}:${{ inputs.img_version }} credentials: - username: ${{ secrets.registry_username }} - password: ${{ secrets.registry_password }} + username: ${{ secrets.HARBOR_CENTREON_PULL_USERNAME }} + password: ${{ secrets.HARBOR_CENTREON_PULL_TOKEN }} name: package ${{ matrix.distrib }} ${{ matrix.arch }} @@ -242,8 +242,8 @@ jobs: - name: Create Jira ticket if nightly build failure uses: ./.github/actions/create-jira-ticket with: - jira_base_url: ${{ secrets.jira_base_url }} - jira_user_email: ${{ secrets.jira_user_email }} - jira_api_token: ${{ secrets.jira_api_token }} + jira_base_url: ${{ secrets.JIRA_BASE_URL }} + jira_user_email: ${{ secrets.XRAY_JIRA_USER_EMAIL }} + jira_api_token: ${{ secrets.XRAY_JIRA_TOKEN }} module_name: "centreon-collect" ticket_labels: '["Nightly", "Pipeline", "nightly-${{ github.ref_name }}", "package"]'