From 4b1c68451d6e2e181cc26e41979a9094c2a936d4 Mon Sep 17 00:00:00 2001 From: Nathan McKinley Date: Thu, 13 Feb 2020 10:44:58 -0800 Subject: [PATCH] Complain if the changelog isn't compliant. (#3124) * Complain if the changelog isn't compliant. * swap to hashicorpdev. --- .ci/containers/changelog-checker/Dockerfile | 6 ++++++ .ci/gcb-generate-diffs.yml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 .ci/containers/changelog-checker/Dockerfile diff --git a/.ci/containers/changelog-checker/Dockerfile b/.ci/containers/changelog-checker/Dockerfile new file mode 100644 index 000000000000..67a594efa539 --- /dev/null +++ b/.ci/containers/changelog-checker/Dockerfile @@ -0,0 +1,6 @@ +FROM hashicorpdev/go-changelog + +ENV GITHUB_REPO=magic-modules +ENV GITHUB_OWNER=GoogleCloudPlatform + +ENTRYPOINT ["/go-changelog/changelog-pr-body-check"] diff --git a/.ci/gcb-generate-diffs.yml b/.ci/gcb-generate-diffs.yml index 23e498df872d..b071f5171e3d 100644 --- a/.ci/gcb-generate-diffs.yml +++ b/.ci/gcb-generate-diffs.yml @@ -174,6 +174,12 @@ steps: args: - $_PR_NUMBER + - name: 'gcr.io/graphite-docker-images/changelog-checker' + secretEnv: ["GITHUB_TOKEN"] + waitFor: ["diff"] + args: + - $_PR_NUMBER + - name: 'gcr.io/graphite-docker-images/terraform-tester' secretEnv: ["GITHUB_TOKEN"] waitFor: ["diff"]