Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wundergraph to deploy config #65

Merged
merged 28 commits into from
Sep 6, 2023
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
0973885
add wg
KirillDogadin-std Jul 28, 2023
4448d19
playground works && ecosystem operations under namespace possible
KirillDogadin-std Aug 3, 2023
767de31
add header authorization
KirillDogadin-std Aug 4, 2023
d243dc3
wip
KirillDogadin-std Aug 4, 2023
461d249
remove generated wg things
KirillDogadin-std Aug 7, 2023
4b86ec7
add gitignore
KirillDogadin-std Aug 7, 2023
377fceb
add readme
KirillDogadin-std Aug 8, 2023
2a6eefd
adjust
KirillDogadin-std Aug 8, 2023
ca22433
change the namespace
KirillDogadin-std Aug 8, 2023
5a98d7a
wip trying to make docker setup work
KirillDogadin-std Aug 8, 2023
b50a0ce
make the operations config smaller
KirillDogadin-std Aug 9, 2023
5d51e37
remove excessive env var and move gitignore
KirillDogadin-std Aug 9, 2023
efb5ca5
add dotenv package
KirillDogadin-std Aug 9, 2023
1a31167
set allowed origins env var
KirillDogadin-std Aug 9, 2023
abb6a0f
Update wundergraph/README.md
KirillDogadin-std Aug 9, 2023
3ff771d
env var configuration
KirillDogadin-std Aug 9, 2023
565f622
add the wg to the project structure readme
KirillDogadin-std Aug 9, 2023
8b7eedc
extend readme of wg
KirillDogadin-std Aug 9, 2023
3fc8df9
add example to the readme
KirillDogadin-std Aug 9, 2023
1a91321
add & fix linter to wg
KirillDogadin-std Aug 9, 2023
3cec61c
add gh action for linting w
KirillDogadin-std Aug 9, 2023
e59728d
update wundergraph to work with docker
valiafetisov Aug 31, 2023
1641ce9
fix running wundergraph on apple silicon
valiafetisov Aug 31, 2023
1487f3d
fix linter
valiafetisov Aug 31, 2023
17a1f0a
updated readme and package-json commands
valiafetisov Aug 31, 2023
dd2525d
adjust build-deploy workflow
KirillDogadin-std Sep 4, 2023
b3ffcb4
change tags
KirillDogadin-std Sep 5, 2023
ce79124
Merge branch 'main' into add-wg-to-deploy
KirillDogadin-std Sep 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/build-and-deploy-staging.yaml
Original file line number Diff line number Diff line change
@@ -42,6 +42,18 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Build and Push switchboard-wundergraph
uses: docker/build-push-action@v3
with:
context: ./wundergraph
platforms: linux/amd64
push: true
tags: |
ghcr.io/sidestream-tech/switchboard/wundergraph:main
ghcr.io/sidestream-tech/switchboard/wundergraph:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Build and Push switchboard-frontend
uses: docker/build-push-action@v3
with:
@@ -79,7 +91,14 @@ jobs:
cmd: yq -i '(.image.tag ="${{ github.sha }}") | (.commitShortSHA ="${{ github.sha }}") | (.releaseTag ="${{ github.ref_name }}")' $VALUES_FILE
env:
VALUES_FILE: "k8s-projects/switchboard-api/staging/values-api.yml"


- name: Update Value File Wundergraph
uses: mikefarah/yq@master
with:
cmd: yq -i '(.image.tag ="${{ github.sha }}") | (.commitShortSHA ="${{ github.sha }}") | (.releaseTag ="${{ github.ref_name }}")' $VALUES_FILE
env:
VALUES_FILE: "k8s-projects/switchboard-api/staging/values-wundergraph.yml"

- name: Update Value File Frontend
uses: mikefarah/yq@master
with: