mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 23:19:39 -05:00
add version.txt step to release pipeline (#1493)
* add version.txt step to release pipeline * refresh git status * make minicon e2e test less flaky
This commit is contained in:
parent
8ffd1dcf3f
commit
efe4681214
52
.github/workflows/e2e-test-manual.yml
vendored
52
.github/workflows/e2e-test-manual.yml
vendored
@ -50,8 +50,8 @@ on:
|
||||
type: boolean
|
||||
default: false
|
||||
required: false
|
||||
osImage:
|
||||
description: "Full name of OS image (CSP independent image version UID). Leave empty for latest debug image on main."
|
||||
cliImageVersion:
|
||||
description: "Version of a released CLI to download:Full name of OS image (CSP independent image version UID). Leave empty for latest debug image on main."
|
||||
type: string
|
||||
default: ""
|
||||
required: false
|
||||
@ -95,8 +95,8 @@ on:
|
||||
description: "Keep measurements embedded in the CLI."
|
||||
type: boolean
|
||||
required: true
|
||||
osImage:
|
||||
description: "Full name of OS image (CSP independent image version UID). Leave empty for latest debug image on main."
|
||||
cliImageVersion:
|
||||
description: "Version of a released CLI to download and full name of OS image (CSP independent image version UID). Leave empty for latest debug image on main. Must be in the form of 'cliVersion:image'."
|
||||
type: string
|
||||
required: true
|
||||
machineType:
|
||||
@ -115,9 +115,35 @@ env:
|
||||
ARM_TENANT_ID: ${{ secrets.AZURE_E2E_TENANT_ID }}
|
||||
|
||||
jobs:
|
||||
split-cliImageVersion:
|
||||
name: Split cliImageVersion
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
outputs:
|
||||
image: ${{ steps.split-cliImageVersion.outputs.image }}
|
||||
cliVersion: ${{ steps.split-cliImageVersion.outputs.cliVersion }}
|
||||
steps:
|
||||
- name: Split cliImageVersion
|
||||
id: split-cliImageVersion
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ -z "${{ inputs.cliImageVersion }}" ]]; then
|
||||
echo "Using latest debug image from main."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cliImageVersion="${{ inputs.cliImageVersion }}"
|
||||
image="${cliImageVersion##*:}"
|
||||
cliVersion="${cliImageVersion%%:*}"
|
||||
echo "image=${image}" | tee -a "$GITHUB_OUTPUT"
|
||||
echo "cliVersion=${cliVersion}" | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
find-latest-image:
|
||||
name: Select image
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [split-cliImageVersion]
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
@ -129,27 +155,27 @@ jobs:
|
||||
id: check-input
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ -z "${{ inputs.osImage }}" ]]; then
|
||||
if [[ -z "${{ needs.split-cliImageVersion.outputs.image }}" ]]; then
|
||||
echo "Using latest debug image from main."
|
||||
exit 0
|
||||
else
|
||||
echo "image=${{ inputs.osImage }}" | tee -a "$GITHUB_OUTPUT"
|
||||
echo "image=${{ needs.split-cliImageVersion.outputs.image }}" | tee -a "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Checkout head
|
||||
if: inputs.osImage == '' && inputs.git-ref == 'head'
|
||||
if: needs.split-cliImageVersion.outputs.image == '' && inputs.git-ref == 'head'
|
||||
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
|
||||
with:
|
||||
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
|
||||
|
||||
- name: Checkout ref
|
||||
if: inputs.osImage == '' && inputs.git-ref != 'head'
|
||||
if: needs.split-cliImageVersion.outputs.image == '' && inputs.git-ref != 'head'
|
||||
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
|
||||
with:
|
||||
ref: ${{ inputs.git-ref }}
|
||||
|
||||
- name: Login to AWS
|
||||
if: inputs.osImage == ''
|
||||
if: needs.split-cliImageVersion.outputs.image == ''
|
||||
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::795746500882:role/GithubConstellationVersionsAPIRead
|
||||
@ -157,7 +183,7 @@ jobs:
|
||||
|
||||
- name: Find latest image
|
||||
id: find-latest-image
|
||||
if: inputs.osImage == ''
|
||||
if: needs.split-cliImageVersion.outputs.image == ''
|
||||
uses: ./.github/actions/versionsapi
|
||||
with:
|
||||
command: latest
|
||||
@ -168,7 +194,7 @@ jobs:
|
||||
id: isDebugImage
|
||||
shell: bash
|
||||
run: |
|
||||
case "${{ inputs.osImage }}" in
|
||||
case "${{ needs.split-cliImageVersion.outputs.image }}" in
|
||||
"")
|
||||
echo "isDebugImage=true" >> "$GITHUB_OUTPUT"
|
||||
echo "Image is debug image."
|
||||
@ -189,7 +215,7 @@ jobs:
|
||||
id-token: write
|
||||
checks: write
|
||||
contents: read
|
||||
needs: [find-latest-image]
|
||||
needs: [find-latest-image, split-cliImageVersion]
|
||||
if: always() && !cancelled()
|
||||
steps:
|
||||
- name: Install basic tools (macOS)
|
||||
@ -258,7 +284,7 @@ jobs:
|
||||
azureUserAssignedIdentity: ${{ secrets.AZURE_E2E_USER_ASSIGNED_IDENTITY }}
|
||||
azureResourceGroup: ${{ steps.az_resource_group_gen.outputs.res_group_name }}
|
||||
osImage: ${{ needs.find-latest-image.outputs.image }}
|
||||
cliVersion: ${{ startsWith(needs.find-latest-image.outputs.image, 'v') && needs.find-latest-image.outputs.image || '' }}
|
||||
cliVersion: ${{ needs.split-cliImageVersion.outputs.cliVersion }}
|
||||
isDebugImage: ${{ needs.find-latest-image.outputs.isDebugImage }}
|
||||
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }}
|
||||
|
||||
|
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@ -117,6 +117,15 @@ jobs:
|
||||
git checkout "${BRANCH}" || git checkout -B "${BRANCH}"
|
||||
git push origin "${BRANCH}"
|
||||
|
||||
- name: Write version to version.txt
|
||||
run: |
|
||||
echo "${{ inputs.version }}" > version.txt
|
||||
git config --global user.name "release[bot]"
|
||||
git config --global user.email "release[bot]@users.noreply.github.com"
|
||||
git add version.txt
|
||||
git commit -m "chore: update stamping version to ${{ inputs.version }}"
|
||||
git push origin "${BRANCH}"
|
||||
|
||||
micro-services:
|
||||
name: Build micro services
|
||||
runs-on: ubuntu-22.04
|
||||
@ -216,11 +225,6 @@ jobs:
|
||||
sed -i "s/defaultImage = \"v[0-9]\+\.[0-9]\+\.[0-9]\+\"/defaultImage = \"${VERSION}\"/" internal/config/images_enterprise.go
|
||||
git add internal/config/images_enterprise.go
|
||||
|
||||
- name: Update CMakeLists.txt
|
||||
run: |
|
||||
sed -i "s/project(constellation LANGUAGES C VERSION [0-9]\+\.[0-9]\+\.[0-9]\+)/project(constellation LANGUAGES C VERSION ${WITHOUT_V})/" CMakeLists.txt
|
||||
git add CMakeLists.txt
|
||||
|
||||
- name: Update micro service versions
|
||||
run: |
|
||||
for service in node-operator join-service key-service verification-service qemu-metadata-api; do
|
||||
@ -234,7 +238,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "release[bot]"
|
||||
git config --global user.email "release[bot]@users.noreply.github.com"
|
||||
git commit -m "deps: update version to ${VERSION}"
|
||||
git commit -m "deps: update images to ${VERSION}"
|
||||
git push
|
||||
|
||||
os-image:
|
||||
@ -302,6 +306,7 @@ jobs:
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
checks: write
|
||||
with:
|
||||
workerNodesCount: 2
|
||||
controlNodesCount: 3
|
||||
@ -310,7 +315,7 @@ jobs:
|
||||
test: "sonobuoy full"
|
||||
kubernetesVersion: "v1.25"
|
||||
keepMeasurements: true
|
||||
osImage: ${{ inputs.version }}
|
||||
cliImageVersion: ":${{ inputs.version }}"
|
||||
machineType: "default"
|
||||
git-ref: ${{ needs.verify-inputs.outputs.RELEASE_BRANCH }}
|
||||
|
||||
|
@ -24,7 +24,6 @@ packages:
|
||||
- jq
|
||||
- pv
|
||||
- xsltproc
|
||||
- qemu-guest-agent
|
||||
- libvirt-clients
|
||||
- libvirt-daemon
|
||||
- libvirt-daemon-system
|
||||
|
@ -113,8 +113,8 @@ resource "azurerm_linux_virtual_machine" "main" {
|
||||
resource_group_name = data.azurerm_resource_group.main.name
|
||||
location = data.azurerm_resource_group.main.location
|
||||
|
||||
# Standard_D8as_v5 provides nested virtualization support
|
||||
size = "Standard_D8as_v5"
|
||||
# Standard_D8s_v5 provides nested virtualization support
|
||||
size = "Standard_D8s_v5"
|
||||
|
||||
admin_username = "adminuser"
|
||||
|
||||
@ -123,6 +123,10 @@ resource "azurerm_linux_virtual_machine" "main" {
|
||||
public_key = tls_private_key.ssh_key.public_key_openssh
|
||||
}
|
||||
|
||||
boot_diagnostics {
|
||||
|
||||
}
|
||||
|
||||
network_interface_ids = [
|
||||
azurerm_network_interface.main.id,
|
||||
]
|
||||
|
@ -31,14 +31,14 @@ chmod u+x constellation
|
||||
# wait for docker to come up
|
||||
echo "Waiting for docker service to be active..."
|
||||
|
||||
# Wait at most 5min
|
||||
# Wait at most 10min
|
||||
count=0
|
||||
until systemctl is-active docker || [[ ${count} -eq 30 ]]; do
|
||||
until systemctl is-active docker || [[ ${count} -eq 60 ]]; do
|
||||
sleep 10
|
||||
count=$((count + 1))
|
||||
done
|
||||
|
||||
if [[ ${count} -eq 30 ]]; then
|
||||
if [[ ${count} -eq 60 ]]; then
|
||||
echo "Docker service did not come up in time."
|
||||
exit 1
|
||||
fi
|
||||
|
@ -19,16 +19,16 @@ import "github.com/edgelesssys/constellation/v2/internal/cloud/cloudprovider"
|
||||
func DefaultsFor(provider cloudprovider.Provider) M {
|
||||
switch provider {
|
||||
case cloudprovider.AWS:
|
||||
return M{0: {Expected: [32]byte{0x73, 0x7f, 0x76, 0x7a, 0x12, 0xf5, 0x4e, 0x70, 0xee, 0xcb, 0xc8, 0x68, 0x40, 0x11, 0x32, 0x3a, 0xe2, 0xfe, 0x2d, 0xd9, 0xf9, 0x07, 0x85, 0x57, 0x79, 0x69, 0xd7, 0xa2, 0x01, 0x3e, 0x8c, 0x12}, ValidationOpt: WarnOnly}, 2: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 3: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 4: {Expected: [32]byte{0x4a, 0x63, 0xd8, 0x7f, 0x5e, 0xa6, 0x0b, 0x5a, 0x90, 0x65, 0x26, 0x00, 0xa5, 0x81, 0xf4, 0x60, 0x50, 0x73, 0xd6, 0x64, 0xa0, 0x32, 0x2f, 0x73, 0xcd, 0x4b, 0x89, 0x79, 0x87, 0x2f, 0xeb, 0x74}, ValidationOpt: Enforce}, 5: {Expected: [32]byte{0x64, 0x5c, 0x4b, 0xd2, 0xee, 0x0d, 0xab, 0x47, 0x27, 0x87, 0xeb, 0xc3, 0xe0, 0xea, 0x36, 0x7b, 0x93, 0x07, 0x31, 0x38, 0x74, 0x38, 0x40, 0x95, 0x24, 0x8e, 0x6e, 0x66, 0x75, 0x99, 0x68, 0xde}, ValidationOpt: WarnOnly}, 6: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 7: {Expected: [32]byte{0x12, 0x0e, 0x49, 0x8d, 0xb2, 0xa2, 0x24, 0xbd, 0x51, 0x2b, 0x6e, 0xfc, 0x9b, 0x02, 0x34, 0xf8, 0x43, 0xe1, 0x0b, 0xf0, 0x61, 0xeb, 0x7a, 0x76, 0xec, 0xca, 0x55, 0x09, 0xa2, 0x23, 0x89, 0x01}, ValidationOpt: WarnOnly}, 8: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 9: {Expected: [32]byte{0x88, 0xb1, 0x47, 0x2c, 0x79, 0xbd, 0xe7, 0x7c, 0x52, 0x5c, 0xe4, 0x09, 0x46, 0xa4, 0x98, 0xe1, 0xa2, 0xdc, 0x95, 0xf9, 0x8e, 0xd7, 0x2d, 0x54, 0x47, 0xcc, 0x67, 0x5a, 0xf9, 0xbf, 0x06, 0x29}, ValidationOpt: Enforce}, 11: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 12: {Expected: [32]byte{0xbe, 0xc2, 0x43, 0x7b, 0xaf, 0xc1, 0xfe, 0x42, 0x2c, 0xa5, 0x9b, 0x1b, 0x0e, 0x11, 0xea, 0x5c, 0xfa, 0x7c, 0x9d, 0x16, 0x95, 0x2e, 0xed, 0x94, 0xaa, 0xbb, 0xf8, 0x59, 0x3e, 0x22, 0x76, 0x34}, ValidationOpt: Enforce}, 13: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 14: {Expected: [32]byte{0xd7, 0xc4, 0xcc, 0x7f, 0xf7, 0x93, 0x30, 0x22, 0xf0, 0x13, 0xe0, 0x3b, 0xde, 0xe8, 0x75, 0xb9, 0x17, 0x20, 0xb5, 0xb8, 0x6c, 0xf1, 0x75, 0x3c, 0xad, 0x83, 0x0f, 0x95, 0xe7, 0x91, 0x92, 0x6f}, ValidationOpt: WarnOnly}, 15: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}}
|
||||
return M{0: {Expected: [32]byte{0x73, 0x7f, 0x76, 0x7a, 0x12, 0xf5, 0x4e, 0x70, 0xee, 0xcb, 0xc8, 0x68, 0x40, 0x11, 0x32, 0x3a, 0xe2, 0xfe, 0x2d, 0xd9, 0xf9, 0x07, 0x85, 0x57, 0x79, 0x69, 0xd7, 0xa2, 0x01, 0x3e, 0x8c, 0x12}, ValidationOpt: WarnOnly}, 2: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 3: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 4: {Expected: [32]byte{0x4a, 0xd9, 0xdd, 0xb2, 0x58, 0xc6, 0x1e, 0x5f, 0xd9, 0x5d, 0x5e, 0xe4, 0xde, 0xe4, 0xb1, 0xf6, 0x02, 0xc7, 0x44, 0x1e, 0xab, 0x44, 0xd7, 0x29, 0xc5, 0xd9, 0x3a, 0xa4, 0x77, 0xac, 0xd1, 0xfd}, ValidationOpt: Enforce}, 5: {Expected: [32]byte{0x73, 0xd1, 0x3b, 0xf0, 0xa9, 0xdc, 0x9a, 0x20, 0x1a, 0x33, 0x71, 0x50, 0xa0, 0xa4, 0xad, 0xb0, 0x6e, 0x6b, 0x22, 0x06, 0xee, 0xfa, 0xeb, 0x4f, 0xbb, 0x0f, 0xe5, 0xda, 0xc6, 0x20, 0x2f, 0xd3}, ValidationOpt: WarnOnly}, 6: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 7: {Expected: [32]byte{0x12, 0x0e, 0x49, 0x8d, 0xb2, 0xa2, 0x24, 0xbd, 0x51, 0x2b, 0x6e, 0xfc, 0x9b, 0x02, 0x34, 0xf8, 0x43, 0xe1, 0x0b, 0xf0, 0x61, 0xeb, 0x7a, 0x76, 0xec, 0xca, 0x55, 0x09, 0xa2, 0x23, 0x89, 0x01}, ValidationOpt: WarnOnly}, 8: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 9: {Expected: [32]byte{0xa1, 0x3d, 0x79, 0x91, 0x0d, 0x9d, 0x98, 0x48, 0x0c, 0x0d, 0x5c, 0x3f, 0x19, 0x7d, 0x38, 0x3d, 0x5d, 0x26, 0x89, 0x5e, 0x35, 0x02, 0x25, 0xe2, 0x19, 0xbf, 0x28, 0x6a, 0x74, 0x02, 0xe7, 0x80}, ValidationOpt: Enforce}, 11: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 12: {Expected: [32]byte{0x0d, 0x01, 0x5e, 0x8d, 0xb4, 0xb9, 0x82, 0x33, 0x00, 0x1c, 0x54, 0x5c, 0x8d, 0xc4, 0xc4, 0x1f, 0x88, 0xa9, 0x02, 0xfd, 0x6c, 0x60, 0xfc, 0xd8, 0x9c, 0x53, 0x46, 0xbb, 0x83, 0x75, 0xf0, 0x15}, ValidationOpt: Enforce}, 13: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 14: {Expected: [32]byte{0xd7, 0xc4, 0xcc, 0x7f, 0xf7, 0x93, 0x30, 0x22, 0xf0, 0x13, 0xe0, 0x3b, 0xde, 0xe8, 0x75, 0xb9, 0x17, 0x20, 0xb5, 0xb8, 0x6c, 0xf1, 0x75, 0x3c, 0xad, 0x83, 0x0f, 0x95, 0xe7, 0x91, 0x92, 0x6f}, ValidationOpt: WarnOnly}, 15: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}}
|
||||
|
||||
case cloudprovider.Azure:
|
||||
return M{1: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 2: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 3: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 4: {Expected: [32]byte{0xc6, 0x34, 0x05, 0xa9, 0xa5, 0x4c, 0x3c, 0x2e, 0x2f, 0x64, 0x35, 0x88, 0xbb, 0x42, 0x8e, 0x27, 0x2b, 0x64, 0x5c, 0x67, 0x99, 0x3c, 0xe2, 0x0e, 0x87, 0xed, 0x98, 0x1b, 0xbf, 0xe0, 0x3a, 0xcb}, ValidationOpt: Enforce}, 5: {Expected: [32]byte{0xf2, 0xb6, 0x3c, 0xa6, 0xff, 0x07, 0x90, 0xd2, 0xb3, 0xb7, 0xb9, 0xe7, 0xa7, 0x43, 0x7c, 0x21, 0x14, 0x13, 0x75, 0x7d, 0x98, 0x11, 0xcc, 0xa3, 0xe9, 0x29, 0x3d, 0x18, 0x5b, 0x11, 0x0c, 0xe7}, ValidationOpt: WarnOnly}, 7: {Expected: [32]byte{0x34, 0x65, 0x47, 0xa8, 0xce, 0x59, 0x57, 0xaf, 0x27, 0xe5, 0x52, 0x42, 0x7d, 0x6b, 0x9e, 0x6d, 0x9c, 0xb5, 0x02, 0xf0, 0x15, 0x6e, 0x91, 0x55, 0x38, 0x04, 0x51, 0xee, 0xa1, 0xb3, 0xf0, 0xed}, ValidationOpt: WarnOnly}, 8: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 9: {Expected: [32]byte{0xd1, 0x3b, 0xc1, 0xbc, 0x94, 0x2b, 0x28, 0xae, 0x87, 0xf8, 0xd9, 0x77, 0x02, 0x0e, 0xdd, 0x7b, 0x26, 0xc5, 0x4c, 0x52, 0x4f, 0xe4, 0xc2, 0x03, 0x24, 0x50, 0xe0, 0x10, 0x82, 0x89, 0xae, 0x9d}, ValidationOpt: Enforce}, 11: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 12: {Expected: [32]byte{0x2c, 0x29, 0xa1, 0xd2, 0x23, 0xa3, 0xb5, 0xdb, 0x86, 0x48, 0xd5, 0xca, 0xdf, 0xa3, 0xbc, 0x44, 0xa3, 0xa5, 0x93, 0x65, 0x46, 0x74, 0xeb, 0xf6, 0xa1, 0x2a, 0x79, 0xc3, 0x7c, 0xb7, 0x77, 0x45}, ValidationOpt: Enforce}, 13: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 14: {Expected: [32]byte{0xd7, 0xc4, 0xcc, 0x7f, 0xf7, 0x93, 0x30, 0x22, 0xf0, 0x13, 0xe0, 0x3b, 0xde, 0xe8, 0x75, 0xb9, 0x17, 0x20, 0xb5, 0xb8, 0x6c, 0xf1, 0x75, 0x3c, 0xad, 0x83, 0x0f, 0x95, 0xe7, 0x91, 0x92, 0x6f}, ValidationOpt: WarnOnly}, 15: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}}
|
||||
return M{1: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 2: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 3: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 4: {Expected: [32]byte{0xd2, 0x3e, 0x29, 0x3b, 0x73, 0xe5, 0xa9, 0xcd, 0x2b, 0xdd, 0x51, 0x67, 0x62, 0xf3, 0x08, 0x9f, 0x7f, 0x16, 0x13, 0xb7, 0xd3, 0x78, 0x90, 0xaa, 0x0c, 0x3e, 0xe0, 0xb8, 0xc4, 0xaf, 0x5e, 0x5c}, ValidationOpt: Enforce}, 5: {Expected: [32]byte{0xb7, 0x31, 0xe1, 0xa1, 0xc7, 0x0e, 0x65, 0xe4, 0x3a, 0x4e, 0xd5, 0x4d, 0x66, 0x8b, 0x7e, 0x58, 0x51, 0x63, 0xd9, 0xc4, 0x2f, 0x1e, 0xd4, 0x09, 0x61, 0x74, 0x45, 0x1f, 0xf0, 0xba, 0x62, 0xf2}, ValidationOpt: WarnOnly}, 7: {Expected: [32]byte{0x34, 0x65, 0x47, 0xa8, 0xce, 0x59, 0x57, 0xaf, 0x27, 0xe5, 0x52, 0x42, 0x7d, 0x6b, 0x9e, 0x6d, 0x9c, 0xb5, 0x02, 0xf0, 0x15, 0x6e, 0x91, 0x55, 0x38, 0x04, 0x51, 0xee, 0xa1, 0xb3, 0xf0, 0xed}, ValidationOpt: WarnOnly}, 8: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 9: {Expected: [32]byte{0xa1, 0x3d, 0x79, 0x91, 0x0d, 0x9d, 0x98, 0x48, 0x0c, 0x0d, 0x5c, 0x3f, 0x19, 0x7d, 0x38, 0x3d, 0x5d, 0x26, 0x89, 0x5e, 0x35, 0x02, 0x25, 0xe2, 0x19, 0xbf, 0x28, 0x6a, 0x74, 0x02, 0xe7, 0x80}, ValidationOpt: Enforce}, 11: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 12: {Expected: [32]byte{0xfd, 0x80, 0xe6, 0xd3, 0x69, 0x2d, 0x7d, 0x39, 0x10, 0x4a, 0x00, 0x58, 0x90, 0x5f, 0xeb, 0xa2, 0xdf, 0x5b, 0xc5, 0x95, 0x58, 0x6b, 0xfa, 0x0f, 0xbd, 0xdf, 0x73, 0x8b, 0x0b, 0x2d, 0x47, 0xe2}, ValidationOpt: Enforce}, 13: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 14: {Expected: [32]byte{0xd7, 0xc4, 0xcc, 0x7f, 0xf7, 0x93, 0x30, 0x22, 0xf0, 0x13, 0xe0, 0x3b, 0xde, 0xe8, 0x75, 0xb9, 0x17, 0x20, 0xb5, 0xb8, 0x6c, 0xf1, 0x75, 0x3c, 0xad, 0x83, 0x0f, 0x95, 0xe7, 0x91, 0x92, 0x6f}, ValidationOpt: WarnOnly}, 15: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}}
|
||||
|
||||
case cloudprovider.GCP:
|
||||
return M{0: {Expected: [32]byte{0x0f, 0x35, 0xc2, 0x14, 0x60, 0x8d, 0x93, 0xc7, 0xa6, 0xe6, 0x8a, 0xe7, 0x35, 0x9b, 0x4a, 0x8b, 0xe5, 0xa0, 0xe9, 0x9e, 0xea, 0x91, 0x07, 0xec, 0xe4, 0x27, 0xc4, 0xde, 0xa4, 0xe4, 0x39, 0xcf}, ValidationOpt: Enforce}, 1: {Expected: [32]byte{0x74, 0x5f, 0x2f, 0xb4, 0x23, 0x5e, 0x46, 0x47, 0xaa, 0x0a, 0xd5, 0xac, 0xe7, 0x81, 0xcd, 0x92, 0x9e, 0xb6, 0x8c, 0x28, 0x87, 0x0e, 0x7d, 0xd5, 0xd1, 0xa1, 0x53, 0x58, 0x54, 0x32, 0x5e, 0x56}, ValidationOpt: WarnOnly}, 2: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 3: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 4: {Expected: [32]byte{0x32, 0x2b, 0x4b, 0x49, 0x10, 0xc7, 0xfb, 0xa3, 0xac, 0x20, 0xff, 0xf3, 0xaf, 0xe8, 0x3b, 0x27, 0x35, 0xd7, 0xbb, 0x7b, 0x9a, 0xad, 0x31, 0x7d, 0x40, 0x1f, 0x2f, 0x80, 0xad, 0xce, 0xae, 0xab}, ValidationOpt: Enforce}, 5: {Expected: [32]byte{0x20, 0x97, 0x5d, 0x01, 0x27, 0x5a, 0x09, 0xac, 0x50, 0x54, 0xe1, 0x2f, 0xd3, 0x93, 0x19, 0x4a, 0xdd, 0x14, 0xbd, 0x50, 0x22, 0xe8, 0xfc, 0x23, 0x0d, 0x09, 0x01, 0xf7, 0x2a, 0xe2, 0x9e, 0xea}, ValidationOpt: WarnOnly}, 6: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 7: {Expected: [32]byte{0xb1, 0xe9, 0xb3, 0x05, 0x32, 0x5c, 0x51, 0xb9, 0x3d, 0xa5, 0x8c, 0xbf, 0x7f, 0x92, 0x51, 0x2d, 0x8e, 0xeb, 0xfa, 0x01, 0x14, 0x3e, 0x4d, 0x88, 0x44, 0xe4, 0x0e, 0x06, 0x2e, 0x9b, 0x6c, 0xd5}, ValidationOpt: WarnOnly}, 8: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 9: {Expected: [32]byte{0x34, 0x0b, 0x2d, 0xfa, 0x36, 0xf3, 0x6f, 0x7f, 0xb9, 0x32, 0xe7, 0x35, 0x19, 0x7d, 0xf4, 0xf3, 0x4c, 0xd1, 0x2e, 0xf2, 0xe5, 0xa3, 0x6d, 0x3d, 0x81, 0x3e, 0x5b, 0x4b, 0x12, 0xf8, 0x87, 0xf3}, ValidationOpt: Enforce}, 10: {Expected: [32]byte{0x00, 0xfc, 0xb7, 0xc4, 0x4c, 0x98, 0x04, 0x1e, 0xa1, 0xf4, 0xca, 0x50, 0xd6, 0xe5, 0x2b, 0x87, 0xb1, 0xf8, 0xf4, 0x85, 0x13, 0x0d, 0x39, 0x4a, 0x89, 0x97, 0x24, 0x29, 0x37, 0x67, 0x63, 0xd0}, ValidationOpt: WarnOnly}, 11: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 12: {Expected: [32]byte{0xb9, 0x17, 0xbf, 0x5c, 0x83, 0xd6, 0x1d, 0x35, 0xc7, 0x5b, 0xdd, 0x75, 0x10, 0x8f, 0x24, 0x7e, 0xd3, 0xbf, 0xa2, 0x73, 0x9d, 0xdb, 0x3f, 0x1c, 0x91, 0x95, 0x87, 0x9e, 0x21, 0xd5, 0xfb, 0xb5}, ValidationOpt: Enforce}, 13: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 14: {Expected: [32]byte{0xd7, 0xc4, 0xcc, 0x7f, 0xf7, 0x93, 0x30, 0x22, 0xf0, 0x13, 0xe0, 0x3b, 0xde, 0xe8, 0x75, 0xb9, 0x17, 0x20, 0xb5, 0xb8, 0x6c, 0xf1, 0x75, 0x3c, 0xad, 0x83, 0x0f, 0x95, 0xe7, 0x91, 0x92, 0x6f}, ValidationOpt: WarnOnly}, 15: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}}
|
||||
return M{1: {Expected: [32]byte{0x74, 0x5f, 0x2f, 0xb4, 0x23, 0x5e, 0x46, 0x47, 0xaa, 0x0a, 0xd5, 0xac, 0xe7, 0x81, 0xcd, 0x92, 0x9e, 0xb6, 0x8c, 0x28, 0x87, 0x0e, 0x7d, 0xd5, 0xd1, 0xa1, 0x53, 0x58, 0x54, 0x32, 0x5e, 0x56}, ValidationOpt: WarnOnly}, 2: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 3: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 4: {Expected: [32]byte{0x97, 0x65, 0x24, 0x75, 0x9a, 0x1f, 0x06, 0x8e, 0x75, 0xa5, 0x81, 0x96, 0x5f, 0xa6, 0xdd, 0xb3, 0x7c, 0x9b, 0x62, 0x60, 0x1c, 0xd6, 0x79, 0x1e, 0x28, 0xb6, 0xc9, 0x75, 0xda, 0x92, 0xfc, 0xab}, ValidationOpt: Enforce}, 5: {Expected: [32]byte{0x9d, 0x5f, 0x8c, 0x2e, 0x04, 0x64, 0xc6, 0x95, 0x52, 0xe5, 0x93, 0xbe, 0x32, 0xa4, 0xb0, 0x89, 0xf7, 0xe7, 0x7f, 0x4e, 0xd1, 0x2d, 0x60, 0xcd, 0xcd, 0x94, 0x12, 0x0b, 0x6c, 0xca, 0xcc, 0xf8}, ValidationOpt: WarnOnly}, 6: {Expected: [32]byte{0x3d, 0x45, 0x8c, 0xfe, 0x55, 0xcc, 0x03, 0xea, 0x1f, 0x44, 0x3f, 0x15, 0x62, 0xbe, 0xec, 0x8d, 0xf5, 0x1c, 0x75, 0xe1, 0x4a, 0x9f, 0xcf, 0x9a, 0x72, 0x34, 0xa1, 0x3f, 0x19, 0x8e, 0x79, 0x69}, ValidationOpt: WarnOnly}, 7: {Expected: [32]byte{0xb1, 0xe9, 0xb3, 0x05, 0x32, 0x5c, 0x51, 0xb9, 0x3d, 0xa5, 0x8c, 0xbf, 0x7f, 0x92, 0x51, 0x2d, 0x8e, 0xeb, 0xfa, 0x01, 0x14, 0x3e, 0x4d, 0x88, 0x44, 0xe4, 0x0e, 0x06, 0x2e, 0x9b, 0x6c, 0xd5}, ValidationOpt: WarnOnly}, 8: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 9: {Expected: [32]byte{0xcb, 0x82, 0x43, 0x95, 0x0b, 0x6f, 0xc8, 0xef, 0x42, 0x17, 0xde, 0xda, 0xc9, 0xae, 0xc5, 0x05, 0xf8, 0x09, 0x84, 0x43, 0x54, 0xf2, 0xf6, 0x38, 0xcd, 0x47, 0xcd, 0x7a, 0xc5, 0xf1, 0x72, 0xe3}, ValidationOpt: Enforce}, 11: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 12: {Expected: [32]byte{0x31, 0xb2, 0xc4, 0xc7, 0x92, 0x01, 0xc1, 0xc0, 0x9a, 0x3e, 0x24, 0x0c, 0xe6, 0x5c, 0xca, 0x90, 0x23, 0xc7, 0x79, 0x03, 0x95, 0x25, 0x21, 0xf1, 0x2f, 0x5b, 0x8a, 0x64, 0x9c, 0x65, 0xca, 0x4a}, ValidationOpt: Enforce}, 13: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 14: {Expected: [32]byte{0xd7, 0xc4, 0xcc, 0x7f, 0xf7, 0x93, 0x30, 0x22, 0xf0, 0x13, 0xe0, 0x3b, 0xde, 0xe8, 0x75, 0xb9, 0x17, 0x20, 0xb5, 0xb8, 0x6c, 0xf1, 0x75, 0x3c, 0xad, 0x83, 0x0f, 0x95, 0xe7, 0x91, 0x92, 0x6f}, ValidationOpt: WarnOnly}, 15: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}}
|
||||
|
||||
case cloudprovider.QEMU:
|
||||
return M{4: {Expected: [32]byte{0x58, 0x48, 0x5f, 0x62, 0x49, 0x70, 0x2f, 0x7e, 0xb3, 0xb3, 0x31, 0x5c, 0x3d, 0x9b, 0xeb, 0xf6, 0xb8, 0x10, 0x5c, 0x4c, 0x00, 0xad, 0xf7, 0xb6, 0x48, 0xbf, 0x37, 0x61, 0x16, 0x85, 0xf0, 0x2f}, ValidationOpt: Enforce}, 8: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 9: {Expected: [32]byte{0x3e, 0x0d, 0x7a, 0xc0, 0x50, 0x91, 0xc5, 0xe0, 0x31, 0xe1, 0x1a, 0x80, 0x7a, 0xff, 0xed, 0xe4, 0x35, 0x17, 0x0e, 0xfc, 0xd4, 0xfa, 0x68, 0x7d, 0x5b, 0xc9, 0x9b, 0xa7, 0x78, 0x46, 0x77, 0xe4}, ValidationOpt: Enforce}, 11: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 12: {Expected: [32]byte{0x96, 0xf8, 0x37, 0x27, 0x53, 0x4e, 0x10, 0x78, 0x57, 0x0a, 0x25, 0xba, 0x8c, 0xc1, 0x31, 0x84, 0x7c, 0x52, 0x5e, 0xe4, 0x9a, 0xb9, 0xe1, 0x24, 0x3d, 0x38, 0xd0, 0x03, 0x90, 0x53, 0x09, 0x44}, ValidationOpt: Enforce}, 13: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 15: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}}
|
||||
return M{4: {Expected: [32]byte{0xdf, 0xd6, 0x2a, 0x25, 0x1a, 0x23, 0x4d, 0x2e, 0xcc, 0xdb, 0xb4, 0x65, 0x9e, 0x49, 0x90, 0xc3, 0x30, 0xf3, 0xe4, 0xa4, 0x45, 0x6f, 0x72, 0x74, 0xc7, 0x69, 0xad, 0x43, 0xc1, 0x74, 0xc7, 0xc4}, ValidationOpt: Enforce}, 8: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 9: {Expected: [32]byte{0xa1, 0x3d, 0x79, 0x91, 0x0d, 0x9d, 0x98, 0x48, 0x0c, 0x0d, 0x5c, 0x3f, 0x19, 0x7d, 0x38, 0x3d, 0x5d, 0x26, 0x89, 0x5e, 0x35, 0x02, 0x25, 0xe2, 0x19, 0xbf, 0x28, 0x6a, 0x74, 0x02, 0xe7, 0x80}, ValidationOpt: Enforce}, 11: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 12: {Expected: [32]byte{0xc2, 0xb1, 0xe2, 0x4a, 0x8f, 0xf7, 0x34, 0xea, 0x95, 0x46, 0x62, 0x2d, 0xa8, 0xba, 0x43, 0x8c, 0x67, 0x99, 0xbe, 0x6b, 0x6c, 0xb4, 0xe6, 0x59, 0x3d, 0x94, 0x11, 0xe9, 0xea, 0x08, 0x4c, 0x0c}, ValidationOpt: Enforce}, 13: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}, 15: {Expected: [32]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, ValidationOpt: Enforce}}
|
||||
|
||||
default:
|
||||
return nil
|
||||
|
@ -24,6 +24,6 @@ timestamp() {
|
||||
|
||||
echo "REPO_URL https://github.com/edgelesssys/constellation.git"
|
||||
echo "STABLE_STAMP_COMMIT $(git rev-parse HEAD)"
|
||||
echo "STABLE_STAMP_STATE $(git diff-index --quiet HEAD -- && echo "clean" || echo "dirty")"
|
||||
echo "STABLE_STAMP_STATE $(git update-index -q --really-refresh && git diff-index --quiet HEAD -- && echo "clean" || echo "dirty")"
|
||||
echo "STABLE_STAMP_VERSION $(pseudo_version)"
|
||||
echo "STABLE_STAMP_TIME $(timestamp)"
|
||||
|
Loading…
Reference in New Issue
Block a user