fix: merge integration tests into single file #29
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
# reusable workflow triggered manually | ||
name: Release charm to other tracks and channels | ||
on: | ||
workflow_dispatch: | ||
<<<<<<< Updated upstream | ||
push: | ||
branches: | ||
- main | ||
======= | ||
inputs: | ||
destination-channel: | ||
description: 'Destination Channel' | ||
required: true | ||
origin-channel: | ||
description: 'Origin Channel' | ||
required: true | ||
>>>>>>> Stashed changes | ||
jobs: | ||
promote-charm: | ||
name: Promote charm | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
<<<<<<< Updated upstream | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Release any bumped charm libs | ||
uses: canonical/charming-actions/[email protected] | ||
with: | ||
charm-path: "./charms/openfga-k8s" | ||
credentials: "${{ secrets.CHARMHUB_TOKEN }}" | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
- name: Build local images | ||
run: make build-image | ||
- name: Upload charm to charmhub | ||
uses: kian99/charming-actions/upload-charm@add-local-image-option | ||
with: | ||
credentials: "${{ secrets.CHARMHUB_TOKEN }}" | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
channel: "latest/edge" | ||
charm-path: "./charms/openfga-k8s" | ||
local-image: "true" | ||
======= | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | ||
- name: Release charm to channel | ||
uses: canonical/charming-actions/release-charm@631c2d944da2bd12430f1f3a954c8fffcf2385cd # 2.4.0 | ||
with: | ||
credentials: ${{ secrets.CHARMCRAFT_CREDENTIALS }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
destination-channel: ${{ github.event.inputs.destination-channel }} | ||
origin-channel: ${{ github.event.inputs.origin-channel }} | ||
base-channel: '22.04' | ||
>>>>>>> Stashed changes |