Skip to content

Commit

Permalink
Monorepo initial
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Jan 14, 2024
1 parent 585ca78 commit 3a2f7a9
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 36 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/api-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ jobs:
DOCKER_REGISTRY: 236785930124.dkr.ecr.us-east-1.amazonaws.com
run: |
docker build -t $DOCKER_TAG .
# docker tag $DOCKER_TAG $DOCKER_REGISTRY/$DOCKER_TAG
# docker push $DOCKER_REGISTRY/$DOCKER_TAG
# docker tag $DOCKER_TAG $DOCKER_REGISTRY/indexnetwork/web3-api:latest-${GITHUB_REF#refs/heads/}
# docker push $DOCKER_REGISTRY/indexnetwork/web3-api:latest-${GITHUB_REF#refs/heads/}
docker tag $DOCKER_TAG $DOCKER_REGISTRY/$DOCKER_TAG
docker push $DOCKER_REGISTRY/$DOCKER_TAG
docker tag $DOCKER_TAG $DOCKER_REGISTRY/indexnetwork/web3-api:latest-${GITHUB_REF#refs/heads/}
docker push $DOCKER_REGISTRY/indexnetwork/web3-api:latest-${GITHUB_REF#refs/heads/}
- name: Deploy
run: |-
# kubectl set image deployment/api api=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/web3-api:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}
# kubectl set image deployment/consumer consumer=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/web3-api:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}
kubectl set image deployment/api api=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/web3-api:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}
kubectl set image deployment/consumer consumer=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/web3-api:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}
10 changes: 5 additions & 5 deletions .github/workflows/indexer-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
DOCKER_REGISTRY: 236785930124.dkr.ecr.us-east-1.amazonaws.com
run: |
docker build -t $DOCKER_TAG .
# docker tag $DOCKER_TAG $DOCKER_REGISTRY/$DOCKER_TAG
# docker push $DOCKER_REGISTRY/$DOCKER_TAG
# docker tag $DOCKER_TAG $DOCKER_REGISTRY/indexnetwork/llm-indexer:latest-${GITHUB_REF#refs/heads/}
# docker push $DOCKER_REGISTRY/indexnetwork/llm-indexer:latest-${GITHUB_REF#refs/heads/}
docker tag $DOCKER_TAG $DOCKER_REGISTRY/$DOCKER_TAG
docker push $DOCKER_REGISTRY/$DOCKER_TAG
docker tag $DOCKER_TAG $DOCKER_REGISTRY/indexnetwork/llm-indexer:latest-${GITHUB_REF#refs/heads/}
docker push $DOCKER_REGISTRY/indexnetwork/llm-indexer:latest-${GITHUB_REF#refs/heads/}
- name: Deploy
run: |-
# kubectl set image deployment/llm-indexer llm-indexer=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/llm-indexer:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}
kubectl set image deployment/llm-indexer llm-indexer=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/llm-indexer:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}
10 changes: 5 additions & 5 deletions .github/workflows/web-app-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
DOCKER_REGISTRY: 236785930124.dkr.ecr.us-east-1.amazonaws.com
run: |
docker build -t $DOCKER_TAG .
# docker tag $DOCKER_TAG $DOCKER_REGISTRY/$DOCKER_TAG
# docker push $DOCKER_REGISTRY/$DOCKER_TAG
# docker tag $DOCKER_TAG $DOCKER_REGISTRY/indexnetwork/web3-web-app:latest-${GITHUB_REF#refs/heads/}
# docker push $DOCKER_REGISTRY/indexnetwork/web3-web-app:latest-${GITHUB_REF#refs/heads/}
docker tag $DOCKER_TAG $DOCKER_REGISTRY/$DOCKER_TAG
docker push $DOCKER_REGISTRY/$DOCKER_TAG
docker tag $DOCKER_TAG $DOCKER_REGISTRY/indexnetwork/web3-web-app:latest-${GITHUB_REF#refs/heads/}
docker push $DOCKER_REGISTRY/indexnetwork/web3-web-app:latest-${GITHUB_REF#refs/heads/}
- name: Deploy
run: |-
# kubectl set image deployment/frontend frontend=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/web3-web-app:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}
kubectl set image deployment/frontend frontend=236785930124.dkr.ecr.us-east-1.amazonaws.com/indexnetwork/web3-web-app:${{ steps.build-time.outputs.time }} --namespace env-${GITHUB_REF#refs/heads/}
6 changes: 0 additions & 6 deletions web-app/.idea/inspectionProfiles/Project_Default.xml

This file was deleted.

8 changes: 0 additions & 8 deletions web-app/.idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions web-app/.idea/vcs.xml

This file was deleted.

0 comments on commit 3a2f7a9

Please sign in to comment.