Tag: bitbucket

pipe道失败,自定义泊坞窗图像

在salmantariq/node_mysql hub上有一个自定义的salmantariq/node_mysql : salmantariq/node_mysql 。 它通过nvm安装了MySQL服务器和节点。 我得到以下错误。 我相信我在这里失去了一些东西,但不知道是什么。 { bash: cannot set terminal process group (9): Not a ttybash: no job control in this shell+ umask 000+ git clone –branch="user-login-error-fix" –depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/diligensoftware/web.git $BUILD_DIR ; git reset –hard ed570209d7a4a1d7b29fe09d9dd7909ed42ed65e ; git remote set-url origin https://x-token-auth:{access_token}@bitbucket.org/diligensoftware/web.gitCloning into '/opt/atlassian/pipelines/agent/build'…HEAD is now at ed57020 configuring test+ chmod 777 […]

在bitbucket Webhook之后标记docker image

我们有一个在bitbucket中configuration的Webhook,在每个'git push'之后,hub.docker.com会被通知自动构build我们的docker镜像。 有没有什么办法自动标记新的图像与来自bitbucket webhook的信息?用散列提交mIdeally?

Dockerfile:设置Bitbucket的SSH密钥

我有一些像这样的内容的自定义Dockerfile: RUN mkdir -p ~/.ssh RUN mv smart_key ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa RUN ssh-keyscan -t rsa bitbucket.org > ~/.ssh/known_hosts #RUN echo " IdentityFile smart_key" >> ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa && ssh-keyscan -t rsa bitbucket.org > ~/.ssh/known_hosts RUN ssh -T git@bitbucket.org 我在这一行有个问题: RUN mv smart_key ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa 它失败,并出现错误: mv: cannot stat […]

bitbucket docker权限被拒绝(publickey)。 致命的:无法从远程存储库读取

我正在用下面的代码创build一个docker文件: # Update aptitude with new repo RUN apt-get update # Install software RUN apt-get install -y git # Make ssh dir RUN mkdir /root/.ssh/ # Copy over private key, and set permissions ADD id_rsa /root/.ssh/id_rsa # Create known_hosts RUN touch /root/.ssh/known_hosts # Add bitbuckets key RUN ssh-keyscan bitbucket.org >> /root/.ssh/known_hosts RUN chgrp 545 ~/.ssh/id_rsa […]

Bitbucketpipe道耙testing需要20分钟

我们已经计算出来了,bitbucketstream水线里的raketesting比我们在本地运行时要长50倍。 我们正在使用Docker。 有没有人经历过这个呢?

Bitbucketpipe道:将cakephp图像与mysql图像链接在一起

我正在使用Bitbucket piplines。 我有两个图像:cakephp图像和mysql图像。 所以我想指定mysql映像作为服务,所以我可以在我的cakephp映像中使用它。 但问题是:cakephp容器没有看到这个服务。 这里是我使用https://confluence.atlassian.com/bitbucket/test-with-databases-in-bitbucket-pipelines-856697462.html创build的bitbucket-pipelines.yml文件: image: handkock/cakephptests:1.0 pipelines: default: – step: script: – mysql -u root -e "use db; source /opt/atlassian/pipelines/agent/build/db_dump.sql;" – mysql -u root -e "CREATE DATABASE DB2; use DB2; source /opt/atlassian/pipelines/agent/build/db2.sql;" services: -mysql custom: # Pipelines that are triggered manually test: # The name that is displayed in the list in the […]

Jenkins在RaspberryPi 3(rpi-jenkins)的Docker中连接问题,当克隆一个Bitbucket Git Repo

我目前在Docker的Raspi上玩Jenkins(使用dilgerm / rpi-jenkins图片)。 现在我连接到一个Bitbucket Git存储库有一个问题。 当进入版本库url,我得到(众所周知的)“无法连接到存储库” 当使用https和提供凭据(通过jenkins凭据存储),我得到的错误。 当使用ssh并正确configuration密钥时,我得到相同的错误。 现在我想知道是否必须configurationdocker容器的ssh-key(对于Jenkins用户?)。 目前,我已经实现了主机Raspi本身的关键。 或者可能需要在启动时configuration/发布Docker容器的ssl端口(-p参数)? 任何帮助赞赏。

用dockerfile克隆私人git回购

我已经从似乎是各种各样的工作dockerfiles复制此代码,这里是我的: FROM ubuntu MAINTAINER Luke Crooks "luke@pumalo.org" # Update aptitude with new repo RUN apt-get update # Install software RUN apt-get install -y git python-virtualenv # Make ssh dir RUN mkdir /root/.ssh/ # Copy over private key, and set permissions ADD id_rsa /root/.ssh/id_rsa RUN chmod 700 /root/.ssh/id_rsa RUN chown -R root:root /root/.ssh # Create known_hosts […]

Docker Bitbucket。 git克隆从回购。 权限被拒绝(公钥)

我试图从Docker容器中设置的bitbucket实例中克隆一个私有的git仓库,并使用nginx来反向代理。 我可能搞砸了nginx文件和/或bitbucket的docker设置。 我也用PuttyKeyGen在我的本地Windows机器上创build了一个ssh密钥,并用putty pageant加载了我的私钥。然后我的公钥添加到了我的bitbucket网站configuration文件中。 这是当我尝试克隆到本地机器的回购时得到的错误: Cloning into 'test'… Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 这是我的服务器上的bitbucket的nginx文件: server { server_name example.com:7999; location /git { proxy_pass http://0.0.0.0:7999; } } server { server_name bitbucket.example.com; location / { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server […]

使用Bitbucket泊坞窗图像

我试图使用下面的链接中logging的bitbucket泊坞窗图像。 https://bitbucket.org/atlassian/docker-atlassian-bitbucket-server 我进展到了 调出容器。 点击url并创buildpipe理员用户。 但它不会login我。 The message is invalid userId/password. 重置不会工作,因为是一个容器,邮件服务没有build立。 我不能继续过去,这是令人沮丧的。 任何帮助表示赞赏。