Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eio regsync testing #2740

Merged
merged 10 commits into from
Jun 23, 2023
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