mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 21:31:02 +00:00
d494b6a959
This is the first step towards support for multiple forges (#138). It inserts a forge using the currently existing env varaibles into db and uses this forge from db later on in all places of the code. closes #621 addresses #138 # TODO - [x] add forges table - [x] add id of forge to repo - [x] use forge of repo - [x] add forge from env vars to db if not exists - [x] migrate repo.ForgeID to the newly generated forge - [x] support cache with forge from repo - [x] maybe add forge loading cache? (use LRU cache for forges, I expect users to have less than 10 forges normally) --------- Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com> |
||
---|---|---|
.. | ||
test-files | ||
000_legacy_to_xormigrate.go | ||
001_legacy_to_xorm.go | ||
002_repos_drop_fallback.go | ||
003_repos_drop_allow_deploys_allow_tags.go | ||
004_fix_pr_secret_event_name.go | ||
005_repos_drop_repo_counter.go | ||
006_drop_senders.go | ||
007_log_data_type.go | ||
008_secrets_add_user.go | ||
009_lowercase_secret_names.go | ||
009_recreate_agents_table.go | ||
010_rename_builds_to_pipeline.go | ||
011_columns_rename_builds_to_pipeline.go | ||
012_columns_rename_procs_to_steps.go | ||
013_rename_remote_to_forge.go | ||
014_rename_forge_id_to_forge_remote_id.go | ||
015_remove_active_from_users.go | ||
016_remove_inactive_repos.go | ||
017_remove_files_table.go | ||
018_remove_machine_col.go | ||
019_drop_old_cols.go | ||
020_alter_logs_table.go | ||
021_parent_steps_to_workflows.go | ||
022_add_orgs.go | ||
023_add_org_id.go | ||
024_task_data_type.go | ||
025_config_data_type.go | ||
026_remove_secrets_plugin_only_col.go | ||
027_convert_to_new_pipeline_errors_format.go | ||
028_link_to_url.go | ||
029_clean_registry_pipeline.go | ||
030_set_default_forge_id.go | ||
common.go | ||
common_test.go | ||
logger.go | ||
migration.go | ||
migration_test.go |