-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
```release-note:feature | ||
ui: Display the Consul agent version in the nodes list, and allow filtering and sorting of nodes based on versions. | ||
``` | ||
ui: consul version is displayed in nodes list with filtering and sorting based on versions | ||
``` |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
connect: update supported envoy versions to 1.23.12, 1.24.10, 1.25.9, 1.26.4 | ||
``` |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
```release-note:improvement | ||
checks: It is now possible to configure agent TCP checks to use TLS with | ||
optional server SNI and mutual authentication. To use TLS with a TCP check, the | ||
check must enable the `tcp_use_tls` boolean. By default the agent will use the | ||
TLS configuration in the `tls.default` stanza. | ||
``` |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: BUSL-1.1 | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
# | ||
# This script generates tag-sets that can be used as runs-on: values to select runners. | ||
|
||
set -euo pipefail | ||
|
||
case "$GITHUB_REPOSITORY" in | ||
*-enterprise) | ||
# shellcheck disable=SC2129 | ||
echo "compute-small=['self-hosted', 'linux', 'small']" >>"$GITHUB_OUTPUT" | ||
echo "compute-medium=['self-hosted', 'linux', 'medium']" >>"$GITHUB_OUTPUT" | ||
echo "compute-large=['self-hosted', 'linux', 'large']" >>"$GITHUB_OUTPUT" | ||
# m5d.8xlarge is equivalent to our xl custom runner in CE | ||
echo "compute-xl=['self-hosted', 'ondemand', 'linux', 'type=m6a.2xlarge']" >>"$GITHUB_OUTPUT" | ||
;; | ||
*) | ||
# shellcheck disable=SC2129 | ||
echo "compute-small=['custom-linux-s-consul-latest']" >>"$GITHUB_OUTPUT" | ||
echo "compute-medium=['custom-linux-m-consul-latest']" >>"$GITHUB_OUTPUT" | ||
echo "compute-large=['custom-linux-l-consul-latest']" >>"$GITHUB_OUTPUT" | ||
echo "compute-xl=['custom-linux-xl-consul-latest']" >>"$GITHUB_OUTPUT" | ||
;; | ||
*-enterprise) | ||
# shellcheck disable=SC2129 | ||
echo "compute-small=['self-hosted', 'linux', 'small']" >> "$GITHUB_OUTPUT" | ||
echo "compute-medium=['self-hosted', 'linux', 'medium']" >> "$GITHUB_OUTPUT" | ||
echo "compute-large=['self-hosted', 'linux', 'large']" >> "$GITHUB_OUTPUT" | ||
# m5d.8xlarge is equivalent to our xl custom runner in CE | ||
echo "compute-xl=['self-hosted', 'ondemand', 'linux', 'type=m5d.8xlarge']" >> "$GITHUB_OUTPUT" | ||
;; | ||
*) | ||
# shellcheck disable=SC2129 | ||
echo "compute-small=['custom-linux-s-consul-latest']" >> "$GITHUB_OUTPUT" | ||
echo "compute-medium=['custom-linux-m-consul-latest']" >> "$GITHUB_OUTPUT" | ||
echo "compute-large=['custom-linux-l-consul-latest']" >> "$GITHUB_OUTPUT" | ||
echo "compute-xl=['custom-linux-xl-consul-latest']" >> "$GITHUB_OUTPUT" | ||
;; | ||
esac |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ permissions: | |
contents: read | ||
|
||
env: | ||
GOPRIVATE: github.com/hashicorp # Required for enterprise deps | ||
GOPRIVATE: github.com/hashicorp | ||
|
||
jobs: | ||
setup: | ||
|
@@ -25,7 +25,7 @@ jobs: | |
compute-large: ${{ steps.setup-outputs.outputs.compute-large }} | ||
compute-xl: ${{ steps.setup-outputs.outputs.compute-xl }} | ||
steps: | ||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3.3.0 | ||
- id: setup-outputs | ||
name: Setup outputs | ||
run: ./.github/scripts/get_runner_classes.sh | ||
|
@@ -56,14 +56,14 @@ jobs: | |
kv/data/github/${{ github.repository }}/dockerhub username | DOCKERHUB_USERNAME; | ||
kv/data/github/${{ github.repository }}/dockerhub token | DOCKERHUB_TOKEN; | ||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3.3.0 | ||
|
||
# NOTE: ENT specific step as we need to set elevated GitHub permissions. | ||
- name: Setup Git | ||
if: ${{ endsWith(github.repository, '-enterprise') }} | ||
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com" | ||
|
||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | ||
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # [email protected] | ||
with: | ||
go-version-file: 'go.mod' | ||
|
||
|
@@ -78,17 +78,17 @@ jobs: | |
echo "GITHUB_BUILD_URL=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> $GITHUB_ENV | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@2a1a44ac4aa01993040736bd95bb470da1a38365 # v2.9.0 | ||
uses: docker/setup-buildx-action@f03ac48505955848960e80bbb68046aa35c7b9e7 # pin@v2.4.1 | ||
|
||
# NOTE: conditional specific logic as we store secrets in Vault in ENT and use GHA secrets in CE. | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0 | ||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # pin@v2.1.0 | ||
with: | ||
username: ${{ endsWith(github.repository, '-enterprise') && steps.secrets.outputs.DOCKERHUB_USERNAME || secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ endsWith(github.repository, '-enterprise') && steps.secrets.outputs.DOCKERHUB_TOKEN || secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Docker build and push | ||
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1 | ||
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # pin@v4.0.0 | ||
with: | ||
context: ./bin | ||
file: ./build-support/docker/Consul-Dev.dockerfile | ||
|