Skip to content

Commit

Permalink
run acc tests on 'v*' branches
Browse files Browse the repository at this point in the history
to ensure the legacy major versions are also tested when they are patched
  • Loading branch information
nvthongswansea committed Sep 25, 2024
1 parent 64fb92d commit 7588ea0
Show file tree
Hide file tree
Showing 24 changed files with 52 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/backup.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_backup**"
- "gridscale/error-handler/**"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/common_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Run common test

on:
push:
branches: [master]
branches:
- master
- 'v*'
pull_request:
branches: [master]
branches:
- master
- 'v*'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/filesystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/filesystem.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_filesystem**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/firewall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/firewall.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_firewall**"
- "gridscale/firewall-utils/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ipv4_ipv6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/ipv4_ipv6.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_ipv**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/isoimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/isoimage.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_isoimage**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/k8s.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_k8s**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/loadbalancer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/loadbalancer.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_loadbalancer**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/mariadb.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_mariadb**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/marketplace_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/marketplace_app.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_marketplace_app**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/memcached.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/memcached.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_memcached**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/mssql.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_sqlserver**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mysql8_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/mysql.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_mysql**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/network.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_network**"
- "**gridscale_publicnetwork**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/object_storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/object_storage.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_objectstorage**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/paas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/paas.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_paas**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/postgres.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_postgresql**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/redis.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_redis**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/server.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_server**"
- "gridscale/relation-manager/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/snapshot.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_snapshot**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sshkey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/sshkey.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_sshkey**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sslcert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/sslcert.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_ssl**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/storage.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_storage**"
- "gridscale/error-handler/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
push:
branches:
- master
- 'v*'
paths:
- "**.go"
- ".github/workflows/template.yml"
pull_request:
branches:
- master
- 'v*'
paths:
- "**gridscale_template**"
- "gridscale/error-handler/**"
Expand Down

0 comments on commit 7588ea0

Please sign in to comment.