Warp to Galaxy internal rebrand

This commit is contained in:
2026-08-27 00:29:21 -05:00
parent d72874534d
commit a69b927cc3
108 changed files with 395 additions and 2098 deletions
@@ -1,59 +0,0 @@
name: Get Channel Config
description: Provides a variety of config data for the given channel type.
inputs:
config_file:
description: The path to the configuration file.
required: true
channel:
description: The channel to retrieve configuration data for.
required: true
outputs:
channel:
description: The channel that we're building a release for. (This is the same as the input value.)
value: ${{ steps.get-config.outputs.channel }}
type:
description: The release type, either "nightly" or "weekly".
value: ${{ steps.get-config.outputs.type }}
is_prerelease:
description: Whether this channel is a prerelease channel.
value: ${{ steps.get-config.outputs.is_prerelease }}
is_autopush:
description: Whether new builds for this channel automatically trigger channel versions updates.
value: ${{ steps.get-config.outputs.is_autopush }}
release_base_name:
description: The base name for the GitHub release, to which the release number is appended.
value: ${{ steps.get-config.outputs.release_base_name }}
release_body_text:
description: The body text for the GitHub release.
value: ${{ steps.get-config.outputs.release_body_text }}
sentry_project:
description: The Sentry project under which a new release should be created.
value: ${{ steps.get-config.outputs.sentry_project }}
sentry_environment:
description: The environment to set for this channel's Sentry release.
value: ${{ steps.get-config.outputs.sentry_environment }}
changelog_slack_channel:
description: The Slack channel where the release's changelog should be posted.
value: ${{ steps.get-config.outputs.changelog_slack_channel }}
gcs_cache_control_value:
description: The Cache-Control value to set for release artifacts in Cloud Storage.
value: ${{ steps.get-config.outputs.gcs_cache_control_value }}
web_gcs_bucket_prefix:
description: The GCS bucket prefix for web artifacts. (Determines if they go in a staging or prod bucket.)
value: ${{ steps.get-config.outputs.web_gcs_bucket_prefix }}
runs:
using: composite
steps:
- id: get-config
env:
CONFIG_FILE: ${{ inputs.config_file }}
CHANNEL: ${{ inputs.channel }}
run: |
echo ::echo::on
jq -e '.channels[] | select(.channel == $ENV.CHANNEL)' $CONFIG_FILE > /dev/null
# Fail if the given channel is not found in the JSON release configuration.
[ $? -eq 0 ] || (echo ::error::"Channel $CHANNEL not found in release configuration" && exit 1)
jq -rc '.channels[] | select(.channel == $ENV.CHANNEL) | to_entries | map("\(.key)=\(.value)")[]' $CONFIG_FILE >> $GITHUB_OUTPUT
echo ::echo::off
shell: bash
@@ -15,8 +15,6 @@ inputs:
description: If true, dependencies needed for building release artifacts will be installed (e.g., cargo-about for license generation).
cache_key:
description: If set, the cache key to use. If unset, the cache key will be derived from the target OS.
ssh_key:
description: SSH private key used to clone the private warp-channel-config repository. Only consumed when running in warpdotdev/warp-internal.
runs:
using: composite
@@ -92,15 +90,6 @@ runs:
env:
BINSTALL_VERSION: 1.14.4
# Load the SSH key needed to clone the private warp-channel-config repo. Only
# run in warpdotdev/warp-internal; elsewhere (mirrors, fork PRs) this is a no-op
# and install_channel_config falls back gracefully.
- name: Setup SSH keys for warp-channel-config
if: ${{ github.repository == 'warpdotdev/warp-internal' && inputs.ssh_key != '' }}
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
with:
ssh-private-key: ${{ inputs.ssh_key }}
- uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0
if: ${{ inputs.target_os == 'macos' && inputs.is_self_hosted != 'true' }}
with:
@@ -111,9 +100,6 @@ runs:
run: |
cd "${{ steps.repo-root.outputs.path }}"
if ${{ inputs.target_os == 'macos' }}; then
# Try to install warp-channel-config but don't complain if it cannot
# be installed.
./script/install_channel_config || true
if ${{ inputs.install_release_deps == 'true' }}; then
./script/install_cargo_release_deps
else