Skip to content

Commit

Permalink
Update e2e pipeline
Browse files Browse the repository at this point in the history
E2E pipelines is broken because:
* Not exists environment variable for ignore TLS rejected;
* PostgreSQL was updated to v13 without test in beta version.

And in this commit i changed go.sum of the all service to fix correct version to download libraries.

Signed-off-by: wilian <wilian.silva@zup.com.br>
  • Loading branch information
wiliansilvazup committed Nov 8, 2021
1 parent e3910a3 commit afa3bf5
Show file tree
Hide file tree
Showing 11 changed files with 725 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
id: node
- uses: actions/checkout@v2
- name: Run e2e tests
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
run: |
cd ./e2e/cypress
make test-e2e-auth-horusec-without-application-admin
Expand All @@ -45,6 +47,8 @@ jobs:
id: node
- uses: actions/checkout@v2
- name: Run e2e tests
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
run: |
cd ./e2e/cypress
make test-e2e-auth-keycloak-without-application-admin
Expand Down
100 changes: 100 additions & 0 deletions analytic/go.sum

Large diffs are not rendered by default.

104 changes: 104 additions & 0 deletions api/go.sum

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions auth/config/grpc/enums/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
package enums

const (
MessageFailedToGetTCPListener = "{AUTH GRPC} failed to get net listener"
MessageGRPCServerFailedToStart = "{AUTH_GRPC} grpc server failed to start"
MessageFailedToGetTCPListener = "{AUTH GRPC} failed to get net listener"
MessageGRPCServerFailedToStart = "{AUTH_GRPC} grpc server failed to start"
//nolint:gosec // validation of the hardcoded credential is false positive
MessageFailedToGetGRPCCredentials = "{AUTH GRPC} failed to get grpc credentials"
MessageGRPCServerListening = "{AUTH GRPC} grpc server listening on %d tpc port"
)
96 changes: 96 additions & 0 deletions auth/go.sum

Large diffs are not rendered by default.

95 changes: 95 additions & 0 deletions core/go.sum

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion e2e/cypress/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
DOCKER_COMPOSE ?= docker-compose
NPM ?= npm
NPX ?= npx
CD ?= cd
MAKE ?= make

Expand All @@ -17,7 +18,7 @@ migrate-horusec-postgresql:
$(CD) ../.. && $(MAKE) migrate-drop && $(MAKE) migrate-up && $(CD) ./e2e/cypress

test-e2e-install:
$(NPM) install
$(NPM) install && $(NPX) browserslist@latest --update-db

test-e2e-auth-horusec-without-application-admin: test-e2e-install compose-e2e-auth-horusec-without-application-admin
$(NPM) run test::auth-horusec::without-application-admin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
- "15672:15672"
horusec_postgresql:
container_name: horusec_postgresql
image: postgres:13
image: postgres:12
ports:
- "5432:5432"
environment:
Expand Down
130 changes: 130 additions & 0 deletions messages/go.sum

Large diffs are not rendered by default.

95 changes: 95 additions & 0 deletions vulnerability/go.sum

Large diffs are not rendered by default.

95 changes: 95 additions & 0 deletions webhook/go.sum

Large diffs are not rendered by default.

0 comments on commit afa3bf5

Please sign in to comment.