2
私はPythonアプリケーションのためにbitbucket-pipelines.yml
をセットアップしました。 bitbucketパイプラインにPostgres拡張機能をインストールする
image: node
pipelines:
default:
- step:
script:
- npm install
- npm test
services:
- postgres
definitions:
services:
postgres:
image: postgres
environment:
POSTGRES_DB: 'pipelines'
POSTGRES_USER: 'test_user'
POSTGRES_PASSWORD: 'test_user_password'
は私が私のDBにいくつかの特定の拡張子を必要とする、私はこれらを追加する方法:それは、私は、次の設定に私をリードしてきましたここのチュートリアル(
https://confluence.atlassian.com/bitbucket/test-with-databases-in-bitbucket-pipelines-856697462.html)を続いてきたように、Postgresデータベースを必要とします。私はそれらをインストールするスクリプトに余分を追加しようとしましたが、その時点でpostgresは起動していないようです。