bitbucket

git push to bitbucket fails immediately

假如想象 提交于 2019-12-02 09:58:57
With error Unable to lookup 'my bitbucket account' (port 9418) (A non-recoverable error occurred during a database lookup.) on a corporate bitbucket repository. It fails so quickly, it doesn't seem to be looking up anything. It almost feels like I need to clear out cache, but don't know if that's even possible. It has worked in the past with no issues and seems to be all of a sudden. I can log into the repository with no problem. Error only happens on push, clone, or pull. I'm going to assume, based on that port, that you're using the native git protocol on port 9418 instead of HTTPS or SSH -

Bitbucket - how to disable strange meaningless coloured guy [duplicate]

社会主义新天地 提交于 2019-12-02 08:43:17
问题 This question already has an answer here : Atlassian “logo” after pushing to bitbucket (1 answer) Closed 2 years ago . I use bitbucket. Lately I began to see a big coloured guy in my console after every push. Since last week it appears more and more often. It makes my log in the console longer and not convenient for work at all. Is there any way to disable it at all? I don't want to see it. I just want git. Thanks 回答1: According to this answer, its to celebrate the anniversary of the

Git .git/info/refs not valid: is this a git repository?

瘦欲@ 提交于 2019-12-02 08:39:42
I'm getting a strange problem in my CentOS server. My repositories are hosted on Bitbucket, and they were working fine until yesterday. Here is the problem. I get the following error when I try to push or pull from my CentOS terminal. fatal: https://[url]/[repo-name].git/info/refs not valid: is this a git repository? I can manage the same repositories using SourceTree on my Windows computer without a problem. But I need to be able to manage them using the terminal as well. How do I get over this problem? The Git version on my server is 1.8.2.1, and it was working fine until yesterday. Daphoa I

How to structure more than one function on git for automated deploy on Google Cloud Functions?

微笑、不失礼 提交于 2019-12-02 08:14:10
I'm start using the Google Cloud Functions and I've see that has an option to make an automated deploy from the bitbucket. I have multiple functions to deploy, should I have one repo per functions or can I have one repo but divided by directories or something else? that is what I'm talking about: Deploying from Source Control Thanks. You can have multiple functions in a single repo. A common structure would be as follows: . ├── common │ ├── module1.py │ └── module2.py ├── main.py └── requirements.txt Where main.py contains both functions: from common import module1, module2 def cloudfunction1

In Azure Devops, how do you select yaml pipelines when pulling from Bitbucket

允我心安 提交于 2019-12-02 07:07:00
When pulling code from an Azure Devops repo you get the option to configure the build pipeline based off a yaml file: However when using bitbucket as the repo, this same option isn't available. Is it possible to use YAML 'configuration as code' with BitBucket repos? You dont, unfortunately. its only supported for github and azure devops repositories (at the time of writing). https://visualstudio.uservoice.com/forums/330519-visual-studio-team-services/suggestions/33037504-yaml-bitbucket-task 来源: https://stackoverflow.com/questions/54344706/in-azure-devops-how-do-you-select-yaml-pipelines-when

Bitbucket - how to disable strange meaningless coloured guy [duplicate]

 ̄綄美尐妖づ 提交于 2019-12-02 04:53:28
This question already has an answer here: Atlassian “logo” after pushing to bitbucket 1 answer I use bitbucket. Lately I began to see a big coloured guy in my console after every push. Since last week it appears more and more often. It makes my log in the console longer and not convenient for work at all. Is there any way to disable it at all? I don't want to see it. I just want git. Thanks According to this answer , its to celebrate the anniversary of the declaration of same sex marriage as a legal right in the US You can disable it in your bitbucket account settings: Enable console messages:

Bitbucket Pipeline - how to exclude files or folders?

天涯浪子 提交于 2019-12-02 04:46:11
问题 How can I exclude folders or files from being uploaded to the server? I would like to ignore the "src" folder and package.json. # ----- image: node:10.15.3 pipelines: branches: develop: - step: caches: - node name: Deploy to develop (Nino) Continuous integration. script: # Modify the commands below to build your repository. - echo 'Deploying.. hold your horses!' - yarn install - yarn dev - pipe: atlassian/sftp-deploy:0.4.1 variables: USER: $USER PASSWORD: $ROOT_PASSWORD SERVER: $SERVER REMOTE

How to manually deploy direct from Bitbucket to Google App Engine?

瘦欲@ 提交于 2019-12-02 04:42:26
To manually deploy from a changed source on a Bitbucket repository (named trackfind) to a Google App Engine app (ID trackfind-1) , I'm doing this: 1 Go to https://console.cloud.google.com/home/dashboard?authuser=0&project=trackfind-1 2 Click Activate Google Cloud Shell: 3 Enter rm -rf trackfind 4 Enter git clone -b master https://chrisjj@bitbucket.org/chrisjj/trackfind.git 5 Enter appcfg.py -V 1 -A trackfind-1 update trackfind 6 Go to trackfind-1.appspot.com and verify changes are in place. I'm sure there must be a quicker, direct way, e.g. avoiding cloning the repository each time. (I'm not

使用Gitlab/Bitbucket等CI搭建自己的临时代理

左心房为你撑大大i 提交于 2019-12-01 21:56:44
这篇文章只是从技术层面探讨可行性,不接受一切反驳! 使用条件 一个有外网的主机(frp需要) gitlab或bitbucket账号 frp服务端搭建 具体可以查看 frp github主页 下载对应你操作系统版本的包(我的docker打包的客户端是0.17.0版本,想使用新版的可以自行打包) 服务端配置如下(frps.ini): 123 [common]bind_port = 7000token = 123456 解压下载的压缩包,启动服务端: ./frps -c frps.ini 注意开通7000及需要frp客户端映射端口(这里用到了6200) frp客户端 Gitlab参见 大专栏 使用Gitlab/Bitbucket等CI搭建自己的临时代理 rer">https://gitlab.com/0312birdzhang/frp_proxy 客户端配置如下(frpc.ini): 123456789 [common]server_addr = 12.13.14.15server_port = 7000token = 123456[socks_proxy_6200]type = tcpplugin = socks5remote_port = 6200 fork代码后,需要修改 server_addr 、 server_port 、 token 、 remote_port

Why I couldn't add the Git Url to my Jenkins?

徘徊边缘 提交于 2019-12-01 21:09:22
I'm very new to git and also Jenkins. I added the ssh keys to the bitbucket and in my local machine, when I do : git clone git@bitbucket.org:username/repo.git I can be able to clone. But when I add the same url ( git@bitbucket.org:username/repo.git ) to the Jenkins repository url I get an following error: Failed to connect to repository : Command "git ls-remote -h git@bitbucket.org:username/repo.git HEAD" returned status code 128: stdout: stderr: Permission denied (publickey). fatal: The remote end hung up unexpectedly John Szakmeister You need to set up the ssh keys for the Jenkins user too.