chore(main): release 2.10.5 (#1127) #98
Workflow file for this run
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
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- 'v*' | |
permissions: | |
contents: read | |
id-token: write | |
name: Build AWS Images for Konvoy E2E tests | |
jobs: | |
builde2e: | |
strategy: | |
fail-fast: false | |
max-parallel: 10 | |
matrix: | |
include: | |
- os: "oracle 7.9" | |
buildConfig: "fips" | |
- os: "redhat 8.6" | |
buildConfig: "offline" | |
- os: "redhat 8.6" | |
buildConfig: "offline-fips" | |
- os: "redhat 8.8" | |
buildConfig: "offline" | |
- os: "redhat 8.8" | |
buildConfig: "offline-fips" | |
- os: "redhat 8.8" | |
buildConfig: "fips-kernel" | |
- os: "rocky 9.1" | |
buildConfig: "offline" | |
- os: "sles 15" | |
buildConfig: "basic" | |
- os: "ubuntu 20.04" | |
buildConfig: "nvidia" | |
- os: "ubuntu 20.04" | |
buildConfig: "basic" | |
- os: "flatcar" | |
buildConfig: "basic" | |
runs-on: | |
- self-hosted | |
- medium | |
continue-on-error: false | |
steps: | |
- name: Checkout konvoy-image-builder repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.ref }} | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- name: Login to dockerhub Registry | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.NEXUS_USERNAME }} | |
password: ${{ secrets.NEXUS_PASSWORD }} | |
- name: Login to D2iQ's Mirror Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ secrets.D2IQ_DOCKER_MIRROR_REGISTRY}} | |
username: ${{ secrets.NEXUS_USERNAME }} | |
password: ${{ secrets.NEXUS_PASSWORD }} | |
- name: Setup buildkit | |
uses: docker/setup-buildx-action@v3 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/konvoy-image-builder | |
aws-region: us-west-2 | |
- name: Build Image ${{ matrix.os }} with ${{ matrix.buildConfig }} for aws | |
uses: magefile/mage-action@v3 | |
with: | |
version: latest | |
args: runE2e "${{ matrix.os }}" "${{ matrix.buildConfig }}" aws false | |
env: | |
GITHUB_TOKEN: ${{ secrets.MESOSPHERECI_USER_TOKEN }} | |
RHSM_ACTIVATION_KEY: ${{ secrets.RHSM_ACTIVATION_KEY }} | |
RHSM_ORG_ID: ${{ secrets.RHSM_ORG_ID }} |