jx promote WARNINGS and errors
80kk opened this issue · 1 comments
80kk commented
Each time when I run jx-promote
it is throwing a list of warnings and errors but despite that it is promoting and opening a PR.
about to run: git clone https://github.com/x/y.git /tmp/jx-git-3930253157 in dir /tmp
Cloning into '/tmp/jx-git-3930253157'...
WARNING: ignoring missing user name in git credentials file: /home/k/.git-credentials URL: kk80:ghp_xyz
using version stream from dev environment
WARNING: the cluster.chartRepository in your jx-requirements.yml looks like its an internal service URL so trying to discover from kubernetes ingress resources
Promoting app x version 1.2.3 to namespace jx-xyz
WARNING: No $JOB_NAME environment variable found so cannot record promotion activities into the PipelineActivity resources in kubernetes
WARNING: ignoring missing user name in git credentials file: /home/k/.git-credentials URL: kk80:ghp_xyz
WARNING: ignoring missing user name in git credentials file: /home/k/.git-credentials URL: kk80:ghp_xyz
Created Pull Request: https://github.com/x/y/pull/2052
pipeline x/y/commit-message
WARNING: No $BUILD_NUMBER environment variable found so cannot record promotion activities into the PipelineActivity resources in kubernetes
WARNING: Failed to query the Pull Request last commit status for https://github.com/x/y/pull/2052 ref 1234567890 no commit statuses returned for repository x/y for PR last commit status of 1234567890
The build for the Pull Request last commit is currently in progress.
The build for the Pull Request last commit is currently in progress.
The build for the Pull Request last commit is currently in progress.
The build for the Pull Request last commit is currently in progress.
The build for the Pull Request last commit is currently in progress.
The build for the Pull Request last commit is currently in progress.
The build for the Pull Request last commit is currently in progress.
WARNING: Failed to merge the Pull Request https://github.com/x/y/pull/2052 due to Method Not Allowed maybe I don't have karma?
and it sits forever on the last message.
jx version
version: 3.3.2
shaCommit: 84835b8dc07eec8c3b232097382740f6337505bb
buildDate: Fri Jul 8 21:04:42 UTC 2022
goVersion: 1.17.9
branch: main
gitTreeState: clean
ankitm123 commented
Check if there is some branch protection? Or if the bot has the permissions to merge PR in this repo?