-
Notifications
You must be signed in to change notification settings - Fork 2
chore: retire next branch, main now drives staging deploys (CPL-272) #312
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
base: next
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ name: k6 Client Check | |
|
|
||
| on: | ||
| push: | ||
| branches: [main, next] | ||
| branches: [main] | ||
| pull_request: | ||
|
|
||
| permissions: | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,12 +8,12 @@ image_tag := env('DOCKER_TAG', `uuidgen | tr '[:upper:]' '[:lower:]' | tr -d '\n | |||||
| image_lit_actions := image_base + '-lit-actions:' + image_tag | ||||||
| image_lit_api_server := image_base + '-lit-api-server:' + image_tag | ||||||
| image_otel_collector := image_base + '-otel-collector:' + image_tag | ||||||
| # main → chipotle-dev; any other branch → chipotle-next (override with PHALA_APP_NAME) | ||||||
| app_name := `git branch --show-current | xargs -I {} sh -c '[ "{}" = "main" ] && echo chipotle-dev || echo chipotle-next'` | ||||||
| instance_type := `git branch --show-current | xargs -I {} sh -c '[ "{}" = "main" ] && echo tdx.small || echo tdx.small'` | ||||||
| gcp_project_id := `git branch --show-current | xargs -I {} sh -c '[ "{}" = "main" ] && echo chipotle-dev || echo chipotle-next'` | ||||||
| node_config := `git branch --show-current | xargs -I {} sh -c '[ "{}" = "main" ] && echo NodeConfig.main.toml || echo NodeConfig.next.toml'` | ||||||
| domain := `git branch --show-current | xargs -I {} sh -c '[ "{}" = "main" ] && echo api.dev.litprotocol.com || echo test.chipotle.litprotocol.com'` | ||||||
| # main → chipotle-next (override with PHALA_APP_NAME) | ||||||
| app_name := 'chipotle-next' | ||||||
|
||||||
| app_name := 'chipotle-next' | |
| app_name := env('PHALA_APP_NAME', 'chipotle-next') |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| [chain] | ||
| name = "base" | ||
| contract_address = "0x4c8eb9f329ebfdb369f0c90954875ef8f568ad24" | ||
| contract_address = "0x98e501fab2d60a5119a185e1563f10cb54bc6068" | ||
|
|
||
| # contract_address = "0x6c4989c3c2aab271444b4b7b4ec3aca6da1bf1e5" # old contracts, TODO: about 10 USD still sitting in api-payer signers | ||
|
Comment on lines
+3
to
+5
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deploy-previewis gated ongithub.event_name == 'pull_request', but this workflow is only triggered bypushevents. As a result, PR preview deployments will never run. Add apull_requesttrigger (and optionally restrict paths) or remove the preview job/condition if previews are no longer intended.