Skip to content

Commit

Permalink
Update Consul agent versions used for testing + disable enterprise CI…
Browse files Browse the repository at this point in the history
… for v1.10.0+ (#231)

Because of problems with updating the consul to the latest versions due to license expiration issues:
```
2023-08-09T09:25:53.883Z [ERROR] agent: Error starting agent:
  error=
  | error initializing license: 1 error occurred:
  | \t* license expiration date is before version build date: expiration=2023-07-26T00:00:00Z build=2023-08-05T22:32:46Z
  | 
  
2023-08-09T09:25:53.883Z [INFO]  agent: Exit code: code=1
```
we've decided to pause using the enterprise license for now. We are going to run enterprise tests only for versions prior to version 1.10.0.
  • Loading branch information
consul-version-updater[bot] authored Aug 9, 2023
1 parent bace0c0 commit 6df0e01
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.id != github.event.pull_request.base.repo.id
strategy:
matrix:
consul: [1.6.10, 1.7.14, 1.8.19, 1.9.17, 1.10.12, 1.11.11, 1.12.9, 1.13.9, 1.14.8, 1.15.4, 1.16.0]
consul: [1.6.10, 1.7.14, 1.8.19, 1.9.17, 1.10.12, 1.11.11, 1.12.9, 1.13.9, 1.14.9, 1.15.5, 1.16.1]
framework: [net461, net5.0, net6.0, net7.0]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
Expand Down Expand Up @@ -92,8 +92,12 @@ jobs:
if: ${{ env.CONSUL_LICENSE != '' || !startsWith(matrix.consul, '1.1') }}
run: |
echo "RUN_CONSUL_ENTERPRISE_TESTS=1" >> $GITHUB_ENV
env:
CONSUL_LICENSE: ${{ secrets.CONSUL_LICENSE }}
# We've decided to pause using the CONSUL_LICENSE for tests because the license would need to be renewed periodically.
# Otherwise, new builds of consul are going to fail with "license expiration date is before version build date" errors.
# Mind that, we are still running enterprise 1.10.0.
# env:
# CONSUL_LICENSE: ${{ secrets.CONSUL_LICENSE }}
- name: Download Consul
shell: bash
run: |
Expand Down

0 comments on commit 6df0e01

Please sign in to comment.