Commit graph

172 commits

Author SHA1 Message Date
azatsafin
d565ad4e38
fix to remove deployment when pr closed with existing tag (#2174)
Co-authored-by: Azat Safin <azsafin@provectus.com>
2022-06-16 13:11:09 +03:00
Roman Zabaluev
e4dc1134ab
Fix possible CWE-94 in a workflow 2022-06-09 15:50:43 +04:00
sbritprovectus
e5f2df86dd
Fix e2e tests (#1543)
* Fix tests. Change folders structure

* Activate tests

* Update selenoid.yaml, broesers.json. Add pull of selenoid browser image.

* Change method of pulling chrome image

* Fix browsers.json and return the pulling of browser image

* Update pom.

* Update pom

* Fix pom

* Fix java version in pom

* Migrate to selenium containers

* Return selenoid container. Fix using of BASE_URL

* Delete video recording for Selenoid container

* expose kafka-ui port

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* Fix tests run

* Delete comment from workflow file

* Stop using containers and migrate to WDM.

* Delete comments. Update dependencies.

* Comment using of  TestConfiguration.BASE_URL.replace("localhost", "host.docker.internal");

* Retern changes

* Clean code

* Update e2e-checks.yaml

* Update e2e-checks.yaml

* Fix skip test parameter in tests project

* Delete host.docker.internal in base tests

* Return previous usage of testcontainers

* Delete base url configuration

* Revert versions in pom.xml

* Return some values

* Small fixes for stabilize tests

* Trying to fix tests running on github

* Update base test

* Fix selenide url

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* Fix selenide url

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* test stuff

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* added extra-hosts host.docker.internal:host-gateway

* added extra-hosts host.docker.internal:host-gateway

* added extra-hosts host.docker.internal:host-gateway

* added command --add-host

* separate driver container

* small refactoring, change selenoid to BrowserWebDriverContainer

* changed in BaseTest port from 8678 to 8080

* changed tests with xpath and added additional actions (click javascrip, click with action)

* added issue to allure reporting

* provided fix for connectors tests

* deleted afterAll annotation

* fixed tests with ConnectorsTests

* fixed tests with Topics

* removed commented action with click

* Revert unnecessary changes

* Fix workflow

* added @Disabled for test- update topic dui to issue https://github.com/provectus/kafka-ui/issues/1500

* removed dependency, testconteiners version

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: kshpilchyna <kshpilchyna@provectus.com>
2022-06-06 22:05:43 +04:00
Vanessasaurus
a0f5093635
Bump urlchecker-action version (#2101) 2022-06-03 12:56:15 +04:00
dependabot[bot]
1e3561ea28
Bump actions/checkout from 2 to 3 (#1706)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 01:05:30 +04:00
dependabot[bot]
34db4ccab6
Bump actions/cache from 2 to 3.0.1 (#1795)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3.0.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 16:50:40 +04:00
dependabot[bot]
1f4e20ca50
Bump aquasecurity/trivy-action from 0.2.3 to 0.3.0 (#1941)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.2.3 to 0.3.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.2.3...0.3.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 16:03:13 +04:00
dependabot[bot]
30e0238bd1
Bump actions/setup-node from 1 to 3.1.1 (#1820)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 12:49:51 +04:00
azatsafin
69a605721e
fix depoyment from bad branch names (#1819)
Co-authored-by: Azat Safin <azsafin@provectus.com>
2022-04-11 17:01:35 +03:00
dependabot[bot]
1eeacf628f
Bump actions/stale from 4 to 5 (#1818)
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 14:41:24 +04:00
dependabot[bot]
fecb939ff8
Bump actions/upload-artifact from 2 to 3 (#1817)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 14:29:04 +04:00
dependabot[bot]
f9f6e2bb13
Bump aquasecurity/trivy-action from 0.2.2 to 0.2.3 (#1815)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.2.2...0.2.3)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 12:45:43 +03:00
dependabot[bot]
b44fd8490b
Bump peter-evans/create-or-update-comment from 1.4.5 to 2 (#1803)
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 1.4.5 to 2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v1.4.5...v2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 19:30:32 +04:00
Roman Zabaluev
f2756295c4
Update stale workflow configuration 2022-04-06 15:07:58 +04:00
dependabot[bot]
ac1e6cf3b3
Bump jwalton/gh-docker-logs from 2.0.2 to 2.2.0 (#1687)
Bumps [jwalton/gh-docker-logs](https://github.com/jwalton/gh-docker-logs) from 2.0.2 to 2.2.0.
- [Release notes](https://github.com/jwalton/gh-docker-logs/releases)
- [Commits](https://github.com/jwalton/gh-docker-logs/compare/v2.0.2...v2.2.0)

---
updated-dependencies:
- dependency-name: jwalton/gh-docker-logs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 16:48:27 +04:00
Joseph DeChicchis
1796fd519b
Implement deserializing binary protobuf encoded message keys (#1729)
* Add protobufMessageNameForKeyByTopic option to config. Message keys are
deserialized using a protobuf schema if the config is set. Otherwise
message keys are treated as strings.

Closes #1699

* Add documentation around kafkaui's protobuf support

* Add protobufMessageNameForKey config option

* Update README with info about default types

* Imeplement support for protobufMessageNameForKeyByTopic

* fallback to FALLBACK_FORMATTER

* Add ability to publish message with protobuf key

* Change log levels to debug and add @Nullable annotations

* Attempt at fixing documentation workflow

Co-authored-by: Ilya Kuramshin <ilia-2k@rambler.ru>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Co-authored-by: Roman Zabaluev <github@haarolean.dev>
2022-04-05 16:26:57 +04:00
Roman Zabaluev
8908d6839c
Get rid of zookeeper (#1726)
* Get rid of zookeeper

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* Fix build

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* Cleanup

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* Review fixes

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* Skip unwanted domain check for documentation flow

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-03-23 18:23:37 +03:00
Roman Zabaluev
d13d4dc327
Update stale workflow 2022-03-10 11:17:02 +03:00
Ruslan Ibragimov
04fbd05d11
Add cve checks wf (#1681) 2022-02-25 15:49:23 +03:00
Ruslan Ibragimov
9cfbf20b70
frontend wf restrict warnings (#1655) 2022-02-22 13:53:32 +03:00
Ruslan Ibragimov
b8761b500d
Implement a workflow to check other workflows syntax (#1645)
* add workflow linter workflow

* fix linter errors

* change step name to clear one

* rename job
2022-02-21 13:55:53 +03:00
Ruslan Ibragimov
25d00988ad
Trigger backend workflow on root pom.xml change (#1634)
* Trigger backend workflow on root pom.xml change

* Trigger e2e checks workflow on root pom.xml change
2022-02-18 11:47:17 +03:00
Ruslan Ibragimov
6428cbef4a
fix sonar scans (#1617) 2022-02-16 18:25:41 +03:00
azatsafin
c2a31bdce0
build ami workflow for aws marketplace (#1610)
Co-authored-by: Azat Safin <azsafin@provectus.com>
2022-02-15 15:47:26 +03:00
Ruslan Ibragimov
4862687956
Fix workflow for documentation (#1607) 2022-02-15 14:01:40 +03:00
Ruslan Ibragimov
95a9047114
Specify distinct image tag version for helm chart (#1595) 2022-02-13 14:24:18 +03:00
dependabot[bot]
d7d5d5299e
Bump urlstechie/urlchecker-action from 0.0.25 to 0.2.31 (#1517)
Bumps [urlstechie/urlchecker-action](https://github.com/urlstechie/urlchecker-action) from 0.0.25 to 0.2.31.
- [Release notes](https://github.com/urlstechie/urlchecker-action/releases)
- [Commits](https://github.com/urlstechie/urlchecker-action/compare/0.0.25...0.2.31)

---
updated-dependencies:
- dependency-name: urlstechie/urlchecker-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 18:28:02 +03:00
Ruslan Ibragimov
ce345ce561
Additionally tag images with github sha as the version and as master (#1585) 2022-02-11 15:40:38 +03:00
Ruslan Ibragimov
d503691600
Allow running sonar within PR of a fork (#1581)
* Allow running sonar within PR of a fork

* remove github token from envs on mvn verify
2022-02-10 15:24:57 +03:00
Ruslan Ibragimov
6ab0e40685
Fix maven warnings about dynamic versioning (#1559) 2022-02-07 13:40:43 +03:00
azatsafin
f6daa8c69c
use lowercase for env names even if branch name consist uppercase symbols (#1548)
Co-authored-by: Azat Safin <azsafin@provectus.com>
2022-02-04 16:27:51 +03:00
Damir Abdulganiev
ced74ac550
[Fixes #1534] No originally selected custom parameters in topic's edit tab (#1538)
- Fixes No originally selected custom parameters in topic's edit tab #1534
- Adds test case for CustomParams to verify fix
- Updates CustomParamsField to use predefined value
- Renames INDEX_PREFIX to TOPIC_CUSTOM_PARAMS_PREFIX and moves it to constants file
- Removes unused configs from Topic/Edit component
- Rewrites DangerZone styled's
- Rewrites DangerZone tests
- Adds margin to DangerZone to match TopicForm width
- Adds simple Topic/Edit test
- Changes sonar-project.properties file's sonar.exclusions to correctly ignore paths

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-02-03 13:29:02 +03:00
Ruslan Ibragimov
a24696cc30
Add schedule for running helm workflow (#1522) 2022-01-31 13:07:55 +03:00
Roman Zabaluev
d0cd3795be
Update a list of labels preventing merge 2022-01-28 16:47:07 +03:00
Ruslan Ibragimov
1ae0d4d8aa
Add step to attach built jar to a release (#1505) 2022-01-28 11:13:25 +03:00
Ruslan Ibragimov
2f3aae028e
Add helm chart testing workflow (#1495) 2022-01-27 11:03:44 +03:00
Roman Zabaluev
c9e7aac898
Limit codeql run by frontend paths (#1484) 2022-01-26 22:04:16 +03:00
azatsafin
f58d74824c
Specify time period in which deployment will be available (#1486)
Co-authored-by: Azat Safin <azsafin@provectus.com>
2022-01-26 12:23:37 +03:00
Ruslan Ibragimov
315a3612c1
Adapted required PR checks (#1478)
* required PR checks workflows adaptation

* Temporarily ignore broken e2e tests. TODO #1480

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

* Ignore e2e tests attempt #2

Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-01-25 17:55:04 +03:00
Ruslan Ibragimov
d5f83b09f4
fix update of helm chart on release (#1476) 2022-01-25 13:30:48 +03:00
Ruslan Ibragimov
38c4cf7dd9 Add ability to run release_drafter.yml workflow manually 2022-01-25 11:14:49 +03:00
Ruslan Ibragimov
cd705b10b4 Remove condition for Login to Dockerhub step in release.yaml workflow 2022-01-25 10:01:41 +03:00
Ruslan Ibragimov
79442a7e82
Change the way of release workflow (#1434)
* use version placeholders in pom.xml files

* add release drafter config and workflow

* update master workflow

* update release workflow

* update branch-deploy.yml workflow

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
2022-01-21 10:47:48 +03:00
Roman Zabaluev
8c99cdfb50
An action preventing merge with specific labels 2022-01-19 14:48:53 +03:00
Roman Zabaluev
1231ee6314
Update triage labelling configuration 2022-01-19 14:13:49 +03:00
Ruslan Ibragimov
060c043094
Implement a workflow to create separate environment (#1396)
* Implement a workflow to create separate environment

* Make review based changes
2022-01-17 16:42:35 +03:00
Ruslan Ibragimov
0c60ac5132 fix parameter name for terraform-deploy.yml 2022-01-13 12:05:12 +03:00
Ruslan Ibragimov
0b112003a5
remove custom kafka-ui application in argocd when PR was unlabeled or closed (#1321) 2021-12-25 12:01:47 +03:00
azatsafin
317d956c3c
add possibility to run tf from branch (#1297)
Co-authored-by: Azat Safin <azsafin@provectus.com>
2021-12-21 12:12:39 +03:00
Ruslan Ibragimov
28b2f867c0
Use kafka-ui-infra token in terraform deploy workflow. (#1288) 2021-12-20 12:45:04 +03:00