Skip to content

Commit 766f4c6

Browse files
github-actions[bot]Alan ShawPeejafforbeckhannahhoward
authored
chore(main): release w3console 1.10.0 (#112)
🤖 I have created a release *beep* *boop* --- ## [1.10.0](w3console-v1.9.1...w3console-v1.10.0) (2024-09-04) ### Features * **copy:** Add missing comma ([#115](#115)) ([5f3cf7b](5f3cf7b)) ### Bug Fixes * check ref ([f406ac9](f406ac9)) * quotes ([bcf209b](bcf209b)) * **space-creator:** check provision result before proceeding ([#119](#119)) ([c15c379](c15c379)) * use correct branch name ([f81e090](f81e090)) * use main branch ([698974b](698974b)) ### Other Changes * add storacha deploy action ([39345e6](39345e6)) * Set `packageManager` ([#117](#117)) ([5f135df](5f135df)) * update deploy name ([f7c1340](f7c1340)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Alan Shaw <[email protected]> Co-authored-by: Petra Jaros <[email protected]> Co-authored-by: Felipe Forbeck <[email protected]> Co-authored-by: Hannah Howard <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c15c379 commit 766f4c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+861
-665
lines changed

.github/workflows/deploy-storacha.yml

+100-3
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,115 @@ name: Deploy Storacha
22
on:
33
push:
44
branches:
5-
- 'feat/storacha-skin'
5+
- 'main'
6+
pull_request:
7+
branches:
8+
- 'main'
69
jobs:
10+
test:
11+
uses: ./.github/workflows/test.yml
12+
13+
preview:
14+
name: Preview
15+
needs:
16+
- test
17+
runs-on: ubuntu-latest
18+
permissions:
19+
pull-requests: write
20+
environment:
21+
name: ${{ (github.ref_name == 'main') && 'staging' || format('preview-{0}', github.ref_name) }}
22+
url: ${{ (github.ref_name == 'main') && 'https://staging.console.web3.storage/' || steps.cloudflare_url.outputs.stdout }}
23+
steps:
24+
- uses: actions/checkout@v3
25+
- uses: ./.github/actions/pnpm
26+
- name: create .env from .env.tpl setting env variables used by `pnpm run pages:build`
27+
run: |
28+
# set env vars from template
29+
30+
# omit these because they are added manually in the next step
31+
function excludeDefaultServiceVariables() {
32+
cat - | grep -v NEXT_PUBLIC_W3UP_SERVICE_ | grep -v NEXT_PUBLIC_STRIPE
33+
}
34+
35+
# set .env from .env.tpl with exclusions
36+
cat .env.tpl | excludeDefaultServiceVariables > .env
37+
38+
# add vars configuring console frontend to use staging w3up as backend
39+
echo "NEXT_PUBLIC_W3UP_SERVICE_DID=did:web:staging.web3.storage" >> .env
40+
echo "NEXT_PUBLIC_W3UP_SERVICE_URL=https://staging.up.storacha.network" >> .env
41+
echo "NEXT_PUBLIC_W3UP_PROVIDER=did:web:staging.web3.storage" >> .env
42+
echo "NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID=prctbl_1NzhdvF6A5ufQX5vKNZuRhie" >> .env
43+
echo "NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_51LO87hF6A5ufQX5viNsPTbuErzfavdrEFoBuaJJPfoIhzQXdOUdefwL70YewaXA32ZrSRbK4U4fqebC7SVtyeNcz00qmgNgueC" >> .env
44+
echo "NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL_LINK=https://billing.stripe.com/p/login/test_6oE29Gff99KO6mk8ww" >> .env
45+
# as long as this uses https://github.com/cloudflare/next-on-pages/blob/dc529d7efa8f8568ea8f71b5cdcf78df89be6c12/packages/next-on-pages/bin/index.js,
46+
# env vars won't get passed through to wrangler, so if wrangler will need them, write them to .env like the previous step
47+
- run: pnpm pages:build
48+
- name: Deploy preview build to Cloudflare Pages
49+
uses: mathiasvr/[email protected]
50+
id: cloudflare
51+
with:
52+
run: npx wrangler pages deploy --project-name "$CLOUDFLARE_PAGES_PROJECT_NAME" --branch "$GITHUB_REF_NAME" --commit-hash "$GITHUB_SHA" .vercel/output/static
53+
env:
54+
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_TOKEN }}
55+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
56+
CLOUDFLARE_PAGES_PROJECT_NAME: ${{ (github.ref_name == 'main') && 'console-web3-storage-staging' || 'console-web3-storage-preview' }}
57+
- name: Find Cloudflare Pages preview URL
58+
uses: mathiasvr/[email protected]
59+
id: cloudflare_url
60+
with:
61+
run: egrep -o 'https?://[^ ]+' <(echo "${{ steps.cloudflare.outputs.stdout }}")
62+
- name: Find Current Pull Request
63+
uses: jwalton/[email protected]
64+
id: finder
65+
- name: Update Preview URLs PR Comment
66+
uses: marocchino/[email protected]
67+
with:
68+
number: ${{ steps.finder.outputs.pr }}
69+
message: |
70+
### Website preview 🔗✨
71+
- ⛅️ ${{ steps.cloudflare_url.outputs.stdout }}
72+
73+
[build log](/${{ github.repository }}/actions/runs/${{ github.run_id }})
74+
- name: Add Preview URLs as Job Summary
75+
run: |
76+
echo "
77+
### Website preview 🔗✨
78+
- ⛅️ ${{ steps.cloudflare_url.outputs.stdout }}
79+
80+
[build log](/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY
81+
82+
changelog:
83+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
84+
name: Changelog
85+
runs-on: ubuntu-latest
86+
permissions:
87+
contents: write
88+
pull-requests: write
89+
outputs:
90+
releases_created: ${{ steps.tag-release.outputs.releases_created }}
91+
steps:
92+
- uses: GoogleCloudPlatform/release-please-action@v3
93+
id: tag-release
94+
with:
95+
token: ${{ secrets.GITHUB_TOKEN }}
96+
release-type: node
97+
monorepo-tags: true
98+
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Other Changes","hidden":false}]'
99+
7100
release:
8101
name: Release
102+
if: (github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.changelog.outputs.releases_created) || inputs.force_release
9103
runs-on: ubuntu-latest
10104
environment:
11105
name: production
12106
url: https://console.storacha.network
107+
needs:
108+
- test
109+
- changelog
13110
steps:
14111
- uses: actions/checkout@v3
15112
with:
16-
ref: 'feat/storacha-skin'
113+
ref: 'main'
17114
- uses: ./.github/actions/pnpm
18115
- name: create .env from .env.tpl setting env variables used by `pnpm run pages:build`
19116
run: |
@@ -29,7 +126,7 @@ jobs:
29126
30127
# add vars configuring console frontend to use staging w3up as backend
31128
echo "NEXT_PUBLIC_W3UP_SERVICE_DID=did:web:web3.storage" >> .env
32-
echo "NEXT_PUBLIC_W3UP_SERVICE_URL=https://up.web3.storage" >> .env
129+
echo "NEXT_PUBLIC_W3UP_SERVICE_URL=https://up.storacha.network" >> .env
33130
echo "NEXT_PUBLIC_W3UP_PROVIDER=did:web:web3.storage" >> .env
34131
echo "NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID=prctbl_1OCJ1qF6A5ufQX5vM5DWg4rA" >> .env
35132
echo "NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_51LO87hF6A5ufQX5vQTO5BHyz8y9ybJp4kg1GsBjYuqwluuwtQTkbeZzkoQweFQDlv7JaGjuIdUWAyuwXp3tmCfsM005lJK9aS8" >> .env

.github/workflows/deploy.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Deploy
22
on:
33
push:
44
branches:
5-
- main
5+
- old-main
66
pull_request:
77
branches:
8-
- main
8+
- old-main
99
jobs:
1010
test:
1111
uses: ./.github/workflows/test.yml
@@ -18,8 +18,8 @@ jobs:
1818
permissions:
1919
pull-requests: write
2020
environment:
21-
name: ${{ (github.ref_name == 'main') && 'staging' || format('preview-{0}', github.ref_name) }}
22-
url: ${{ (github.ref_name == 'main') && 'https://staging.console.web3.storage/' || steps.cloudflare_url.outputs.stdout }}
21+
name: ${{ (github.ref_name == 'old-main') && 'staging' || format('preview-{0}', github.ref_name) }}
22+
url: ${{ (github.ref_name == 'old-main') && 'https://staging.console.web3.storage/' || steps.cloudflare_url.outputs.stdout }}
2323
steps:
2424
- uses: actions/checkout@v3
2525
- uses: ./.github/actions/pnpm
@@ -53,7 +53,7 @@ jobs:
5353
env:
5454
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_TOKEN }}
5555
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
56-
CLOUDFLARE_PAGES_PROJECT_NAME: ${{ (github.ref_name == 'main') && 'console-web3-storage-staging' || 'console-web3-storage-preview' }}
56+
CLOUDFLARE_PAGES_PROJECT_NAME: ${{ (github.ref_name == 'old-main') && 'console-web3-storage-staging' || 'console-web3-storage-preview' }}
5757
- name: Find Cloudflare Pages preview URL
5858
uses: mathiasvr/[email protected]
5959
id: cloudflare_url
@@ -80,7 +80,7 @@ jobs:
8080
[build log](/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY
8181
8282
changelog:
83-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
83+
if: github.event_name == 'push' && github.ref == 'refs/heads/old-main'
8484
name: Changelog
8585
runs-on: ubuntu-latest
8686
permissions:
@@ -99,7 +99,7 @@ jobs:
9999

100100
release:
101101
name: Release
102-
if: (github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.changelog.outputs.releases_created) || inputs.force_release
102+
if: (github.event_name == 'push' && github.ref == 'refs/heads/old-main' && needs.changelog.outputs.releases_created) || inputs.force_release
103103
runs-on: ubuntu-latest
104104
environment:
105105
name: production
@@ -137,7 +137,7 @@ jobs:
137137
uses: mathiasvr/[email protected]
138138
id: cloudflare
139139
with:
140-
run: npx wrangler pages deploy --project-name console-web3-storage --branch "main" --commit-hash "$GITHUB_SHA" .vercel/output/static
140+
run: npx wrangler pages deploy --project-name console-web3-storage --branch "old-main" --commit-hash "$GITHUB_SHA" .vercel/output/static
141141
env:
142142
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_TOKEN }}
143143
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## [1.10.0](https://github.com/storacha/console/compare/w3console-v1.9.1...w3console-v1.10.0) (2024-09-19)
4+
5+
6+
### Features
7+
8+
* change email ([7c7beb7](https://github.com/storacha/console/commit/7c7beb7f9f78e25076bf089878d5e058cd52f680))
9+
* **copy:** Add missing comma ([#115](https://github.com/storacha/console/issues/115)) ([97f1ac3](https://github.com/storacha/console/commit/97f1ac3c455a97df00db2f512a665cd28b241a11))
10+
* Improved layout styling, and other tales ([#114](https://github.com/storacha/console/issues/114)) ([d0a2208](https://github.com/storacha/console/commit/d0a2208d04432b6f3537f2197238ac10bcc5148a))
11+
* more styles ([d4e8efa](https://github.com/storacha/console/commit/d4e8efa489974b4fc3603347142e474ac13c60bc))
12+
* styles for upload page ([6c54798](https://github.com/storacha/console/commit/6c54798b3850e1a7211313012aff7e84d4236b39))
13+
* trigger deploy ([a8f1089](https://github.com/storacha/console/commit/a8f108939fc8e9b399b58525fb5971b70071642f))
14+
* wording ([ffe9b1b](https://github.com/storacha/console/commit/ffe9b1b65ceb24ce7b18bfbf1e7a9a5a79868007))
15+
16+
17+
### Bug Fixes
18+
19+
* apostrophe ([681b9b8](https://github.com/storacha/console/commit/681b9b8430181ef96544848e87d67481aa625d1a))
20+
* check ref ([f406ac9](https://github.com/storacha/console/commit/f406ac985419824308b561a39430a4a38c5e43c1))
21+
* deploy-storacha.yml needs to use the new main branch ([#122](https://github.com/storacha/console/issues/122)) ([65644c8](https://github.com/storacha/console/commit/65644c851272d5920bf1ed22fc6ff4a420f54242))
22+
* deploy.yml needs to use the old-main branch ([#120](https://github.com/storacha/console/issues/120)) ([713af05](https://github.com/storacha/console/commit/713af05572387fcf12cc34cec0dd1db4df0061ff))
23+
* quotes ([bcf209b](https://github.com/storacha/console/commit/bcf209bf830a83b71f0f3f9f61919832a3768057))
24+
* **space-creator:** check provision result before proceeding ([#119](https://github.com/storacha/console/issues/119)) ([5ea5940](https://github.com/storacha/console/commit/5ea59400f274f294e7ffb1aa99efab18ff099a9e))
25+
* use correct branch name ([f81e090](https://github.com/storacha/console/commit/f81e0907fcbed54323995acbb9c13f2c151f6db7))
26+
* use main branch ([698974b](https://github.com/storacha/console/commit/698974b36ff3c4cb0275a25aec4384fecb2723d2))
27+
28+
29+
### Other Changes
30+
31+
* add storacha deploy action ([39345e6](https://github.com/storacha/console/commit/39345e60e639fd11eb9af44766d16fc71ed73945))
32+
* Set `packageManager` ([#117](https://github.com/storacha/console/issues/117)) ([c9436fc](https://github.com/storacha/console/commit/c9436fc323799fe1d5e3d0ced2a8789d3d7001f5))
33+
* update deploy name ([f7c1340](https://github.com/storacha/console/commit/f7c1340858e449e49237c7c40b85cebfa9721a01))
34+
335
## [1.9.1](https://github.com/storacha-network/console/compare/w3console-v1.9.0...w3console-v1.9.1) (2024-07-15)
436

537

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Console
22

3-
> Your dashboard for web3.storage
3+
> Your dashboard for storacha.network
44
55
Upload files & manage your spaces from your browser.
66

77
## Getting Started
88

9-
To use the production site visit https://console.web3.storage
9+
To use the production site visit https://console.storacha.network
1010

1111
To contribute and customize console, copy `.env.tpl` to `.env` and run the development server:
1212

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "w3console",
3-
"version": "1.9.1",
3+
"version": "1.10.0",
44
"private": true,
55
"packageManager": "[email protected]+sha256.7a4261e50d9a44d9240baf6c9d6e10089dcf0a79d0007f2a26985a6927324177",
66
"scripts": {

public/favicon.ico

0 Bytes
Binary file not shown.

public/racha-fire-opacity-50.png

261 KB
Loading

public/racha-fire.jpg

417 KB
Loading

public/racha-fire.png

284 KB
Loading

0 commit comments

Comments
 (0)