Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.
/ gypsum-actions Public archive

Collections of actions to mimic a real CI system

License

Notifications You must be signed in to change notification settings

ArtifactDB/gypsum-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub actions for gypsum

Overview

gypsum uses GitHub Actions for its various CI/CD tasks. This currently includes:

The gypsum worker uses the bot account's token to create issues to trigger each Action.

Deployment instructions

To deploy, clone/fork this repository and apply the following modifications:

  • In index-project.yaml:
    • Replace 'ArtifactDB-bot' with the name of your bot account.
  • In config.sh:
    • Replace CF_ACCOUNT_ID with your Cloudflare account ID.
    • Replace SCHEMA_BUNDLE_URL with a URL to the desired schema bundle.
    • Replace R2_BUCKET_NAME with the name of your R2 bucket.

Several secrets must be defined for the Actions (see the Settings > Secrets > Actions tab):

  • R2_ACCESS_KEY_ID, for the access key ID.
  • R2_SECRET_ACCESS_KEY, for the access secret.
  • GH_BOT_TOKEN, for the GitHub personal access token of the bot account. This should be capable of writing issues on a public repository; typically, we use a classic token with repo:public permissions.

For forks, we have to re-enable some features:

  • Turn the Issues back on (in "Settings > General").
  • Re-enable the Actions in the "Actions" tab.
  • Re-enable the scheduled purge workflow ("Actions > Purge gypsum projects").

And that's it. Make sure you use the full name of your new repository (i.e., OWNER/REPO) in the gypsum worker's GITHUB_CI_REPOSITORY variable.

About

Collections of actions to mimic a real CI system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published