Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #41 from Amsterdam/feature/release-automation
Browse files Browse the repository at this point in the history
Fix jenkinsfile to deploy tags starting with v prefix
  • Loading branch information
snelis authored Jul 5, 2021
2 parents 41416cb + edd0db6 commit 348ff4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ pipeline {
}

stage('Deploy to production') {
when {
tag pattern: "^(?i)\\d+\\.\\d+\\.\\d+(?!-rc.*)", comparator: "REGEXP"
}
when { tag pattern: "v\\d+\\.\\d+\\.\\d+\\.*", comparator: "REGEXP" }
steps {
sh 'VERSION=production make push'
build job: 'Subtask_Openstack_Playbook', parameters: [
Expand Down
1 change: 0 additions & 1 deletion src/project/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class ProjectAdmin(admin.ModelAdmin):
'project_number',
'team',
'customer',
'support_contract_status',
)
list_filter = ['team', 'project_status', 'personal_data_status']
radio_fields = {
Expand Down

0 comments on commit 348ff4a

Please sign in to comment.