-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into NET-4173-rsa-key-length-inline-certs
- Loading branch information
Showing
18 changed files
with
224 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
name: Verify Release - Linux | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
packageName: | ||
description: 'Name of consul release package (consul vs consul-enterprise)' | ||
required: true | ||
default: 'consul' | ||
type: choice | ||
options: | ||
- consul | ||
- consul-enterprise | ||
version: | ||
description: The x.y.z version (also need to specify applicable suffixes like +ent and -dev)' | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
verify-ubuntu-amd64: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- name: docker build with version | ||
run: | | ||
docker build \ | ||
--build-arg PACKAGE=${{ inputs.packageName }} \ | ||
--build-arg VERSION=${{ inputs.version }} \ | ||
--build-arg TARGETARCH=amd64 \ | ||
-f ./build-support/docker/Verify-Release-Ubuntu.dockerfile . | ||
verify-debian-amd64: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- name: docker build with version | ||
run: | | ||
docker build \ | ||
--build-arg PACKAGE=${{ inputs.packageName }} \ | ||
--build-arg VERSION=${{ inputs.version }} \ | ||
--build-arg TARGETARCH=amd64 \ | ||
-f ./build-support/docker/Verify-Release-Debian.dockerfile . | ||
verify-fedora: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- name: docker build with version | ||
run: | | ||
docker build \ | ||
--build-arg PACKAGE=${{ inputs.packageName }} \ | ||
--build-arg VERSION=${{ inputs.version }} \ | ||
-f ./build-support/docker/Verify-Release-Fedora.dockerfile . | ||
verify-centos: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- name: docker build with version | ||
run: | | ||
docker build \ | ||
--build-arg PACKAGE=${{ inputs.packageName }} \ | ||
--build-arg VERSION=${{ inputs.version }} \ | ||
-f ./build-support/docker/Verify-Release-CentOS.dockerfile . | ||
verify-amazon: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
- name: docker build with version | ||
run: | | ||
docker build \ | ||
--build-arg PACKAGE=${{ inputs.packageName }} \ | ||
--build-arg VERSION=${{ inputs.version }} \ | ||
-f ./build-support/docker/Verify-Release-Amazon.dockerfile . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
FROM amazonlinux:latest | ||
RUN yum install -y yum-utils shadow-utils | ||
RUN yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo | ||
ARG PACKAGE=consul \ | ||
ARG VERSION \ | ||
ARG SUFFIX=1 | ||
RUN yum install -y ${PACKAGE}-${VERSION}-${SUFFIX} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
FROM centos:7 | ||
RUN yum install -y yum-utils | ||
RUN yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo | ||
ARG PACKAGE=consul \ | ||
ARG VERSION \ | ||
ARG SUFFIX=1 | ||
RUN yum install -y ${PACKAGE}-${VERSION}-${SUFFIX} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
FROM debian:bullseye | ||
RUN apt update && apt install -y software-properties-common curl gnupg | ||
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - | ||
ARG TARGETARCH=amd64 | ||
RUN apt-add-repository "deb [arch=${TARGETARCH}] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | ||
ARG PACKAGE=consul \ | ||
ARG VERSION \ | ||
ARG SUFFIX=1 | ||
RUN apt-get update && apt-get install -y ${PACKAGE}=${VERSION}-${SUFFIX} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
FROM fedora:latest | ||
RUN dnf install -y dnf-plugins-core | ||
RUN dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo | ||
ARG PACKAGE=consul \ | ||
ARG VERSION \ | ||
ARG SUFFIX=1 | ||
RUN dnf install -y ${PACKAGE}-${VERSION}-${SUFFIX} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
FROM i386/ubuntu:latest | ||
RUN apt update && apt install -y software-properties-common curl | ||
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - | ||
ARG TARGETARCH=amd64 | ||
RUN apt-add-repository "deb [arch=${TARGETARCH}] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | ||
ARG PACKAGE=consul \ | ||
ARG VERSION \ | ||
ARG SUFFIX=1 | ||
RUN apt-get update && apt-get install -y ${PACKAGE}=${VERSION}-${SUFFIX} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
FROM ubuntu:latest | ||
RUN apt update && apt install -y software-properties-common curl | ||
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - | ||
ARG TARGETARCH=amd64 | ||
RUN apt-add-repository "deb [arch=${TARGETARCH}] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | ||
ARG PACKAGE=consul \ | ||
ARG VERSION \ | ||
ARG SUFFIX=1 | ||
RUN apt-get update && apt-get install -y ${PACKAGE}=${VERSION}-${SUFFIX} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.