Skip to content

Commit

Permalink
ci: turn off connector publication (#332)
Browse files Browse the repository at this point in the history
Fixing some discrepancies in the hub. So turning off the automation for
a bit. We will revert this after fixing all the discrepancies.
  • Loading branch information
scriptnull authored Oct 9, 2024
1 parent 85b02cf commit fdb98e1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/registry-updates-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,21 @@ jobs:
run: |
cat changed_files.json
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x

- name: Run registry automation program
env:
CHANGED_FILES_PATH: "changed_files.json"
PUBLICATION_ENV: "production"
CONNECTOR_REGISTRY_GQL_URL: ${{ secrets.CONNECTOR_REGISTRY_GQL_URL }}
GCP_BUCKET_NAME: ${{ secrets.GCP_BUCKET_NAME }}
GCP_SERVICE_ACCOUNT_DETAILS: ${{ secrets.GCP_SERVICE_ACCOUNT_DETAILS }}
CONNECTOR_PUBLICATION_KEY: ${{ secrets.CONNECTOR_PUBLICATION_KEY }}
CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }}
run: |
mv changed_files.json registry-automation/changed_files.json
cd registry-automation
go run main.go ci
# - name: Setup Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.21.x

# - name: Run registry automation program
# env:
# CHANGED_FILES_PATH: "changed_files.json"
# PUBLICATION_ENV: "production"
# CONNECTOR_REGISTRY_GQL_URL: ${{ secrets.CONNECTOR_REGISTRY_GQL_URL }}
# GCP_BUCKET_NAME: ${{ secrets.GCP_BUCKET_NAME }}
# GCP_SERVICE_ACCOUNT_DETAILS: ${{ secrets.GCP_SERVICE_ACCOUNT_DETAILS }}
# CONNECTOR_PUBLICATION_KEY: ${{ secrets.CONNECTOR_PUBLICATION_KEY }}
# CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }}
# run: |
# mv changed_files.json registry-automation/changed_files.json
# cd registry-automation
# go run main.go ci
34 changes: 17 additions & 17 deletions .github/workflows/registry-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,21 @@ jobs:
run: |
cat changed_files.json
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
# - name: Setup Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.21.x

- name: Run registry automation program
env:
CHANGED_FILES_PATH: "changed_files.json"
PUBLICATION_ENV: "staging"
CONNECTOR_REGISTRY_GQL_URL: ${{ secrets.CONNECTOR_REGISTRY_GQL_URL }}
GCP_BUCKET_NAME: ${{ secrets.GCP_BUCKET_NAME }}
GCP_SERVICE_ACCOUNT_DETAILS: ${{ secrets.GCP_SERVICE_ACCOUNT_DETAILS }}
CONNECTOR_PUBLICATION_KEY: ${{ secrets.CONNECTOR_PUBLICATION_KEY }}
CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }}
run: |
mv changed_files.json registry-automation/changed_files.json
cd registry-automation
go run main.go ci
# - name: Run registry automation program
# env:
# CHANGED_FILES_PATH: "changed_files.json"
# PUBLICATION_ENV: "staging"
# CONNECTOR_REGISTRY_GQL_URL: ${{ secrets.CONNECTOR_REGISTRY_GQL_URL }}
# GCP_BUCKET_NAME: ${{ secrets.GCP_BUCKET_NAME }}
# GCP_SERVICE_ACCOUNT_DETAILS: ${{ secrets.GCP_SERVICE_ACCOUNT_DETAILS }}
# CONNECTOR_PUBLICATION_KEY: ${{ secrets.CONNECTOR_PUBLICATION_KEY }}
# CLOUDINARY_URL: ${{ secrets.CLOUDINARY_URL }}
# run: |
# mv changed_files.json registry-automation/changed_files.json
# cd registry-automation
# go run main.go ci

0 comments on commit fdb98e1

Please sign in to comment.