Delete old fallbacks and compatible stuff (#791)

Drop ...
* ... DRONE_ and deprecated pipeline environment vars
* ... deprecated sqlite3 file path
This commit is contained in:
6543
2022-09-01 14:31:12 +02:00
committed by GitHub
parent 6a2b7586e5
commit c79d49c862
3 changed files with 4 additions and 12 deletions

View File

@@ -187,7 +187,8 @@ func (m *Metadata) Environ() map[string]string {
"CI_SYSTEM_PLATFORM": m.Sys.Platform, // will be set by pipeline platform option or by agent
"CI_SYSTEM_VERSION": version.Version,
"CI_SYSTEM_ARCH": m.Sys.Platform, // TODO: remove after next version
// DEPRECATED
"CI_SYSTEM_ARCH": m.Sys.Platform, // TODO: remove after v1.0.x version
}
if m.Curr.Event == EventTag {
params["CI_COMMIT_TAG"] = strings.TrimPrefix(m.Curr.Commit.Ref, "refs/tags/")