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

169 Коммитов

Автор SHA1 Сообщение Дата
Andrew Denton 4f90ba9e73 Require "official" builds have a valid tag. 2023-01-09 16:41:30 -05:00
Ellis Johnson eafca5aa99
Fix admin portal go embed (#2541)
* Fixed admin portal v2 navigation and e2e admin portal flakes

Check for docker before running e2e tests

* Assuming docker has failed until proven succeeded

* Made changes based on review feedback
2022-11-16 11:02:17 -08:00
Mikalai Radchuk bfafdea970 Adds junit report to E2E
So we can see trends and more easily identify most frequently failing tests.
2022-11-04 14:06:28 +00:00
Spencer Amann 2a9794b362 bump fluentbit image version to latest in makefile 2022-11-03 11:02:21 -04:00
Petr Kotas 4fa5b73f7d Build fat go file for the proxy
PRoxy needs to include all its dependencies instead of
linking them.
With links and ubi-minimal it can lead to missing libraries issue.

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2022-11-02 19:03:25 +01:00
Mikalai Radchuk e2f927b67a Makes e2e flags consistent 2022-09-30 16:54:58 +01:00
Ross Bryan 3e302feefe add color back into e2es, easier to see pass/fails in ADO 2022-09-29 16:50:31 -04:00
Amber Brown 26ef9684eb update to ginkgo v2 in the e2e tests 2022-09-27 15:16:30 +01:00
Mikalai Radchuk 011e2ebe14 Makes ginkgo rerun flaky specs 2022-09-22 17:30:18 +01:00
Carlo Wisse 0ddff8d3d8 Removed registry from linter 2022-09-13 10:13:51 +10:00
Carlo Wisse 34605d0ad6 Remove all reported CVE issues with npm packages, create fallbacks for polyfills, use absolute path to eslint with formatter, upgrade all packages 2022-09-12 15:36:22 +10:00
Christoph Blecker aa3b6e7525
Fix autorest client generation 2022-08-30 19:18:07 -07:00
Christoph Blecker 3a592abe93
Specify platform when building or running images 2022-08-29 21:05:49 -07:00
Brendan Bergen b4c95223f1
Stop printing the admin password to console on login (#2322) 2022-08-11 13:39:57 -04:00
Andrew Denton 7fa655230b pin python versions using requirements.txt. 2022-08-10 16:57:18 +01:00
darthhexx 231b39b6a9 Revert to the correct quay.io repo (still needs to be pushed) 2022-08-05 11:03:10 +10:00
darthhexx 98921644d3 autorest version bump 2022-08-04 21:32:20 +10:00
Brendan Bergen f26818a8a2 Bump fluentbit version 2022-07-13 15:49:24 -06:00
Ross Bryan 95d192c35f create new api version, make client 2022-07-05 17:40:36 -04:00
Caden Marchese 6544bcd2c5
Remove 3rd party dependencies: dockerfile registry arg (#2126)
* allow args in Dockerfiles, change pull references

* add new Dockerfile for OBP, adjust template

remove debugging code
2022-06-24 14:40:13 -04:00
Ross Bryan f8a1bc45e5
add docs, script, and makefile to log into/use shared cluster (#2187) 2022-06-24 08:34:53 -04:00
cadenmarchese 1542fd2b8a Go vet with tags 2022-06-17 10:48:04 -04:00
Aldo Fuster Turpin cc111ee230
improve Python unit testing and refactor _validators.py (#2120)
* refactor: apply Guard clauses in _validators.py to simplify code
* fix _validators.py trailing whitespace
* improve python test tructure, include execution of unit tests in make test-python
* crate make directive to run python unit tests, add unit tests for azext_aro._validators.validate_cidr
* add tests for test_validate_client_id and include test cases description
* add unit tests for validate_client_secret from azext_aro._validators
* add explicit fields to named tuple in test cases in test_validators.py
* add two test scenarios for validate_cluster_resource_group
* simplify mocks
* add test case for test_validate_cluster_resource_group
* improve test descriptions
* add test_validate_disk_encryption_set test to test validate_disk_encryption_set
* add test cases to test_validate_disk_encryption_set()
* refactor test_validator.py to use classes instead of namedtuples. Use mocks instead of specific defined classes
* refactor (simplify code): remove explicit assignemnt to None when it is the default value
* create test_validate_domain() with 1st test case
* add test case, domain with '_'
* explicit import of unittest.TestCase
* fix test message in test_validate_domain
* finish test_validate_domain()
* finish test_validate_sdn() and test_validate_pull_secret()
* create test_validate_subnet() with first test case
* finish test_validate_subnet() and minor refactor in _validators.py
* create test_validate_subnets() and add first test case
* finish validate_vnet_resource_group_name()
* finish test_validate_worker_count() of test_validators.py and simple refactor in _validators.py
* finish test_validate_worker_vm_disk_size_gb()
* refactor _validators.py
* add test_validate_refresh_cluster_credentials() and minor refactor of test_validators()
* refactor _test_validators.py to use pytest, create script and invoke it from Makefile
* simplify test_validate_cidr() using pytest.mark.parametrize
* simplify some tests using pytest.mark.parametrize
* finish applying pytest.mark.parametrize
* clean up Makefile test-python
* add blank line to hack/unit-test-python.sh
* fix typo in test case
* fix mega-linter error, blank space
* fix test case to fail due to invalid range
* fix typo in beeing to be being
* remove redundant test case
* reformat code for better readability
* add missing license to __init__.py files
2022-06-09 09:24:31 +02:00
David Newman bc4b6489e1
Merge pull request #2128 from darthhexx/aks-dev-deploy
AKS development environment
2022-06-09 11:05:39 +10:00
Jeremy Facchetti b4bd5842ac
move validate-go to github action (#2153) 2022-06-07 12:39:51 +02:00
darthhexx 00fd14f9cb Add aks.kubeconfig to Makefile .PHONY 2022-06-07 12:41:14 +10:00
darthhexx 7f09fbad6a Add 'make aks.kubeconfig' for use in development environments. 2022-06-07 12:41:13 +10:00
Aldo Fuster Turpin eb72d3275c
create lint-go script and call it from Makefile (#2118)
Co-authored-by: Jeremy Facchetti <facchettos@gmail.com>
2022-06-03 17:11:25 +02:00
Jeremy Facchetti 8d6d4c3a95
added yaml lint (#2132)
* added yaml lint

* updated the doc
2022-05-27 13:10:11 -04:00
bennerv 500a7926c9 Bump fluentbit, mdm, and mdsd images to mitigate P0/P1s 2022-04-26 15:35:25 -04:00
Ellis Johnson bedce2b2b0
Admin Portal v2 (#2019)
Add in sre portal v2, still default to v1

Co-authored-by: Amber Brown <ambrown@redhat.com>
Co-authored-by: Brett Embery <bembery@redhat.com>
Co-authored-by: Ben Vesel <10840174+bennerv@users.noreply.github.com>
2022-04-06 09:06:11 -04:00
Peter Kostyukov 49ed232c76
Create 2022-04-01 API (#1876) 2022-04-05 15:34:54 +02:00
cadenmarchese cdbb3aac51 add containers_image_openpgp everywhere 2022-04-05 14:21:21 +02:00
Nont cc9a21680d
Change secrets-update to allow subsequent updates (#2038)
Co-authored-by: Nont <nthanonchai@microsoft.com>
2022-04-04 20:45:08 -04:00
Caden Marchese 33133993bb
add containers_image_openpgp tag (#2032) 2022-04-04 11:51:46 -04:00
Neeraj Bhatt f63e65c294
Update Makefile (#2020)
The ARO-RP returns special characters in color encoding special character, which is not decoded as of now. This change removes the color encoding characters by default in e2e tests
2022-03-22 18:56:45 -04:00
Leszek Jakubowski 648c860272
adding a way to pass additional flags to E2E tests (#1998) 2022-03-10 19:53:31 -05:00
Petr Kotas b73ec7ce6d fix: use the tag/commit as the aro version
ARO uses both tags and commits as its version.
The commits are used for the development scenario,
tags are used when building and deploing to
production.
2022-02-24 13:30:08 +00:00
Ross Bryan d3ced9732d add fips validation scripts and ci step 2022-02-14 15:10:20 +00:00
Karan Magdani 6ad5a2d56e
clean temporary gomock folders (#1912)
Signed-off-by: Karan.Magdani <kmagdani@redhat.com>
2022-02-10 12:08:55 -05:00
bennerv d949dbfbf6 Suppress stderr within Makefile command 2022-02-03 11:45:04 -05:00
Petr Kotas d3efc247d4 Revert "Revert "[PIPELINES 4] Create release based on annotated git tag"" 2022-01-31 13:51:44 +00:00
Petr Kotas 56b90ee8a0
Revert "[PIPELINES 4] Create release based on annotated git tag" 2022-01-19 15:07:14 +01:00
Petr Kotas 7197f3255d
Merge pull request #1684 from petrkotas/build-by-tag 2022-01-18 18:54:08 +01:00
Petr Kotas 44f6fc55fb
Add tagged aro image
Add annotated tag build and push into makefile.
Without annotation, the TAG is empty and
action is not performed.

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2022-01-14 13:57:39 +01:00
Amber Brown c7b36900f5
Merge pull request #1858 from SrinivasAtmakuri/patch-1
make runlocal-rp read the version.gitCommit
2021-12-22 14:32:00 +11:00
Mikalai Radchuk 9b4fecf09f Revert to previous fluentbit 2021-12-13 15:48:32 +00:00
Srinivas Atmakuri ef54ea8a01
make runlocal-rp read the version.gitCommit
Existing code for running localrp does not read version.gitCommit, resulting in ARO operator version as `unknown` for dev clusters.
With this PR, we pass the ${COMMIT} to the go run aro command.
2021-11-30 17:32:23 +05:30
Mangirdas Judeikis eafc4b5285
Docs and make file nits (#1731) 2021-11-16 13:29:01 -05:00
Ben Vesel ac41f36590
Merge pull request #1838 from bennerv/add-aro-tag
Add `aro` build tags when running code out of cmd
2021-11-16 11:08:08 -05:00