Merge ~ballot/charm-k8s-postgresql/+git/charm-k8s-postgresql:ballot_review into charm-k8s-postgresql:master

Proposed by Stuart Bishop
Status: Merged
Approved by: Tom Haddon
Approved revision: db7d9b65deeb3cb028ed08cee53bd14b0a4181d5
Merged at revision: 12b6c22c1d621b1b6693c649f71eb2860e5b75b3
Proposed branch: ~ballot/charm-k8s-postgresql/+git/charm-k8s-postgresql:ballot_review
Merge into: charm-k8s-postgresql:master
Prerequisite: ~stub/charm-k8s-postgresql:integration
Diff against target: 41 lines (+7/-16)
1 file modified
Makefile (+7/-16)
Reviewer Review Type Date Requested Status
Tom Haddon Approve
Stuart Bishop (community) Approve
Canonical IS Reviewers Pending
Review via email: mp+391212@code.launchpad.net

This proposal supersedes a proposal from 2020-09-23.

Commit message

Remove useless makefile target

Also, allow variables to be passed as environment variables

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote : Posted in a previous version of this proposal

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote : Posted in a previous version of this proposal

Unable to determine commit message from repository - please click "Set commit message" and enter the commit message manually.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Unable to determine commit message from repository - please click "Set commit message" and enter the commit message manually.

Revision history for this message
Stuart Bishop (stub) wrote :
review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change cannot be self approved, setting status to needs review.

Revision history for this message
Tom Haddon (mthaddon) wrote :

LGTM

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change must be approved by a member of one of the following teams:
 - postgresql-charmers
Setting status to needs review.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change cannot be self approved, setting status to needs review.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change has no commit message, setting status to needs review.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 12b6c22c1d621b1b6693c649f71eb2860e5b75b3

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/Makefile b/Makefile
2index 40ffda9..1bfa93a 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -13,13 +13,13 @@
6 # You should have received a copy of the GNU General Public License
7 # along with this program. If not, see <http://www.gnu.org/licenses/>.
8
9-PG_MAJOR := 12
10-DIST_RELEASE := focal
11+PG_MAJOR ?= 12
12+DIST_RELEASE ?= focal
13
14-IMAGE_REGISTRY :=
15-IMAGE_NAME := pgcharm
16-IMAGE_TAG := latest
17-NO_CACHE :=
18+IMAGE_REGISTRY ?=
19+IMAGE_NAME ?= pgcharm
20+IMAGE_TAG ?= latest
21+NO_CACHE ?=
22 # NO_CACHE := --no-cache
23
24 REGISTRY_IMAGE := $(IMAGE_REGISTRY)/$(IMAGE_NAME):$(IMAGE_TAG)
25@@ -47,16 +47,7 @@ clean:
26 postgresql.charm: src/*.py requirements.txt *.yaml .jujuignore
27 charmcraft build
28
29-image-deps:
30- @echo "Checking shellcheck is present."
31- @command -v shellcheck >/dev/null || { echo "Please install shellcheck to continue ('sudo snap install shellcheck')" && false; }
32-
33-image-lint: image-deps
34- @echo "Running shellcheck."
35- shellcheck files/docker-entrypoint.sh
36- shellcheck files/docker-readyness.sh
37-
38-image-build: image-lint
39+image-build:
40 @echo "Building the $(LOCAL_IMAGE) image"
41 docker build $(NO_CACHE) -t $(LOCAL_IMAGE) --build-arg BUILD_DATE=$$(date -u +'%Y-%m-%dT%H:%M:%SZ') .
42

Subscribers

People subscribed via source and target branches