Skip to content

Commit

Permalink
comment pipeline so we are able to run until the end
Browse files Browse the repository at this point in the history
Signed-off-by: Diogenes Fernandes <[email protected]>
  • Loading branch information
diofeher committed Dec 28, 2024
1 parent aaa7050 commit 9d34368
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,34 @@ jobs:
uses: actions/checkout@v4
with:
ref: main
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: 'backend/go.mod'
- name: Cache tofu binary
uses: actions/cache@v4
with:
path: ./backend/internal/moduleindex/moduleschema/testtofu
key: tofu-binary
- name: Build tofu
working-directory: backend
run:
go generate ./...
- name: Update documentation
working-directory: backend
env:
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_ENDPOINT_URL_S3: ${{secrets.AWS_ENDPOINT_URL_S3}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
S3_BUCKET: ${{secrets.S3_BUCKET}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run:
go run github.com/opentofu/registry-ui/cmd/generate --log-level=trace --s3-bucket=${S3_BUCKET} --blocklist ../blocklist.json --licenses-file ../licenses.json
- name: Update search index
working-directory: search/pg-indexer
env:
PG_CONNECTION_STRING: ${{secrets.PG_CONNECTION_STRING}}
run: go run ./
# - name: Setup go
# uses: actions/setup-go@v5
# with:
# go-version-file: 'backend/go.mod'
# - name: Cache tofu binary
# uses: actions/cache@v4
# with:
# path: ./backend/internal/moduleindex/moduleschema/testtofu
# key: tofu-binary
# - name: Build tofu
# working-directory: backend
# run:
# go generate ./...
# - name: Update documentation
# working-directory: backend
# env:
# AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
# AWS_ENDPOINT_URL_S3: ${{secrets.AWS_ENDPOINT_URL_S3}}
# AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
# S3_BUCKET: ${{secrets.S3_BUCKET}}
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
# run:
# go run github.com/opentofu/registry-ui/cmd/generate --log-level=trace --s3-bucket=${S3_BUCKET} --blocklist ../blocklist.json --licenses-file ../licenses.json
# - name: Update search index
# working-directory: search/pg-indexer
# env:
# PG_CONNECTION_STRING: ${{secrets.PG_CONNECTION_STRING}}
# run: go run ./
- name: Keep Cron Alive # related to https://github.com/opentofu/registry-ui/issues/259
uses: actions/github-script@v7
env:
Expand Down

0 comments on commit 9d34368

Please sign in to comment.