Skip to content

Commit

Permalink
Integrate Support for Short-Lived Tokens (STS) in Remote Authenticati…
Browse files Browse the repository at this point in the history
…on (#7571)
  • Loading branch information
guy-har authored Mar 24, 2024
1 parent b821b82 commit 1babac4
Show file tree
Hide file tree
Showing 56 changed files with 3,135 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/esti.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
if: steps.restore-cache.outputs.cache-hit != 'true'
run: |
make -j3 gen-api gen-ui VERSION=${{ steps.version.outputs.tag }}
tar -cf /tmp/generated.tar.gz ./webui/dist ./pkg/auth/client.gen.go ./pkg/permissions/actions.gen.go ./pkg/api/apigen/lakefs.gen.go
tar -cf /tmp/generated.tar.gz ./webui/dist ./pkg/auth/client.gen.go ./pkg/authentication/apiclient/client.gen.go ./pkg/permissions/actions.gen.go ./pkg/api/apigen/lakefs.gen.go
# must upload artifact in order to download generated later
- name: Store generated code
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,14 @@ package: package-python

.PHONY: gen-api
gen-api: docs/assets/js/swagger.yml ## Run the swagger code generator
$(GOGENERATE) ./pkg/api/apigen ./pkg/auth
$(GOGENERATE) ./pkg/api/apigen ./pkg/auth ./pkg/authentication

.PHONY: gen-code
gen-code: gen-api ## Run the generator for inline commands
$(GOGENERATE) \
./pkg/actions \
./pkg/auth/ \
./pkg/authentication \
./pkg/graveler \
./pkg/graveler/committed \
./pkg/graveler/sstable \
Expand Down Expand Up @@ -264,6 +266,7 @@ validate-proto: gen-proto ## build proto and check if diff found
validate-mockgen: gen-code
git diff --quiet -- pkg/actions/mock/mock_actions.go || (echo "Modification verification failed! pkg/actions/mock/mock_actions.go"; false)
git diff --quiet -- pkg/auth/mock/mock_auth_client.go || (echo "Modification verification failed! pkg/auth/mock/mock_auth_client.go"; false)
git diff --quiet -- pkg/authentication/api/mock_authentication_client.go || (echo "Modification verification failed! pkg/authentication/api/mock_authentication_client.go"; false)
git diff --quiet -- pkg/graveler/committed/mock/batch_write_closer.go || (echo "Modification verification failed! pkg/graveler/committed/mock/batch_write_closer.go"; false)
git diff --quiet -- pkg/graveler/committed/mock/meta_range.go || (echo "Modification verification failed! pkg/graveler/committed/mock/meta_range.go"; false)
git diff --quiet -- pkg/graveler/committed/mock/range_manager.go || (echo "Modification verification failed! pkg/graveler/committed/mock/range_manager.go"; false)
Expand Down
Loading

0 comments on commit 1babac4

Please sign in to comment.