Skip to content

Commit

Permalink
auth-python: Changed Directory Structure to Support Multi-Cloud
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Nair <[email protected]>
  • Loading branch information
alannair authored and dhschall committed May 23, 2023
1 parent 5344972 commit cd4eec1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
uses: docker/build-push-action@v3
with:
push: true
file: benchmarks/auth/Dockerfile
file: benchmarks/auth/docker/Dockerfile
platforms: ${{ env.PLATFORMS }}
target: ${{ matrix.target }}
tags: vhiveease/${{ matrix.service }}:latest
Expand Down
12 changes: 6 additions & 6 deletions benchmarks/auth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ all_image: $(ALL_IMAGES)



auth-python-image: Dockerfile python/server.py
auth-python-image: docker/Dockerfile python/server.py
DOCKER_BUILDKIT=1 docker build \
--tag $(DOCKER_HUB_ACCOUNT)/auth-python:latest \
--target authPython \
-f Dockerfile \
-f docker/Dockerfile \
$(ROOT)


auth-nodejs-image: Dockerfile nodejs/server.js
auth-nodejs-image: docker/Dockerfile nodejs/server.js
DOCKER_BUILDKIT=1 docker build \
--tag $(DOCKER_HUB_ACCOUNT)/auth-nodejs:latest \
--target authNodeJS \
-f Dockerfile \
-f docker/Dockerfile \
$(ROOT)


auth-go-image: Dockerfile go/server.go
auth-go-image: docker/Dockerfile go/server.go
DOCKER_BUILDKIT=1 docker build \
--tag $(DOCKER_HUB_ACCOUNT)/auth-go:latest \
--target authGo \
-f Dockerfile \
-f docker/Dockerfile \
$(ROOT)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ WORKDIR /app/app/
RUN apt-get install git ca-certificates

COPY ./utils/tracing/go ../../utils/tracing/go
COPY ./benchmarks/auth/go.mod ./
COPY ./benchmarks/auth/go.sum ./
COPY ./benchmarks/auth/go/go.mod ./
COPY ./benchmarks/auth/go/go.sum ./
COPY ./benchmarks/auth/go/server.go ./

RUN go mod tidy
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions runner/aws_lambda_scripts/aws_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def attach_policies_to_role(role, policies):

basicRoleArn = 'arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole'
client.attach_role_policy(RoleName=role, PolicyArn=basicRoleArn)
time.sleep(5)

def publish_function(role, repo, tag, lambdafn, env):
client = boto3.client('lambda')
Expand Down

0 comments on commit cd4eec1

Please sign in to comment.