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

151 Коммитов

Автор SHA1 Сообщение Дата
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
bennerv fb920475a0 Add aro tags when running commands 2021-11-15 13:26:46 -05:00
Ross Bryan 6c49abc69e update fluentbit 2021-11-15 10:21:24 -05:00
Leszek Jakubowski 3c70bef2e2 adding colorama to pyenv 2021-11-05 18:45:59 +01:00
Ben Vesel fef8f41aa3
Remove generate dependency from test-python makefile target (#1795) 2021-10-18 14:55:22 +01:00
Drew Anderson d61fd1609f Ensure build tag "aro" is present
make runlocal-rp
Fail run and use Tests to report -tags status
Updated doc
2021-09-30 16:45:59 +01:00
Jim Minter 91d6a55e8e add gateway 2021-08-19 10:21:09 -04:00
Mangirdas Judeikis a2938d7482
Merge pull request #1649 from 25region/autorest-image
Update Python SDK to Track 2
2021-08-18 05:23:02 -02:00
Mikalai Radchuk 9677872d61
Update Makefile 2021-08-16 13:44:58 +01:00
Peter Kostyukov 10a73b2523 Python Track 2 SDK 2021-08-13 11:47:17 -05:00
Mikalai Radchuk 647da4ec3c Revert "Temporary remove azdev from tests"
This reverts commit c91f758749.
2021-08-06 14:50:20 +01:00
Jim Minter 6cb9988382
build using codec.safe 2021-07-28 11:31:10 +01:00
Mikalai Radchuk c91f758749 Temporary remove azdev from tests 2021-07-27 12:46:28 +01:00
Michael Andescavage db7a220e14 re-adding shell: 2021-07-20 12:59:48 -07:00
Mangirdas Judeikis 6ba3d3b1bd
rename 20210131 -> 20210901 2021-07-20 12:15:25 +01:00
Mangirdas Judeikis 27af6e370a
Merge pull request #1465 from petrkotas/add-testsum
Reduce noise and amount of workers in the CI
2021-07-19 07:56:03 +01:00
Mikalai Radchuk 5b39df3b1a
Makes pyenv target more platform agnostic 2021-07-02 11:36:25 +01:00
Petr Kotas bb7ecaa20d
Organize makefile
split test-go to allow separate phases to be run in CI
each phase will be able to fail separately increasing
readability

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2021-06-28 17:05:43 +02:00
Naveen Malik 30d96047af Bump fluentbit version, change to ubi7/ubi base image 2021-06-15 18:01:21 -04:00