আমি সিআই / সিডির জন্য পোস্টগ্র্রেএসকিউএল সহ বিটবকেট পাইপলাইন ব্যবহার করছি। এই ডকুমেন্টেশন অনুসারে পোস্টগ্র্যাস এসকিউএল পরিষেবাটি এভাবে বর্ণিত হয়েছে bitbucket-pipelines.yml
:
definitions:
services:
postgres:
image: postgres:9.6-alpine
এটি এখন অবধি ঠিকঠাক কাজ করেছে। তবে আমার সমস্ত সর্বশেষ পাইপলাইন নিম্নলিখিত ত্রুটির সাথে ব্যর্থ হয়েছে:
Error: Database is uninitialized and superuser password is not specified.
You must specify POSTGRES_PASSWORD for the superuser. Use
"-e POSTGRES_PASSWORD=password" to set it in "docker run".
You may also use POSTGRES_HOST_AUTH_METHOD=trust to allow all connections
without a password. This is *not* recommended. See PostgreSQL
documentation about "trust":
https://www.postgresql.org/docs/current/auth-trust.html
আমি কীভাবে এটি ঠিক করতে পারি? bitbucket-pipelines.yml
ফাইলটিতে কোনও পরিবর্তন হয়নি যা এই জাতীয় ত্রুটির কারণ হতে পারে ..