Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Update release and CI workflows for discovery addon #342

Merged
merged 4 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/actions/make-bundle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ inputs:
description: "image uri for analyzer addon (ie. quay.io/<namespace>/<image-name>:<tag>)"
required: false
default: ""
addon_discovery:
description: "image uri for discovery addon (ie. quay.io/<namespace>/<image-name>:<tag>)"
required: false
default: ""
version:
description: "operator version"
required: false
Expand Down Expand Up @@ -65,6 +69,7 @@ runs:
[ -n "${{ inputs.keycloak_init }}" ] && OPTS+=" --set images.keycloak_init=${{ inputs.keycloak_init }}"
[ -n "${{ inputs.tackle_ui }}" ] && OPTS+=" --set images.tackle_ui=${{ inputs.tackle_ui }}"
[ -n "${{ inputs.addon_analyzer }}" ] && OPTS+=" --set images.addon_analyzer=${{ inputs.addon_analyzer }}"
[ -n "${{ inputs.addon_discovery }}" ] && OPTS+=" --set images.addon_discovery=${{ inputs.addon_discovery }}"
HELM_OPTS="${OPTS}" make bundle
cat ./bundle/manifests/konveyor-operator.clusterserviceversion.yaml
make bundle-build
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,21 @@ jobs:
sleep 3m
done
docker image inspect quay.io/konveyor/tackle2-addon-analyzer:${{ inputs.version }}
- name: tackle2-addon-discovery
uses: konveyor/release-tools/create-release@main
with:
version: ${{ inputs.version }}
prev_version: ${{ inputs.previous_version }}
repository: konveyor/tackle2-addon-discovery
ref: ${{ inputs.branch }}
github_token: ${{ secrets.GH_TOKEN }}
- name: wait for tackle2-addon-discovery
run: |
#!/bin/bash
while ! docker pull quay.io/konveyor/tackle2-addon-discovery:${{ inputs.version }} &> /dev/null; do
sleep 3m
done
docker image inspect quay.io/konveyor/tackle2-addon-discovery:${{ inputs.version }}

release-components:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -155,6 +170,7 @@ jobs:
keycloak_init: quay.io/konveyor/tackle-keycloak-init:${{ inputs.version }}
tackle_ui: quay.io/konveyor/tackle2-ui:${{ inputs.version }}
addon_analyzer: quay.io/konveyor/tackle2-addon-analyzer:${{ inputs.version }}
addon_discovery: quay.io/konveyor/tackle2-addon-discovery:${{ inputs.version }}
api_tests_ref: ${{ inputs.branch }}
ui_tests_ref: ${{ inputs.branch }}

Expand Down Expand Up @@ -211,6 +227,7 @@ jobs:
keycloak_init: quay.io/konveyor/tackle-keycloak-init:${{ inputs.version }}
tackle_ui: quay.io/konveyor/tackle2-ui:${{ inputs.version }}
addon_analyzer: quay.io/konveyor/tackle2-addon-analyzer:${{ inputs.version }}
addon_discovery: quay.io/konveyor/tackle2-addon-discovery:${{ inputs.version }}
# The ones we don't own
oauth_proxy: quay.io/konveyor/origin-oauth-proxy:${{ inputs.version }}
tackle_postgres: quay.io/konveyor/postgresql-15-c9s:${{ inputs.version }}
Expand Down Expand Up @@ -303,6 +320,7 @@ jobs:
"konveyor/java-analyzer-bundle"
"konveyor/windup-shim"
"konveyor/tackle2-addon-analyzer"
"konveyor/tackle2-addon-discovery"
"konveyor/tackle2-addon"
"konveyor/operator"
)
Expand Down
Loading