Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2023 01 17.1.f4e71a7 #739

Merged
merged 62 commits into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
debf507
Prepare CHANGELOG for the next release (#663)
kovayur Dec 12, 2022
66f4f64
Bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0 in /tools (#661)
dependabot[bot] Dec 12, 2022
259e985
Bump github.com/aws/aws-sdk-go from 1.44.146 to 1.44.157 (#658)
dependabot[bot] Dec 12, 2022
91abb9b
Bump golang.org/x/oauth2 from 0.2.0 to 0.3.0 (#659)
dependabot[bot] Dec 12, 2022
f3c11d5
ROX-12137: Use billing_marketplace_account instead of cloud_account_i…
ivan-degtiarenko Dec 13, 2022
1f54638
Increase operator container wait timeout on Openshift CI (#666)
kovayur Dec 13, 2022
95ff81e
ROX-12763: use claim mappings for admin:org:all role (#665)
ivan-degtiarenko Dec 13, 2022
0f4c60f
Fix dnf metadata download errors on Openshift CI (#669)
kovayur Dec 13, 2022
162e105
Bump containerd version to 1.6.12 (#670)
kovayur Dec 13, 2022
5eb8b54
Bump helm.sh/helm/v3 from 3.9.4 to 3.10.2 (#578)
dependabot[bot] Dec 13, 2022
0bc1c6e
Deploy probe image based on HEAD (#664)
stehessel Dec 13, 2022
93c90c5
Bump github.com/operator-framework/api from 0.17.1 to 0.17.2 (#660)
dependabot[bot] Dec 13, 2022
7cd3dcc
Second attempt to upgrade containerd dependency (#671)
kovayur Dec 14, 2022
5bfe2cc
Bump sigs.k8s.io/controller-runtime from 0.12.3 to 0.13.1 (#553)
dependabot[bot] Dec 14, 2022
2e34821
ROX-13396: Cleanup incomplete tools_venv dir for idempotence (#668)
porridge Dec 14, 2022
9d72d52
ROX-13593: Add telemetry storage key to Centrals (#672)
stehessel Dec 14, 2022
31613af
default telemetry options to empty string (#673)
stehessel Dec 14, 2022
cd1083c
ROX-13106: Show hint to user when OCM user or org is not found (#675)
stehessel Dec 15, 2022
b1fb9ed
ROX-13456: Use moq for DBClient (#677)
kovayur Dec 15, 2022
acb691b
Switch stage data plane to stage operator (#676)
stehessel Dec 15, 2022
62a3c4a
ROX-12921: Introduce timeout for ACSCS requests (#667)
ivan-degtiarenko Dec 16, 2022
c83c892
Bump helm.sh/helm/v3 from 3.9.4 to 3.10.3 in /dp-terraform/add-on/rha…
dependabot[bot] Dec 16, 2022
a5662e2
Avoid using `which` (#686)
porridge Dec 16, 2022
ff066fc
Bump helm.sh/helm/v3 from 3.10.2 to 3.10.3 (#685)
dependabot[bot] Dec 16, 2022
6dc12b2
Make `tools_venv` target depend on `tools/requirements.txt` (#688)
kovayur Dec 19, 2022
e10f3c1
ROX-13456: Refactor fleet-manager client in order to generate mocks f…
kovayur Dec 19, 2022
c8ef6db
Bump github.com/getsentry/sentry-go from 0.15.0 to 0.16.0 (#693)
dependabot[bot] Dec 19, 2022
351e2ed
Fix: avoid panic on nil pointer (#692)
parametalol Dec 19, 2022
742acea
Bump github.com/segmentio/chamber/v2 from 2.10.12 to 2.11.0 in /tools…
dependabot[bot] Dec 19, 2022
7e132dc
Bump github.com/onsi/gomega from 1.24.1 to 1.24.2 (#694)
dependabot[bot] Dec 19, 2022
5057156
Bump gorm.io/gorm from 1.24.1 to 1.24.2 (#697)
dependabot[bot] Dec 19, 2022
fe9f05c
Bump github.com/bxcodec/faker/v3 from 3.8.0 to 3.8.1 (#696)
dependabot[bot] Dec 19, 2022
01dc87b
Bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1 in /tools (#699)
dependabot[bot] Dec 19, 2022
66a5543
ROX-13472: Mark parameters loaded from Parameter Store as read-only (…
kovayur Dec 20, 2022
386f76c
ROX-12344: Use dev rhacs org_id in static token (#690)
stehessel Dec 20, 2022
0e9ffbc
ROX-13911: Add RDS provisioning integration test (#680)
vladbologa Dec 21, 2022
976b0a0
ROX-11993: Followup from review. (#687)
porridge Dec 21, 2022
6d3273f
Fix dubious ownership error in CI (#701)
kovayur Dec 21, 2022
18bebf8
Update ACS operator to a Central version that includes Telemetry (#702)
stehessel Dec 21, 2022
a809e72
ROX-13456: Bump detect-secrets to 1.4.0 (#679)
kovayur Dec 21, 2022
440bfb3
Bump github.com/99designs/aws-vault/v6 from 6.6.0 to 6.6.1 in /tools …
dependabot[bot] Jan 4, 2023
f68bb8b
Bump github.com/aws/aws-sdk-go from 1.44.157 to 1.44.172 (#711)
dependabot[bot] Jan 4, 2023
b6b48d9
Bump sigs.k8s.io/controller-runtime from 0.13.1 to 0.14.1 (#706)
dependabot[bot] Jan 4, 2023
a2ffb00
Bump github.com/spyzhov/ajson from 0.7.1 to 0.7.2 (#703)
dependabot[bot] Jan 4, 2023
89d811a
ROX-13456: Fail fast if cluster configuration is incorrect (#681)
kovayur Jan 9, 2023
1553ab7
Bump stage Central version to nightly-2023-01-09 build (#717)
stehessel Jan 9, 2023
711203f
Bump github.com/openshift-online/ocm-sdk-go from 0.1.289 to 0.1.306 (…
dependabot[bot] Jan 10, 2023
324e8b0
Bump gorm.io/driver/postgres from 1.4.5 to 1.4.6 (#713)
dependabot[bot] Jan 10, 2023
c490891
Bump github.com/coreos/go-oidc/v3 from 3.4.0 to 3.5.0 (#714)
dependabot[bot] Jan 10, 2023
ac6adb2
Bump golang.org/x/net from 0.4.0 to 0.5.0 (#715)
dependabot[bot] Jan 10, 2023
827fa8f
Bump stage Central version to nightly-2023-01-10 build (#719)
stehessel Jan 10, 2023
75a5e43
ROX-13408: Use api.iam.clients in dynamic clients API wrapper (#689)
ivan-degtiarenko Jan 11, 2023
96a8b44
ROX-13666: Refactor DB connection string (#722)
vladbologa Jan 13, 2023
3d62108
ROX-12921: initialize counter metrics with 0 value (#720)
ivan-degtiarenko Jan 16, 2023
506b619
Bump github.com/aws/aws-sdk-go from 1.44.172 to 1.44.180 (#724)
dependabot[bot] Jan 16, 2023
93900a3
Bump github.com/operator-framework/api from 0.17.2 to 0.17.3 (#725)
dependabot[bot] Jan 16, 2023
edf2735
Bump github.com/openshift-online/ocm-sdk-go from 0.1.306 to 0.1.308 (…
dependabot[bot] Jan 17, 2023
21f594d
ROX-12344: Add organisation name to central request (#683)
stehessel Jan 17, 2023
187dd43
Bump github.com/prometheus/common from 0.38.0 to 0.39.0 (#727)
dependabot[bot] Jan 17, 2023
fd09c38
Bump operator version to 3.73.1 on prod (#735)
dhaus67 Jan 17, 2023
50b63bb
Bump operator to 3.73.1 in test environment (#737)
dhaus67 Jan 17, 2023
f4e71a7
Revert "ROX-12344: Add organisation name to central request" (#736)
dhaus67 Jan 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/workflows/rds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# This runs tests that check the AWS RDS provisioning / deprovisioning logic
name: AWS integration tests

on:
push:
branches:
- main
- release
paths-ignore:
- '*.md'
- '*.sh'
- '.github/*.md'
- '.github/workflows/openapi_update.yaml'
- '.github/CODEOWNERS'
- 'templates/**'
- '.openapi-generator-ignore'
- 'openapi/**'
- 'docs/**'
- 'pkg/api/openapi/docs/**'
- 'pkg/api/openapi/.openapi-generator-ignore'

pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '*.md'
- '*.sh'
- '.github/*.md'
- '.github/workflows/openapi_update.yaml'
- '.github/CODEOWNERS'
- 'templates/**'
- '.openapi-generator-ignore'
- 'openapi/**'
- 'docs/**'
- 'pkg/api/openapi/docs/**'
- 'pkg/api/openapi/.openapi-generator-ignore'

jobs:
verify-test:
name: "Test RDS Provisioning"
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
environment: development
steps:
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: "1.18"
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Cache go module
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-region: ${{ secrets.AWS_REGION }}
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github
- name: Verify & Test
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_AUTH_HELPER: "none"
run: |
set -euo pipefail
source "scripts/lib/external_config.sh"
init_chamber

run_chamber exec fleetshard-sync -- make test/rds
timeout-minutes: 35
26 changes: 2 additions & 24 deletions .openshift-ci/e2e-runtime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,6 @@
FROM quay.io/centos/centos:stream9

RUN rm -f /etc/yum.repos.d/* && { \
echo "[baseos]"; \
echo "name=CentOS Stream \$releasever - BaseOS"; \
echo "baseurl=http://mirror.stream.centos.org/\$releasever-stream/BaseOS/\$basearch/os/"; \
echo "gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial"; \
echo "gpgcheck=1"; \
echo "repo_gpgcheck=0"; \
echo "metadata_expire=6h"; \
echo "countme=1"; \
echo "enabled=1"; \
echo; \
echo "[appstream]"; \
echo "name=CentOS Stream $releasever - AppStream"; \
echo "baseurl=http://mirror.stream.centos.org/\$releasever-stream/AppStream/\$basearch/os/"; \
echo "gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial"; \
echo "gpgcheck=1"; \
echo "repo_gpgcheck=0"; \
echo "metadata_expire=6h"; \
echo "countme=1"; \
echo "enabled=1"; \
} > "/etc/yum.repos.d/centos.repo"

RUN dnf update -y && dnf -y install make which git gettext jq gcc && dnf clean all && rm -rf /var/cache/dnf
RUN dnf update -y --disablerepo=\* --enablerepo=baseos,appstream && dnf -y install make which git gettext jq gcc && dnf clean all && rm -rf /var/cache/dnf

COPY --from=registry.ci.openshift.org/openshift/release:golang-1.18 /usr/local/go /usr/local/go
COPY --from=quay.io/openshift/origin-cli:4.13 /usr/bin/oc /usr/bin
Expand Down Expand Up @@ -58,6 +36,6 @@ RUN mkdir /src $GOPATH
WORKDIR /src

COPY . .
RUN chmod 775 -R /src && chmod 775 -R $GOPATH
RUN chmod 775 -R /src && chmod 775 -R $GOPATH && git config --system --add safe.directory /src

CMD ./.openshift-ci/tests/e2e.sh
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ repos:
stages: [push, manual]
files: '(openapi/.*|pkg/workers/worker_interface.go|pkg/client/ocm/id.go|pkg/client/aws/client.go|pkg/client/ocm/client.go|pkg/client/iam/client.go|pkg/services/authorization/authorization.go|pkg/services/sso/iam_service.go|pkg/client/redhatsso/client.go|pkg/auth/auth_agent_service.go|internal/dinosaur/pkg/services/observatorium_service.go|internal/dinosaur/pkg/services/cluster_placement_strategy.go|internal/dinosaur/pkg/services/cloud_providers.go|internal/dinosaur/pkg/services/clusters.go|internal/dinosaur/pkg/services/quota.go|internal/dinosaur/pkg/services/fleetshard_operator_addon.go|internal/dinosaur/pkg/services/quota_service_factory.go|internal/dinosaur/pkg/clusters/cluster_builder.go|internal/dinosaur/pkg/clusters/provider.go|internal/dinosaur/pkg/services/dinosaur.go)'
- repo: https://github.com/Yelp/detect-secrets
rev: v1.2.0
rev: v1.4.0
hooks:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]
exclude: ^pkg/client/redhatsso/api/
- repo: https://github.com/golangci/golangci-lint
rev: v1.50.1
hooks:
Expand Down
Loading