Repository navigation
split ci from releases and release from dev - #158
Merged
Merged
Conversation
CI (ci.yml) now runs with no secrets, environment or OIDC token on every PR and push to dev, and publishes the debug APK as dev-latest instead of main-latest. Releases (release.yml) run from dev at noon and 6 p.m. Central or by dispatch with a bump. The version is the latest vX.Y.Z tag bumped, and the version code is the run number plus 1000. The bundle is built unsigned in a credential-free job and handed to the publish job with a SHA256SUMS digest; publish checks out only .github/release/, verifies the bundle, signs it with the upload key (jarsigner), ships it to Play, then tags and creates the GitHub release. AWS credentials and secrets are scoped to the step that uses them. Removes android.yml, scheduled-release.yml, scripts/version.sh and the Gradle upload signing config. play-promote.sh moves under .github/release/. Adds CODEOWNERS for .github/. Verified: actionlint (only the custom runner label), plan.sh against the live tags, checksum handoff and sign-bundle.sh with a throwaway PKCS12 key.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gets the repo ready to go public.
ci.ymlrunsscripts/check.shon prs and dev pushes with no secrets, environment or oidc. dev pushes publish the debug apk asdev-latest(replacesmain-latest)release.ymlruns from dev at noon and 6pm central, or by dispatch with a bump. version is the latestvX.Y.Ztag bumped, version code is run number + 1000 (last android.yml code was ~524)publish(envrelease) checks out only.github/release/, verifies it, signs with the upload key via jarsigner, ships to play internal (+ open testing whenPLAY_OPEN_TESTING), then tags and creates the github release. aws creds and secrets are scoped to the one step that uses themandroid.yml,scheduled-release.yml,scripts/version.shand the gradle signing config. addsCODEOWNERSfor.github/repo settings already changed: default branch is dev,
productioncreated, main retired, squash only, delete branches on merge, rulesets for dev/production/.github, and thereleaseenvironment only allows dev. the aws role gets pinned torelease.yml@refs/heads/devin anomalyco/secrets after this merges.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊