bitbucket-pipelines

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 enable / setup Dependency Caches for apt-get on BitBucket Pipelines

五迷三道 提交于 2019-11-30 14:47:21
问题 I am using the following code in my bitbucket-pipelines.yml files to remotely deply code to a staging server. image: php:7.1.1 pipelines: default: - step: script: # install ssh - apt-get update && apt-get install -y openssh-client # get the latest code - ssh user@domain.com -F ~/.ssh/config "cd /path/to/code && git pull" # update composer - ssh user@domain.com -F ~/.ssh/config "cd /path/to/code && composer update --no-scripts" # optimise files - ssh user@domain.com -F ~/.ssh/config "cd /path

How to enable / setup Dependency Caches for apt-get on BitBucket Pipelines

ⅰ亾dé卋堺 提交于 2019-11-30 11:59:00
I am using the following code in my bitbucket-pipelines.yml files to remotely deply code to a staging server. image: php:7.1.1 pipelines: default: - step: script: # install ssh - apt-get update && apt-get install -y openssh-client # get the latest code - ssh user@domain.com -F ~/.ssh/config "cd /path/to/code && git pull" # update composer - ssh user@domain.com -F ~/.ssh/config "cd /path/to/code && composer update --no-scripts" # optimise files - ssh user@domain.com -F ~/.ssh/config "cd /path/to/code && php artisan optimize" This all works, except that each time the pipeline is run, the ssh

android environment using docker and bitbucket pipelines

ⅰ亾dé卋堺 提交于 2019-11-29 23:05:01
I am very new to Bitbucket pipelines (Beta) and docker.No previous experience on CI integration I followed this question , But no clear description for beginners I am trying to set up Continuous Integration (CI) in Bitbucket Pipelines for Android Project using docker container I want to use my previous android project with this container Steps I followed Step 1 . Installed Docker Software tools . Successfully installed. Step 2 . Created Virtual Machine Successfully Step 3 . Created container from Kitematic (Beta) Uber/Android-Build-Environment Step 4 . Build Project Successfully using $ eval "

android environment using docker and bitbucket pipelines

坚强是说给别人听的谎言 提交于 2019-11-28 20:09:19
问题 I am very new to Bitbucket pipelines (Beta) and docker.No previous experience on CI integration I followed this question , But no clear description for beginners I am trying to set up Continuous Integration (CI) in Bitbucket Pipelines for Android Project using docker container I want to use my previous android project with this container Steps I followed Step 1 . Installed Docker Software tools . Successfully installed. Step 2 . Created Virtual Machine Successfully Step 3 . Created container