⚠️ update name validation patterns to match Kubernetes as close as possible #1578
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: | |
pull_request: | |
paths: | |
- '.bingo/**' | |
- '.github/workflows/tilt.yaml' | |
- 'api/**' | |
- 'cmd/**' | |
- 'config/**' | |
- 'internal/**' | |
- 'pkg/**' | |
- 'Tiltfile' | |
merge_group: | |
jobs: | |
tilt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: operator-framework/tilt-support | |
path: tilt-support | |
- uses: actions/checkout@v4 | |
with: | |
path: operator-controller | |
- name: Get catalogd version | |
id: get-catalogd-version | |
run: | | |
cd operator-controller | |
echo "CATALOGD_VERSION=$(go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/catalogd)" >> "$GITHUB_OUTPUT" | |
- uses: actions/checkout@v4 | |
with: | |
repository: operator-framework/catalogd | |
path: catalogd | |
ref: "${{ steps.get-catalogd-version.outputs.CATALOGD_VERSION }}" | |
- name: Install Tilt | |
run: | | |
TILT_VERSION="0.33.3" | |
curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \ | |
tar -xzv -C /usr/local/bin tilt | |
- name: Set up kind | |
run: | | |
cd operator-controller | |
make kind-cluster | |
- name: Test Tilt | |
run: | | |
cd operator-controller | |
tilt ci |