Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 9 additions & 1 deletion .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ name: Alpha

on:
workflow_dispatch:
environment:
description: 'Environment'
required: true
default: 'Staging'
type: choice
options:
- Staging
- Integration
push:
branches:
- develop
Expand All @@ -24,7 +32,7 @@ jobs:
name: Deploy
needs: sonar-scan
runs-on: macos-15
environment: Alpha
environment: ${{ inputs.environment }}

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: Deploy
needs: sonar-scan
runs-on: macos-15
environment: Beta
environment: Production

steps:
- name: Checkout
Expand Down
2 changes: 0 additions & 2 deletions Fastlane/.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ unit:
<<: *DEFAULTS
app:
<<: *APP_DEFAULTS
scheme: GovUKDev

alpha:
<<: *DEFAULTS
app:
<<: *APP_DEFAULTS
scheme: GovUKAlpha
bundle_identifier: uk.gov.govuk.dev
profile_specifiers:
uk.gov.govuk.dev: "match AdHoc uk.gov.govuk.dev"
Expand Down
35 changes: 35 additions & 0 deletions Fastlane/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,48 @@ def app_bundle_identifier
setting(:app, :bundle_identifier)
end

def app_base_url
ENV['BASE_URL']
end

def app_assetcatalog_compiler_appicon_name
ENV['ASSETCATALOG_COMPILER_APPICON_NAME']
end

def app_authentication_base_url
ENV['AUTHENTICATION_BASE_URL']
end

def app_authentication_client_id
ENV['AUTHENTICATION_CLIENT_ID']
end

def app_chat_base_url
ENV['CHAT_BASE_URL']
end

def app_token_base_url
ENV['TOKEN_BASE_URL']
end

def app_onesignal_app_id
ENV['ONESIGNAL_APP_ID']
end

def app_google_services_file
ENV['GOOGLE_SERVICES_FILE']
end

def app_args
[
"BASE_URL=\"#{app_base_url}\"",
"ONESIGNAL_APP_ID=\"#{app_onesignal_app_id}\"",
"ASSETCATALOG_COMPILER_APPICON_NAME=\"#{app_assetcatalog_compiler_appicon_name}\"",
"AUTHENTICATION_BASE_URL=\"#{app_authentication_base_url}\"",
"AUTHENTICATION_CLIENT_ID=\"#{app_authentication_client_id}\"",
"CHAT_BASE_URL=\"#{app_chat_base_url}\"",
"TOKEN_BASE_URL=\"#{app_token_base_url}\"",
"GOOGLE_SERVICES_FILE=\"#{app_google_services_file}\"",
'-allowProvisioningUpdates'
].join(' ')
end
Expand Down
274 changes: 272 additions & 2 deletions GOVKit/Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading