Skip to content

Commit

Permalink
Merge pull request #2740 from rancher/eio-regsync-testing
Browse files Browse the repository at this point in the history
Eio regsync testing
  • Loading branch information
rohitsakala committed Jun 23, 2023
2 parents bcf5fcd + dede34e commit 44b5a55
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/regsync-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,22 @@ jobs:

# Need to remove export version once rancher/charts gets the latest version
# of charts-build-script binary.
- name: Generate Regsync

- name: Generate Regsync Config
run: |
export CHARTS_BUILD_SCRIPT_VERSION=v0.4.2
make pull-scripts
make regsync
- name: Install Regsync
run: |
curl -o regsync https://github.com/regclient/regclient/releases/download/v0.4.8/regsync-linux-amd64
curl --silent --fail --location --output regsync https://github.com/regclient/regclient/releases/download/v0.4.8/regsync-linux-amd64
chmod +x regsync
- name: Sync Charts
- name: Sync Images to Registry
run: |
time ./regsync -v debug check --config regsync.yaml
head regsync.yaml
time ./regsync once --config regsync.yaml
env:
REGISTRY_ENDPOINT: ${{ secrets.REGISTRY_ENDPOINT }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
Expand Down

0 comments on commit 44b5a55

Please sign in to comment.