Skip to content

Commit 30d5235

Browse files
authored
Merge pull request #2 from tetrateio/tetrate_org
Initialize tetrate fork: readme, CI settings
2 parents 320b684 + 6afa4f9 commit 30d5235

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

.circleci/config.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,20 @@ workflows:
8181
only: /^(main|master|release-.*|.*build-all.*)$/
8282
tags:
8383
only: /^v.*/
84-
- prometheus/publish_master:
85-
context: org-context
86-
docker_hub_organization: prometheuscommunity
87-
quay_io_organization: prometheuscommunity
88-
requires:
89-
- test
90-
- build_all
91-
filters:
92-
branches:
93-
only: master
84+
# - prometheus/publish_master:
85+
# context: org-context
86+
# docker_hub_organization: prometheuscommunity
87+
# quay_io_organization: prometheuscommunity
88+
# requires:
89+
# - test
90+
# - build_all
91+
# filters:
92+
# branches:
93+
# only: master
9494
- prometheus/publish_release:
95-
context: org-context
96-
docker_hub_organization: prometheuscommunity
97-
quay_io_organization: prometheuscommunity
95+
context: org-global
96+
docker_hub_organization: tetrate
97+
# quay_io_organization: prometheuscommunity
9898
requires:
9999
- test
100100
- build_all

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ all::
33

44
# Needs to be defined before including Makefile.common to auto-generate targets
55
DOCKER_ARCHS ?= amd64 armv7 arm64 ppc64le
6-
DOCKER_REPO ?= prometheuscommunity
6+
DOCKER_REPO ?= tetrate
77

88
include Makefile.common
99

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,3 +445,12 @@ docker run -p 5432:5432 -e POSTGRES_DB=circle_test -e POSTGRES_USER=postgres -e
445445
# Run the integration tests
446446
DATA_SOURCE_NAME='postgresql://postgres:test@localhost:5432/circle_test?sslmode=disable' GOOPTS='-v -tags integration' make test
447447
```
448+
449+
# **Tetrate CVE builds**
450+
Upstream is not fixing CVEs reported by security scanners, but not applicable to postgres_exporter image.
451+
These false positives can be fixed by cutting tetrate specific patch releases as follows:
452+
- Push a commit to a release branch in our fork (e.g. `release-v0.18.1` branch) with the changes to fix the CVEs.
453+
- In this PR, include changes to the `VERSION` file to the new version name following the pattern `<current-version>-tetrate-v<patch-number>`. For example `v0.18.1-tetrate-v0` is the first CVEs fixing patch for `v0.18.1`.
454+
- Once the PR is approved and merged:
455+
- Create the tag and push it to the repository.
456+
- CircleCI will automatically build the images and push them to the [tetrate docker hub repository](https://hub.docker.com/r/tetrate/postgres_exporter).

0 commit comments

Comments
 (0)