Граф коммитов

407 Коммитов

Автор SHA1 Сообщение Дата
Ayato Tokubi d89a378897
Check Role Definition for MIWI (#3876)
* bump cluster-credentials-operator

* add Get to roledefinitions client

* check script

* pipeline

* use parameters

* change target-version help message

* vendor

* fix role.go

* use candidate channel

* use operator names in RP-Config

* modify the output format

* changed to use quay.io API

* add some comments

* remove pipeline resource

* change role definition names
2024-10-24 12:35:57 -04:00
Shubhadapaithankar 96637dbc85
Migrate VPN and rp service to Docker Compose (#3882)
* VPN, RP, and Portal are now managed by Docker Compose
2024-10-10 13:18:26 -06:00
Tanmay Satam 53565baeae
Move linting steps to GitHub Actions (#3869)
* Remove go build/unittest steps

These are performed in the ADO "CI" pipeline.

* Merge golint steps into ci-go workflow

* Add new ci-python workflow

This currently contains an equivalent copy of the Lint_Az_ARO_Extension step in the ADO CI pipeline.

* Remove Lint_Az_ARO_Extension from ADO CI pipeline

* Update build/test step in CI pipeline to reflect current steps

Co-authored-by: Kipp Morris <117932707+kimorris27@users.noreply.github.com>

---------

Co-authored-by: Kipp Morris <117932707+kimorris27@users.noreply.github.com>
2024-10-02 14:23:53 -04:00
Amber Brown 4cb12bb94b
Merge pull request #3875 from Azure/hawkowl/e2e-master-smoke-test
Don't run long-running regression tests on PRs
2024-10-02 09:15:49 +10:00
Amber Brown 396adb0bc2 run regressiontests on CI (i.e. not PR runs) 2024-10-01 15:01:20 +10:00
Amber Brown 8beb68484f update to remove pipeline chaining from the CI, since it no longer auto-triggers and it duplicates all e2e builds 2024-10-01 13:44:13 +10:00
kimorris27 a06aa0a3d2 Use Go 1.21.13 instead of 1.21.11 (Uber mockgen needs >= 1.21.12) 2024-09-26 09:00:11 -05:00
Shubhadapaithankar bfc155401d
Removed non-containerized stuff from the CI pipeline. (#3852)
* Removed non-containerized stuff from the CI pipeline.

* Kept the make generate check in the NotContainerized stage.

Kept the make generate check in the NotContainerized stage.

* removed the non-containerized Go block from the CI pipeline
2024-09-26 09:02:34 -04:00
Shubhadapaithankar 0657f6aa5a
Shubhadapaithankar/aro-9323-cirp-mvp (#3799)
- Converted containerized CI process to use docker for ease of use in ADO
- Added stage to authenticate and push CI images to ACR
- Added support for extracting test results and coverage files from containerized build
2024-09-19 10:41:44 -06:00
Amber Brown 4f583dd50e hopefully fix cleaning the subscription 2024-09-19 15:13:15 +10:00
Amber Brown 813de36fcb
Fix make aro build in onebranch (#3822)
* fix make aro build in onebranch
* add to bin
* fix it properly
* fix build properly by putting it in a pre-step
2024-09-18 13:32:36 +02:00
Shubhadapaithankar 4ba9270b2a
Remove loki/pipeline-swarm branch from pipeline and refactor for clarity (#3846) 2024-09-17 08:54:16 -04:00
Amber Brown 590e82881c
Clean up the remainder of `go run` uses of external tools (#3823)
* fix make aro build in onebranch
* just install jq for clean subscription
* move fipsdetect and gojq out of go run/manual go build territory
* install tools for validate-fips and e2e
* add to bin
* copy gojq here too
* go mod tidy
* go mod vendor
2024-09-10 18:28:06 +10:00
Amber Brown c554e98391
Drop some unneccessary dependencies by moving to `bingo` for tooling (#3719)
* Move to using bingo for tools
* go mod vendor
2024-09-05 15:29:19 +10:00
Brendan Bergen 0c5b8e6acc
Separate Makefile targets for local vs containers (#3816)
- reverts changes to runlocal-rp
- updates old run-portal to runlocal-portal since it uses local bins
- adds new targets for containerized run of RP and Portal; opt-in
- fixes docs and pipelines to use updated targets
2024-09-04 15:45:44 -04:00
Nont 7e7703fab7 Use sudo for tdnf 2024-09-03 17:39:54 -05:00
Nont 09756dcfe8 Install more OCI packages 2024-08-30 14:44:55 -05:00
Nont e504eb2a88 Install crun 2024-08-30 14:44:55 -05:00
Nont 62d628de86 Switch back to OneBranch build image 2024-08-30 14:44:54 -05:00
Nont da9bf68821 Install required binary for Podman 5 in ci 2024-08-30 14:43:34 -05:00
Shubhadapaithankar b1caf181ee
This is the new CI-RP stage for the pipline (#3768)
* This is the new CI-RP stage for the pipline (#3753)

* Ensure Podman Service is Started and PODMAN_REMOTE_ARGS is Configured Automatically

Ensure Podman Service is Started and PODMAN_REMOTE_ARGS is Configured Automatically

Ensure Podman Service is Started and PODMAN_REMOTE_ARGS is Configured Automatically

removed the tag

Add Podman service start and remote args setup for seamless operation

Add sudo to start Podman service for elevated permissions and fix permission errors

Add sudo to start Podman service for elevated permissions and fix permission errors

Refactor Makefile: Update Podman service handling with sudo and remove default PODMAN_REMOTE_ARGS to improve flexibility and ensure proper permissions.

Add sudo to start Podman service for elevated permissions and fix permission errors

* Added Podman service target and set PODMAN_REMOTE_ARGS for seamless builds.

* fix the makefile

* added the port to fix the Makefile
2024-08-29 09:09:59 -04:00
Brendan Bergen de78a125b1
Adding a temp branch for Loki swarm session (#3754) 2024-08-02 11:38:31 -06:00
Maitiú Ó Ciaráin b264f5c875
Merge pull request #3685 from Azure/mociarain/create-sp-for-each-e2e-run
Create sp for each e2e run
2024-07-22 09:05:27 +02:00
Or Raz 49eff97aff
Initial start of RP int automation (#3670)
* Initial start of RP int automation
Creating new pipeline with new templates for some of the steps

* Rename files and fetch image tags for ACR images
Remove the int/integration phrase from file names and directories, add bash script for fetching the image tag from pkg/util/version/const.go, and remove the clenup subscription template

* Get default image, tag and import it to ACR
Add new functions and scripts to get the images tag and set it nicely for importing and copying images by digest (e.g., for the fluenbit image).

* Add validation commands for downloading secrets and rp-dev-config creation
Check created directory and three config files after downloading the secrets from the shared RP config, and validate that a new rp-dev-config file has been created

* Use Azure unique prefix
Use an Azure unique prefix for the Azure resource names that ARO-RP is creating

* Update env vars
No cahce is needed for running the pipeline, az aro source can be discarded, and remove the e2e suite var

* Simplify two bash scripts and use newer base image
Use UBI8 toolbox image v8.10 with a better name, and shorter env declartion or env validation over multiple lines

* Logically group steps for rp-full-dev-setup
Simplify 'main' pipeline by grouping them by their purpose and use -e flag for the bash scripts

* Typo fix + git commit
s/delpoy/deploy
2024-07-19 19:27:07 +02:00
Maitiú Ó Ciaráin 2aca66076c Drop get_sp function 2024-07-18 18:11:47 +02:00
Nicolas Ontiveros ce31826325
Update Go to 1.21 (#3698)
* Update ci-go

* Update go toolset

* Update prepare shared rp dev

* Update prepare your dev

* More 1.21 updates

* more changes

* save work

* test

* tidy up

* Add license to typealker test
2024-07-18 17:35:06 +10:00
Amber Brown 7dfe2d5453 test 2024-06-25 15:16:25 +10:00
Amber Brown c0cfe2f196 fix triggering of CI + E2E 2024-06-25 13:51:07 +10:00
Tony Schneider b9446b5672 remove trailing whitespace 2024-06-17 13:20:42 -05:00
Tony Schneider 49db8b5e9f delete acr-credentials.json 2024-06-17 13:20:42 -05:00
Tony Schneider a4794ce154 fix copy/paste error 2024-06-17 13:20:42 -05:00
Tony Schneider b5795e460f update aro-classic-e2e to use generated acr credentials 2024-06-17 13:20:42 -05:00
Tony Schneider 51dffba27f use pipeline variable to set SECRET_SA_ACCOUNT_NAME 2024-06-17 13:20:42 -05:00
Arris Li 6d27d26ff0 bump go version to 1.20.12 2024-04-29 19:47:35 +12:00
Amber Brown 867b0d5979
Load the app/SP from the environment instead of automatically creating it (#3498)
* use multierror here, so it's more obvious if we're missing multiple keys

* Ignore the written out clusterapp.env

* move create/delete into separate commands, which write out a clusterapp.env file

* delete the app in the e2e.sh file

* update the docs
2024-04-08 08:06:53 +10:00
Amber Brown ed94c28346
Update to Go 1.20 (#3429)
* Go 1.20 changes

* go 1.20 does not need the seed randomised by default

* go generate
2024-03-05 18:18:36 +11:00
Amber Brown b6e1b07fe8
Use another method of FIPS validation (fips-detect) (#3363)
* Use another method of FIPS validation (fips-detect)
2024-02-01 13:21:34 +11:00
cadenmarchese fe32083726 use aro-must-gather for CI 2023-12-15 14:16:17 -05:00
Amber Brown b21cc048e5
Get to the bottom of the e2e admin portal failure (#3168)
* save screenshots more consistently, update to be more BDD

* save the html too

* fix?

* I think there's a race condition here -- use eventually to work around it

* Update admin_portal.go
2023-09-19 16:53:28 -04:00
Christoph Blecker a96312fdf4
Remove unneeded codeql template 2023-08-17 13:46:18 -07:00
Christoph Blecker 9c844e80ed
Remove CodeQL job from ADO CI 2023-08-16 14:13:48 -07:00
Amber Brown ede320dd33
Run prettier on the pipeline yaml files (#2979)
* move prettierrc up one level

* add a prettierignore

* update files
2023-08-01 21:41:31 +10:00
Amber Brown b5ea75e75f
Add jq for must-gather (#3050) 2023-07-28 11:29:23 +10:00
Caden Marchese 45fe957b6c
Fix e2e must gather (#3037) 2023-07-24 11:42:57 +02:00
Amber Brown 18d60cd7ad cleanup 2023-07-19 16:35:13 +02:00
Amber Brown a108f4c1dd try and run in container 2023-07-19 16:35:13 +02:00
Amber Brown ab8480868e install the default in E2E 2023-07-18 11:02:16 +02:00
Amber Brown 4406ce8103
Try and fix the e2e mustgather (#3023)
* see if this fixes the mustgather
2023-07-13 16:07:22 +12:00
Ben Vesel e34c6d65df
Add longpaths to git config to bypass file name length restrictions (#2993) 2023-06-27 11:48:20 -04:00
Amber Brown 27b1ec195d
Run the admin portal e2e in podman (#2968) 2023-06-23 11:39:55 +10:00