Skip to content

Commit

Permalink
Update crds properly
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Oct 15, 2022
1 parent fc357a9 commit daeafa9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Expand Up @@ -7,14 +7,13 @@ on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:

jobs:
build:
name: Build
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tracker.yml
Expand Up @@ -3,12 +3,12 @@ name: release-tracker
on:
pull_request:
types: [closed]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/update-crds.yml
Expand Up @@ -4,12 +4,12 @@ on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
Expand Down Expand Up @@ -41,6 +41,7 @@ jobs:
INSTALLER_REPOSITORY: ${{ secrets.INSTALLER_REPOSITORY }}
run: |
url="https://${GITHUB_USER}:${GITHUB_TOKEN}@${INSTALLER_REPOSITORY}.git"
set -x
cd $RUNNER_WORKSPACE
git clone $url
cd $(basename $INSTALLER_REPOSITORY)
Expand All @@ -54,5 +55,7 @@ jobs:
INSTALLER_REPOSITORY: ${{ secrets.INSTALLER_REPOSITORY }}
run: |
export INSTALLER_ROOT=$RUNNER_WORKSPACE/$(basename $INSTALLER_REPOSITORY)
$INSTALLER_ROOT/hack/scripts/import-crds.sh $(pwd)/crds
$INSTALLER_ROOT/hack/scripts/open-pr.sh
crd_dir=$(pwd)/crds
cd $INSTALLER_ROOT
./hack/scripts/import-crds.sh $crd_dir
./hack/scripts/open-pr.sh

0 comments on commit daeafa9

Please sign in to comment.