Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Commit

Permalink
chore: rename project to archive
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Basty committed Jul 13, 2023
1 parent ac132bc commit c705256
Show file tree
Hide file tree
Showing 50 changed files with 712 additions and 737 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ trim_trailing_whitespace = true
[*.rs]
indent_size = 4
tab_width = 4

[*.{jsonnet,libsonnet}]
indent_size = 2
tab_width = 2
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORT=3000
PUBLIC_URL=http://localhost:3000
LOG_LEVEL=ERROR
MONGO_ADDRESS=mongodb://admin:admin@localhost:27017/gilgamesh?authSource=admin
MONGO_ADDRESS=mongodb://admin:admin@localhost:27017/archive?authSource=admin

# Don't validate signatures - allows for users to send push notifications from
# HTTP clients e.g. curl, insomnia, postman, etc
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Thanks for taking the time to suggest a new feature for Gilgamesh! ✨
Thanks for taking the time to suggest a new feature for Archive Server! ✨
- type: checkboxes
attributes:
label: Is there an existing issue for this?
Expand All @@ -32,7 +32,7 @@ body:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
version: ${{ needs.get-version.outputs.version }}
environment: 'staging'
environment_url: https://staging.history.walletconnect.com/health
environment_url: https://staging.archive.walletconnect.com/health

validate-staging:
needs:
Expand All @@ -68,7 +68,7 @@ jobs:
with:
version: ${{ needs.get-version.outputs.version }}
environment: 'prod'
environment_url: https://history.walletconnect.com/health
environment_url: https://archive.walletconnect.com/health

validate-prod:
needs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
uses: supercharge/mongodb-github-action@1.8.0
with:
mongodb-version: '4.4'
mongodb-db: gilgamesh
mongodb-db: archive

- name: Install Protoc
uses: arduino/setup-protoc@v1
Expand All @@ -191,7 +191,7 @@ jobs:
- name: "Storage Tests"
uses: actions-rs/cargo@v1
env:
MONGO_ADDRESS: mongodb://localhost:27017/gilgamesh
MONGO_ADDRESS: mongodb://localhost:27017/archive
with:
command: test
args: --features storage-tests
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci_terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id: tf-init
uses: WalletConnect/actions/terraform/init/@1.0.3
with:
environment: staging
environment: staging/app

- name: Check Terraform Formatting
id: tf-fmt
Expand Down Expand Up @@ -86,8 +86,8 @@ jobs:
contents: 'read'
pull-requests: 'write'
environment:
name: infra/staging
url: https://staging.history.walletconnect.com/health
name: staging/infra
url: https://staging.archive.walletconnect.com/health

steps:
- name: Checkout
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
id: tf-init
uses: WalletConnect/actions/terraform/init/@1.0.3
with:
environment: staging
environment: staging/app

- name: Run Terraform Plan
id: tf-plan-staging
Expand All @@ -133,7 +133,7 @@ jobs:
TF_VAR_image_version: ${{ needs.get-version.outputs.version }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
environment: staging
environment: staging/app

- name: Delete Grafana key
id: grafana-delete-key
Expand All @@ -153,8 +153,8 @@ jobs:
contents: 'read'
pull-requests: 'write'
environment:
name: infra/prod
url: https://history.walletconnect.com/health
name: prod/infra
url: https://archive.walletconnect.com/health

steps:
- name: Checkout
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
id: tf-init
uses: WalletConnect/actions/terraform/init/@1.0.3
with:
environment: prod
environment: prod/app

- name: Run Terraform Plan
id: tf-plan-staging
Expand All @@ -200,7 +200,7 @@ jobs:
TF_VAR_image_version: ${{ needs.get-version.outputs.version }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
environment: prod
environment: prod/app

- name: Delete Grafana key
id: grafana-delete-key
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
description: 'the URL of the environment'
required: true
type: string
default: https://history.walletconnect.com/health
default: https://archive.walletconnect.com/health
workflow_call:
inputs:
environment:
Expand All @@ -28,7 +28,7 @@ on:
description: 'the URL of the environment'
required: true
type: string
default: https://history.walletconnect.com/health
default: https://archive.walletconnect.com/health
version:
description: 'the release version'
required: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ jobs:
uses: docker/metadata-action@v4
with:
images: |
${{ steps.login-ecr.outputs.registry }}/gilgamesh
${{ steps.login-ecr.outputs.registry }}/archive
ghcr.io/${{ github.repository }}
walletconnect/gilgamesh,enable=false
walletconnect/archive,enable=false
flavor: |
latest=auto
tags: |
Expand Down
Loading

0 comments on commit c705256

Please sign in to comment.