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

Test dns bicep #1

Merged
merged 627 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
627 commits
Select commit Hold shift + click to select a range
13e4b04
Switch deployment to pipeline as well
janboll Jan 8, 2025
46b3a56
Merge pull request #1043 from Azure/maestro-dry-run
janboll Jan 8, 2025
75f06d1
Remove duplicate env entry
janboll Jan 8, 2025
7a98c23
Merge pull request #1056 from Azure/remove-duplicate-env
janboll Jan 8, 2025
3116a66
remove oc dep from PKO install (#1055)
geoberle Jan 8, 2025
2ff8eb1
Use the correct APIVersion
mociarain Dec 9, 2024
37dfabc
Refactor to use pipeline.yaml
janboll Jan 8, 2025
f14da62
Add dry run and fix lint
janboll Jan 8, 2025
c589741
remove create namespace
janboll Jan 8, 2025
14656eb
Add deployment
janboll Jan 8, 2025
0198166
Fix typos
janboll Jan 8, 2025
c1b81b8
Add removed namespace creation
janboll Jan 8, 2025
6c46816
Merge pull request #1057 from Azure/ho-dry-run
janboll Jan 8, 2025
913bbea
fix dns zone delegation templatize step marshallling (#1058)
geoberle Jan 8, 2025
f440bb7
Istio refactor deployment
janboll Jan 8, 2025
5178697
Refactor metrics deployment
janboll Jan 8, 2025
381298e
Split mgmt and Service cluster into seperate jobs
janboll Jan 8, 2025
0dd6cbc
istio upgrade (#1060)
geoberle Jan 8, 2025
e9f4962
Merge pull request #1059 from Azure/istio-pipeline
janboll Jan 8, 2025
0996ab2
use latest PKO
janboll Jan 8, 2025
62f4edb
remove duplicate servicemonitor
tony-schndr Jan 8, 2025
831b752
Merge pull request #1061 from Azure/bump-pko
janboll Jan 8, 2025
b66acb5
cleanup istio 1.22 from DEV and CSPR (#1062)
geoberle Jan 8, 2025
d71be88
Merge pull request #883 from Azure/node-pool-collection-get
mbarnes Jan 8, 2025
6ecdf66
database: Add more parameters to NewOperationDocument
Dec 2, 2024
f3a218a
frontend: Rename StartOperation to ExposeOperation
Nov 20, 2024
d46dc86
frontend: Add CancelActiveOperation method
Nov 20, 2024
5fc2f15
frontend: Add more logic to DeleteResource
Nov 18, 2024
ede0260
frontend: Fix status code for subscription PUT
Dec 2, 2024
8fe1ef2
frontend: Add DeleteAllResources method
Dec 2, 2024
962581a
backend: Fix nil pointer dereference
Dec 4, 2024
6918cd4
Merge pull request #1008 from Azure/clc-state-metrics
tony-schndr Jan 8, 2025
a4de0db
Run registration as last step (#1068)
janboll Jan 9, 2025
28a3958
ARO-9420: *: add acrpull controller (#1065)
stevekuznetsov Jan 9, 2025
21299d4
use MCR image for istio cert refresher pod (#1069)
geoberle Jan 9, 2025
634a4e2
add ACRPull to deployment and PR check targets (#1070)
geoberle Jan 9, 2025
0541955
use curl instead of wget to download istio
jfchevrette Jan 8, 2025
5fccdf6
*: add acrpull binding to RP
stevekuznetsov Dec 19, 2024
f565713
various fixes and updates
geoberle Jan 8, 2025
ec8553a
dev-infrastructure: parallelize fmt, lint
stevekuznetsov Dec 19, 2024
44f1d35
Merge pull request #1011 from Azure/skuznets/acrpull
bennerv Jan 9, 2025
72036a2
Merge pull request #985 from Azure/tags-patch-response
mbarnes Jan 9, 2025
bac3640
bump AKS version to 1.31.2 (#1009)
geoberle Jan 10, 2025
e6425f1
demo: generate correlation headers (#1074)
simonpasquier Jan 10, 2025
72e2c06
local_CS_script_fix to properly create provision shard config file in…
davidleerh Jan 10, 2025
84ab9bf
refactor amw, dce, dcr, and aks-metrics-enable
tony-schndr Jan 8, 2025
2c5f978
Merge pull request #1078 from Azure/amw-refactor
tony-schndr Jan 10, 2025
03bcabf
Bump azure sdk to 1.17.0 (#1085)
geoberle Jan 13, 2025
6ae5773
Bump golang-jwt (#1086)
geoberle Jan 13, 2025
718d551
remove aks metrics enablement from GH action (#1088)
geoberle Jan 13, 2025
5765c08
chore(maestro): bump maestro's image tag to c9a36e110a32c0c25aa5025cf…
machi1990 Jan 13, 2025
65a52f4
Bump actions/setup-go from 5.1.0 to 5.2.0 (#965)
dependabot[bot] Jan 13, 2025
e486d74
build(deps): bump github.com/golang-jwt/jwt/v4 (#808)
dependabot[bot] Jan 13, 2025
0ab5d7b
Bump mariner-distroless and microsoft/golang (#1090)
geoberle Jan 13, 2025
af7e8f3
Sync manager images as well (#1072)
janboll Jan 13, 2025
d9e70f8
persist cs-shared-oidc-storage (#832)
tony-schndr Jan 13, 2025
c95f4f0
bump containers/image/v5 lib (#1089)
geoberle Jan 13, 2025
ae89b0c
add missing IP whitelisting for public postgres DBs (#1091)
geoberle Jan 13, 2025
5a63476
parameterize maestro server k8s, DB and MI settings (#1092)
geoberle Jan 14, 2025
026ce1c
refactor DNS settings (#1077)
geoberle Jan 14, 2025
9396f05
Ensure map exists
mociarain Jan 14, 2025
1f30d61
Inline the creation of the default map
mociarain Jan 14, 2025
406f9af
Merge pull request #1097 from Azure/mociarain/fix-cluster-creation
mbarnes Jan 14, 2025
0932d36
fix DNS zone delegation for
geoberle Jan 14, 2025
a229505
Merge pull request #1100 from Azure/svc-zone-delegation-fix
tony-schndr Jan 14, 2025
a83412d
feat: automate creation and deletion of clusters against ARO-HCP fron…
miguelsorianod Jan 15, 2025
bf9e3ce
fix MI deletion on cluster deletion (#1101)
geoberle Jan 15, 2025
4070352
setup DEV KV permissions during infra provisioning (#1096)
geoberle Jan 15, 2025
92f11fe
Merge pull request #920 from Azure/subscription-deletion
mbarnes Jan 15, 2025
ebfaa9e
Deploy kubelet-parameters ds to mgmt clusters (#1098)
mmazur Jan 15, 2025
a1fe8ac
frontend: Add fallback logic to LoggerFromContext
Dec 4, 2024
ef865b3
frontend: Remove Frontend.logger member
Dec 4, 2024
8c48526
frontend: Tidy up log messages
Dec 4, 2024
2cf3f00
Merge pull request #926 from Azure/frontend-logging
mbarnes Jan 15, 2025
89c093a
remove custom ACR role for token management (#1075)
geoberle Jan 15, 2025
0d48c33
Merge pull request #831 from Azure/fix-cleanup-resources
tony-schndr Jan 15, 2025
35408ec
cs namespace and service account parameterization (#1102)
geoberle Jan 15, 2025
9ebe6b8
restructure AKS config schema in config.yaml (#1107)
geoberle Jan 16, 2025
7bb3d2b
s/Key/ResourceId for ResourceDocument Type
mociarain Jan 15, 2025
3638e62
Update internal/database/document.go
mociarain Jan 16, 2025
d2916f9
Lint
mociarain Jan 16, 2025
c9f54d5
Adding mark freer github account id to the CODEOWNERS for permissions…
Nanyte25 Jan 16, 2025
156cd65
Merge pull request #1104 from Azure/mociarain/s/Key/ResourceId
mbarnes Jan 16, 2025
d169b76
feat: update frontend aro-hcp cluster deletion script to perform acti…
miguelsorianod Jan 16, 2025
e51ad3c
move grafana to global infrastructure
tony-schndr Jan 16, 2025
ea5cf5c
Add kostola to CODEOWNERS (#1112)
kostola Jan 17, 2025
5fbb919
CS-PR AKS nodepool adjustments (#1113)
geoberle Jan 17, 2025
6e5657c
DEV AKS MC nodepool adjustments (#1116)
geoberle Jan 17, 2025
490ae1d
Disable kubelet setting DS for now (#1115)
mmazur Jan 17, 2025
b79568c
bingo: Add go.uber.org/mock/mockgen:v0.5.0
Jan 9, 2025
7aa2b5a
don't specify eventgrid zone redundancy explicitely (#1117)
geoberle Jan 17, 2025
c4102bd
internal: Generate MockDBClient with mockgen
Jan 9, 2025
84b1548
frontend: Remove --use-cache command-line option
Jan 9, 2025
55926ad
Adapt unit tests to use MockDBClient
Jan 9, 2025
f51747f
database: Remove Cache implementation of DBClient
Jan 9, 2025
be053b0
Bump Go toolchain and builder images from 1.23.0 to 1.23.3
Jan 15, 2025
368ac89
frontend: Fix a repeated typo in node_pool_test.go
Jan 17, 2025
6d2ab42
github: Regenerate mocks before running unit tests
Jan 17, 2025
1042d2c
Merge pull request #1099 from Azure/mock-cosmos-db
mbarnes Jan 17, 2025
19ddb5a
Merge pull request #949 from Azure/mociarain/fix-template-APIVersion
mbarnes Jan 17, 2025
3af7691
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependabot[bot] Jan 20, 2025
3844413
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependabot[bot] Jan 20, 2025
3cd0b77
build(deps): bump github.com/go-playground/validator/v10 in /internal
dependabot[bot] Jan 20, 2025
36b9640
Use helm for pko
janboll Jan 9, 2025
4c0452a
Make Materialize
janboll Jan 17, 2025
cc6cb46
Fix lint
janboll Jan 17, 2025
01ec5cd
Add PKO build steps
janboll Jan 17, 2025
dcb7eff
Add ACR login
janboll Jan 17, 2025
8094b0b
Remove global roles
janboll Jan 20, 2025
44660a3
Remove obsolete config
janboll Jan 20, 2025
575c0c1
Remove PKO UAMI, not requried
janboll Jan 20, 2025
f70259e
frontend: lint Prometheus metrics
simonpasquier Jan 10, 2025
d2c4cc1
Merge pull request #1073 from Azure/refactor-pko
janboll Jan 20, 2025
dc4f609
Add missing acrpull Deployment
janboll Jan 20, 2025
b045a8b
Add push condition
janboll Jan 20, 2025
2088036
Merge pull request #1124 from Azure/fix-missing-acrpull
janboll Jan 20, 2025
053fca8
hotfix | Overwrite subsequent creation of azure-operators-managed-ide…
cgiradkar Jan 20, 2025
dc55c40
Disable PKO deployment for now
janboll Jan 20, 2025
9fd787e
Merge pull request #1076 from Azure/lint-frontend-metrics
mbarnes Jan 20, 2025
b35050c
Merge pull request #1126 from Azure/disable-pko
janboll Jan 20, 2025
9d02cb7
Refactor Cosmos database client creation
simonpasquier Jan 20, 2025
fc97b85
Merge pull request #1123 from Azure/refactor-db-client-creation
mbarnes Jan 20, 2025
5571edd
Merge pull request #1118 from Azure/dependabot/go_modules/backend/azu…
mbarnes Jan 20, 2025
f731a64
Merge pull request #1119 from Azure/dependabot/go_modules/frontend/az…
mbarnes Jan 20, 2025
ad9efd5
Merge pull request #1120 from Azure/dependabot/go_modules/internal/gi…
mbarnes Jan 20, 2025
80edb8c
Set the default AZ version back to the latest (#1105)
mociarain Jan 20, 2025
3c455be
Add ACR Pull for MGMT
janboll Jan 20, 2025
a00858c
Add Dry Run
janboll Jan 20, 2025
5e667ea
add onecert signer to SVC KV (#1093)
geoberle Jan 20, 2025
14112fc
Disable PKO deployment
philipwu08 Jan 21, 2025
1906e3b
Merge pull request #1130 from philipwu08/disable-pko
janboll Jan 21, 2025
6377d1c
Merge pull request #1127 from Azure/add-acr-pull-deploy-step
janboll Jan 21, 2025
89d615c
Update go.work.sum
janboll Jan 21, 2025
767e77c
Merge pull request #1135 from Azure/fix-make-mocks
janboll Jan 21, 2025
e404ae2
Add test for Dry Run with output
janboll Jan 21, 2025
38610f8
Implement OutputOnly option for ARM steps
janboll Jan 21, 2025
2703fbb
replace static prometheus scrapeconfig with Pod/ServiceMonitors
jfchevrette Jan 21, 2025
5c1978c
arm: Rename Identity to ManagedServiceIdentity
Jan 20, 2025
fb78ed5
api: Add default value for HCPOpenShiftCluster.Identity.Type
Jan 20, 2025
d2c4a14
api: Add validate tag "enum_managedserviceidentitytype"
Jan 20, 2025
e1f93f1
api: Add validate tag "resource_id"
Jan 20, 2025
fd33fa6
api: Add validation struct tags to ManagedServiceIdentity
Jan 20, 2025
3f6921c
api: Add validation struct tags to UserAssignedIdentitiesProfile
Jan 21, 2025
2596eac
api: Check visibility tags in maps of structs
Jan 21, 2025
4f0fdfa
api: Redo visibility validation for maps
Jan 21, 2025
fa5d839
api: Stub in a place for complex, multi-field validation checks
Jan 20, 2025
d0ef480
Update kvCertOfficerPrincipalId (#1139)
whober0521 Jan 22, 2025
e8330a3
Use of tagged IP Addresses (IPTags) for Cluster Egress and Istio Ingr…
jfchevrette Jan 22, 2025
029ed92
specify output format when expecting json from az (#1137)
sanchezl Jan 22, 2025
70edadf
Check if type conversion is okay
janboll Jan 22, 2025
bfd1be9
Merge pull request #1133 from Azure/fix-output-chaining
janboll Jan 22, 2025
0fb4dc6
frontend: suppress warnings when running tests
simonpasquier Jan 20, 2025
89dbad7
Merge pull request #1129 from Azure/suppress-test-output-on-missing-l…
mbarnes Jan 22, 2025
9773683
create public IP before AKS cluster (#1141)
geoberle Jan 22, 2025
e648c38
add jfchevrette to CODEOWNERS (#1144)
jfchevrette Jan 22, 2025
5504fdb
Merge pull request #1138 from Azure/convert-scrapeconfigs-to-sm
jfchevrette Jan 22, 2025
256f5a9
update AKS and istio in MSFT INT (#1145)
geoberle Jan 22, 2025
b5f4d00
pipeline.yaml for maestro agent (#1142)
geoberle Jan 23, 2025
67bea35
frontend: mention correct env variable for custom images (#1147)
frzifus Jan 23, 2025
892b0a6
pipeline file for ACM (#1148)
geoberle Jan 23, 2025
e45b30e
frontend: inject the correlation ID into CosmosDB requests
simonpasquier Jan 20, 2025
0b076bf
Merge pull request #1143 from Azure/add-correlation-id-to-cosmos-requ…
mbarnes Jan 23, 2025
01c1d5b
ARO-12097 | feat: Use snake case for azure runtime config (#1136)
philipwu08 Jan 23, 2025
8be8ea3
Merge pull request #1134 from Azure/more-validate-tags
mbarnes Jan 23, 2025
7f3cbfc
arm: Drop azcorearm.ResourceID wrapper
Jan 20, 2025
16829a5
Fix RP frontend and backend make run command (#1149)
ahitacat Jan 24, 2025
2fcb30d
Merge pull request #1128 from Azure/resourceid-text-marshalling
mbarnes Jan 24, 2025
1825dfe
improves the demo script robustness
p0lyn0mial Jan 24, 2025
ee71f9b
frontend: fix edge cases in MiddlewareValidateSubscriptionState
simonpasquier Jan 24, 2025
81500c4
add amw data source to grafana
tony-schndr Jan 18, 2025
6456dad
build(deps): bump github.com/openshift-online/ocm-sdk-go in /frontend
dependabot[bot] Jan 27, 2025
a8a1cc1
build(deps): bump github.com/openshift-online/ocm-sdk-go in /internal
dependabot[bot] Jan 27, 2025
c2bd00f
build(deps): bump github.com/openshift-online/ocm-sdk-go in /backend
dependabot[bot] Jan 27, 2025
1819756
Add Wait for Deployment
janboll Jan 22, 2025
349fd88
Add Tests
janboll Jan 24, 2025
d4abacb
Add test to check errors
janboll Jan 24, 2025
e0d2256
Simplify waitForExistingDeployment method
janboll Jan 27, 2025
6eea871
Merge pull request #1146 from Azure/deploy-wait
janboll Jan 27, 2025
6756904
arm: Fix typo in json tag for Operation.Properties
Jan 25, 2025
a4080e2
frontend: Fix typo in node_pool_test.go
Jan 22, 2025
01a9b89
frontend: Use NewSubscriptionDocument in unit tests
Jan 22, 2025
80a5444
database: Rename QueryItemsIterator to queryItemsIterator
Jan 25, 2025
97ca0a7
database: Define DBClientIteratorItem type
Jan 25, 2025
e8b299d
Merge pull request #1150 from p0lyn0mial/improve-demo-scripts
jharrington22 Jan 27, 2025
43e6e8e
Use async cluster endpoints
kostola Jan 17, 2025
bfba743
Fix MockClusterServiceClient
kostola Jan 17, 2025
e7e28c1
Make linter happy
kostola Jan 17, 2025
382b4de
Allow internal IDs from aro_hcp APIs
kostola Jan 20, 2025
d930078
Fix internal/ocm/internalid.go
kostola Jan 22, 2025
d656ca8
Add GetAroHCPClusterClient method
kostola Jan 24, 2025
0de3462
Improve coverage of internal/ocm/internalid.go
kostola Jan 24, 2025
d9eb427
ARO-12097 | feat: Update azure runtime config key to use data_plane (…
philipwu08 Jan 27, 2025
64d495c
database: Remove unused ctx parameter from ListResourceDocs
Jan 27, 2025
458c844
database: Remove unused ctx parameter from ListAllOperationDocs
Jan 27, 2025
024c698
Merge pull request #1153 from Azure/dependabot/go_modules/frontend/gi…
mbarnes Jan 27, 2025
8957d4a
Merge pull request #1154 from Azure/dependabot/go_modules/internal/gi…
mbarnes Jan 27, 2025
e91d631
Merge pull request #1155 from Azure/dependabot/go_modules/backend/git…
mbarnes Jan 27, 2025
2e60589
Merge pull request #1152 from Azure/fix-edge-case-in-validatesubscrip…
mbarnes Jan 27, 2025
a6589ab
delete enable metrics target/script
tony-schndr Jan 27, 2025
a213ac2
Apply mgmt-fixes to non-personal mgmt clusters (#1157)
mmazur Jan 28, 2025
d795cc7
Create custom role for MSI Mock
janboll Jan 28, 2025
a4ced38
frontend: add otel-sdk for inital trace support
frzifus Jan 21, 2025
e2bb5af
frontend: use fallback exporter
frzifus Jan 22, 2025
a4445fc
frontend: set correlationID on root span
frzifus Jan 22, 2025
69a354a
frontned: provide all headers as attributes in middleware
frzifus Jan 23, 2025
105ea1a
frontend: include only specific attributes
frzifus Jan 27, 2025
a53ab2d
frontned: add info if tracer is noop on initialization logs
frzifus Jan 27, 2025
8ff0359
frontend: catpure panics in trace data
frzifus Jan 24, 2025
7cd454d
frontend: move otel initialization from cmd to pkg/frontend
frzifus Jan 28, 2025
f9b24ec
add validation for user-assigned identity fields and relevant test cases
venkateshsredhat Jan 28, 2025
6ba02d6
Merge pull request #1156 from Azure/miscellaneous-fluff
mbarnes Jan 28, 2025
80837cb
frontend: exit on otel-sdk initialization failure
frzifus Jan 28, 2025
ad24f9e
Merge pull request #1114 from Azure/kostola/use-async-cluster-endpoints
mbarnes Jan 28, 2025
9d636c9
Merge pull request #1161 from Azure/reduce-permissions
janboll Jan 28, 2025
a6195cc
CODEOWNERS: Give RP maintainers ownership over go.work[.sum] (#1164)
mbarnes Jan 28, 2025
1c0f114
Merge pull request #1158 from Azure/grafana-amw-integration
tony-schndr Jan 28, 2025
877accb
adding Target field of arm.ErrorCloudBody for better error handling
venkateshsredhat Jan 28, 2025
baf9cc9
Merge pull request #1132 from Azure/tracing
mbarnes Jan 28, 2025
46d692d
frontend: Plumb the OutboundType API value through to CS
Jan 29, 2025
84c8805
correcting typos in error handling
venkateshsredhat Jan 29, 2025
cc9248b
Update 4.18 as well
janboll Jan 29, 2025
8e3d9c7
frontend cert issuer configurability (#1174)
geoberle Jan 29, 2025
5abe86b
tenant / subscription agnostic demo scripts (#1172)
geoberle Jan 29, 2025
59322cb
honor PERSIST env var when running pipelines (#1175)
geoberle Jan 29, 2025
c3a57c3
fix azureOperatorsManagedIdentities (#1159)
tony-schndr Jan 29, 2025
9b7fbac
MSFT int config fixes (#1178)
geoberle Jan 29, 2025
cce674c
fix ACM operator mirror (#1177)
geoberle Jan 29, 2025
f602f8a
Merge pull request #1162 from Azure/feat/ARO-14453
mbarnes Jan 29, 2025
cc0dda4
disable grafana registration for now (#1181)
geoberle Jan 29, 2025
7b816a0
fix capz operator name in cluster creation scripts and update doc (#1…
miguelsorianod Jan 29, 2025
82d591a
Merge pull request #1171 from Azure/outboundtype-loadbalancer
mbarnes Jan 29, 2025
5e90916
Use RC
janboll Jan 29, 2025
bda68e7
Merge pull request #1173 from Azure/sync-4.18
janboll Jan 29, 2025
760f2f7
prepare output chaining (#1176)
geoberle Jan 29, 2025
73a6f15
remove enable metrics from gh workflow
tony-schndr Jan 29, 2025
abe9d84
Merge pull request #1188 from Azure/delete-unused-metrics-target
tony-schndr Jan 29, 2025
378d13f
add Grafana Admin to aro-github-actions-identity app sp
tony-schndr Jan 29, 2025
f049ae9
reenable add-grafana-datasource.sh
tony-schndr Jan 29, 2025
4fe622c
add parentName to config and move global-pipeline from hcp to ARO-HCP…
jonathan34c Jan 30, 2025
cb948af
bump cs version and fix arm helper fp principal id (#1186)
geoberle Jan 30, 2025
3806fb9
Add missing rg scope to custom role
janboll Jan 30, 2025
2ac892e
prepare for grafana output chaining (#1193)
geoberle Jan 30, 2025
6cce04e
Merge pull request #1194 from Azure/fix-role
janboll Jan 30, 2025
57c6bac
Use MSI mock role
janboll Jan 30, 2025
64c5d4b
Merge pull request #1195 from Azure/use-msi-mock-role
janboll Jan 30, 2025
d01b9da
ARO-12097 | feat: Remove camel case azure runtime configs (#1183)
philipwu08 Jan 30, 2025
9175b93
merge global infra and global ACR pipelines (#1192)
geoberle Jan 30, 2025
9843cd6
ACR pull cluster pipeline (#1197)
geoberle Jan 30, 2025
6f709fc
Merge pull request #1190 from Azure/add-grafana-admin
tony-schndr Jan 30, 2025
60faabf
dns biceps
katherinelc321 Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .bingo/Variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ $(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
@echo "(re)installing $(GOBIN)/golangci-lint-v1.61.0"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.61.0 "github.com/golangci/golangci-lint/cmd/golangci-lint"

MOCKGEN := $(GOBIN)/mockgen-v0.5.0
$(MOCKGEN): $(BINGO_DIR)/mockgen.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/mockgen-v0.5.0"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=mockgen.mod -o=$(GOBIN)/mockgen-v0.5.0 "go.uber.org/mock/mockgen"

5 changes: 5 additions & 0 deletions .bingo/mockgen.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT

go 1.23.3

require go.uber.org/mock v0.5.0 // mockgen
8 changes: 8 additions & 0 deletions .bingo/mockgen.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU=
go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM=
golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0=
golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA=
golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c=
2 changes: 2 additions & 0 deletions .bingo/variables.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ GOIMPORTS="${GOBIN}/goimports-v0.26.0"

GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.61.0"

MOCKGEN="${GOBIN}/mockgen-v0.5.0"

14 changes: 4 additions & 10 deletions .github/workflows/aro-hcp-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@
cancel-in-progress: false

jobs:
is_running_on_fork:
name: 'Ensure PR is submitted from Azure/ARO-HCP'
if: github.event_name != 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Fail if PR submitted from fork
if: ${{ github.event.pull_request.head.repo.full_name != 'Azure/ARO-HCP' }}
run: core.setFailed('Expected source repository to be Azure/ARO-HCP, re-create PR as a branch of Azure/ARO-HCP')

deploy_global_rg:
name: 'Deploy global resources'
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -79,7 +70,10 @@
cd dev-infrastructure/

# Manage ACR
make acr-svc acr-ocp
make acr acr-svc-cfg acr-ocp-cfg

# Setup operator roles for platform workload identity
make operator-roles

deploy_image_sync_rg:
name: 'Deploy Image Sync'
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/aro-hcp-login-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
name: Azure Login Check
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- '.github/workflows/aro-hcp-cd.yml'
- '.github/workflows/environment-infra-cd.yml'
- '.github/workflows/services-cd.yml'
- '.github/workflows/services-ci.yml'
- 'config/config.yaml'
- 'dev-infrastructure/**/*.bicep'
- 'dev-infrastructure/**/*.bicepparam'
- 'dev-infrastructure/configurations/*'
- 'frontend/**'
- 'backend/**'
- 'cluster-service/**'
- 'internal/**'
- 'maestro/**'
- 'pko/**'
- 'acm/**'
- 'hypershiftoperator/**'
- 'image-sync/**/'
- 'tooling/image-sync/**'
- 'tooling/templatize/**'
- 'config/*'
types:
- opened
- synchronize
- reopened
- closed

jobs:
is_running_on_fork:
name: 'Ensure PR is submitted from Azure/ARO-HCP'
if: github.event_name != 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
id-token: 'write'
contents: 'read'
steps:
- name: 'Az CLI login - will fail if PR is submitted from a fork of the repo'
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Fail if PR submitted from fork
if: failure()
run: core.setFailed('Expected source repository to be Azure/ARO-HCP, not ${{ github.event.pull_request.head.repo.full_name }}, re-create PR as a branch of Azure/ARO-HCP')
32 changes: 29 additions & 3 deletions .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,47 @@ on:
jobs:
test:
permissions:
id-token: 'write'
contents: 'read'
runs-on: 'ubuntu-latest'
steps:
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- uses: azure/use-kubelogin@76597ae0fcbaace21b05e13a2cbf8daee2c6e820 # v1.2
with:
kubelogin-version: 'v0.1.3'

- name: 'Az CLI login'
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1

- name: 'Set up Go'
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: 'go.work'
check-latest: true

- name: 'Regenerate mocks'
run: |
make mocks
if [[ ! -z "$(git status --short)" ]]
then
echo "there are some modified files"
git status
exit 1
fi

- name: 'Test'
run: make test
run: JOB_ID=${{ github.job }} PRINCIPAL_ID=${{ secrets.GHA_PRINCIPAL_ID }} make test

lint:
permissions:
contents: 'read'
Expand All @@ -37,7 +63,7 @@ jobs:
fetch-depth: 1

- name: 'Set up Go'
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: 'go.work'
check-latest: true
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/environment-infra-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
- name: "install azure-cli"
uses: "Azure/ARO-HCP@main"

- uses: azure/use-kubelogin@76597ae0fcbaace21b05e13a2cbf8daee2c6e820 # v1.3
with:
kubelogin-version: 'v0.1.3'

- name: 'Az CLI login'
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
with:
Expand All @@ -101,7 +105,7 @@
- name: 'Deploy rest'
run: |
cd dev-infrastructure/
PRINCIPAL_ID=${{ secrets.GHA_PRINCIPAL_ID }} make svc.aks.admin-access svc.enable-aks-metrics
PRINCIPAL_ID=${{ secrets.GHA_PRINCIPAL_ID }} make svc.aks.admin-access svc.istio

- name: 'CS PR check MSI'
if: inputs.deploy_cs_pr_check_deps
Expand Down Expand Up @@ -134,4 +138,16 @@
- name: 'Deploy or Update'
run: |
cd dev-infrastructure/
PRINCIPAL_ID=${{ secrets.GHA_PRINCIPAL_ID }} make mgmt mgmt.aks.admin-access mgmt.enable-aks-metrics
PRINCIPAL_ID=${{ secrets.GHA_PRINCIPAL_ID }} make mgmt

- name: 'Az CLI login again'
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: 'Deploy rest'
run: |
cd dev-infrastructure/
PRINCIPAL_ID=${{ secrets.GHA_PRINCIPAL_ID }} make mgmt.aks.admin-access
34 changes: 23 additions & 11 deletions .github/workflows/services-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
jobs:

deploy_to_service_cluster:
env:
PRINCIPAL_ID: ${{ secrets.GHA_PRINCIPAL_ID }}
permissions:
id-token: 'write'
contents: 'read'
Expand Down Expand Up @@ -78,34 +80,40 @@

- name: 'Deploy Istio Configuration'
run: |
make isto.deploy
make istio.deploy_pipeline

- name: 'Deploy ACR Pull Configuration'
run: |
make acrpull.deploy_pipeline

- name: 'Deploy Frontend'
run: |
make rp.frontend.deploy
make frontend.deploy_pipeline

- name: 'Deploy Backend'
run: |
make rp.backend.deploy
make backend.deploy_pipeline

- name: 'Deploy Cluster Service'
run: |
make cs.deploy
make cluster-service.deploy_pipeline

- name: 'Deploy Maestro'
run: |
make maestro.server.deploy maestro.registration.deploy
make maestro.server.deploy_pipeline maestro.registration.deploy

- name: 'Deploy Prometheus Config'
run: |
make metrics.deploy
make metrics.deploy_pipeline

- name: 'Deploy CS PR check environment dressup'
if: inputs.deploy_cs_pr_check_deps
run: |
./svc-deploy.sh ${DEPLOY_ENV} cluster-service svc deploy-pr-env-deps

deploy_to_management_cluster:
env:
PRINCIPAL_ID: ${{ secrets.GHA_PRINCIPAL_ID }}
permissions:
id-token: 'write'
contents: 'read'
Expand Down Expand Up @@ -141,18 +149,22 @@
cd dev-infrastructure/
make mgmt.aks.kubeconfig

- name: 'Deploy PKO'
- name: 'Deploy ACR Pull Configuration'
run: |
make pko.deploy
make acrpull.mgmt.deploy

# - name: 'Deploy PKO'
# run: |
# make pko.deploy

- name: 'Deploy ACM'
run: |
make acm.deploy
make acm.deploy_pipeline

- name: 'Deploy Maestro Agent'
run: |
make maestro.agent.deploy
make maestro.agent.deploy_pipeline

- name: 'Deploy Hypershift Operator and External DNS Operator'
run: |
make hypershift.deploy
make hypershiftoperator.deploy_pipeline
28 changes: 28 additions & 0 deletions .github/workflows/services-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,31 @@
run: |
cd tooling/image-sync
make push

build_push_package_operator:
permissions:
id-token: 'write'
contents: 'read'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1

- name: "install azure-cli"
if: inputs.push == true
uses: "Azure/ARO-HCP@main"

- name: 'Az CLI login'
if: inputs.push == true
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Build package operator container image from git@github.com:package-operator/package-operator.git
if: inputs.push == true
run: |
cd pko
make image
Loading
Loading