mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
ci: support rc
This commit is contained in:
parent
c2a3e022ac
commit
518d6a379c
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -4,6 +4,7 @@ name: Release
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v[0-9]+.[0-9]+.[0-9]+'
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
- v*-rc*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
@ -128,7 +128,8 @@ func (t *TerraformApp) init(environmentVars []string, params *db.TerraformTaskPa
|
|||||||
s := strings.TrimSpace(msg)
|
s := strings.TrimSpace(msg)
|
||||||
if strings.Contains(s, "Do you want to copy ") {
|
if strings.Contains(s, "Do you want to copy ") {
|
||||||
t.Logger.SetStatus(task_logger.TaskWaitingConfirmation)
|
t.Logger.SetStatus(task_logger.TaskWaitingConfirmation)
|
||||||
} else if strings.Contains(msg, "has been successfully initialized!") {
|
} else if strings.Contains(msg, "has been successfully initialized!") ||
|
||||||
|
strings.Contains(msg, "Error:") {
|
||||||
t.reader.EOF = true
|
t.reader.EOF = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -109,7 +109,7 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
const APP_PARAMS = {
|
const APP_PARAMS = {
|
||||||
terraform: ['plan', 'auto_approve', 'destroy', 'migrate_state'],
|
terraform: ['plan', 'auto_approve', 'destroy', 'reconfigure'],
|
||||||
tofu: ['plan', 'auto_approve', 'destroy', 'reconfigure'],
|
tofu: ['plan', 'auto_approve', 'destroy', 'reconfigure'],
|
||||||
ansible: ['diff', 'debug', 'dry_run'],
|
ansible: ['diff', 'debug', 'dry_run'],
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user