Commit Graph

3 Commits (d430d1dc5f4e48c2dffa8308ebc67a801f309efd)

Author SHA1 Message Date
Arvind Iyengar 5ba341da06
Revert "Temporarily point to fork"
This reverts commit 4ecd0f7203.

Context:

The purpose behind introducing the previous two change was to run a `make sync`, which tries to pull in new charts *only* from the source branch. This step would fail if the packageVersion was not modified.

This worked, as seen below:

```bash
arvindiyengar: ~/Rancher/rke2-charts/src/github.com/rancher/rke2-charts
$ make sync
./bin/charts-build-scripts sync
INFO[0000] Synchronizing with charts that will be generated from migrate-source
... (omitted for brevity) ...
INFO[0002] Found the following latest release candidate versions: {
 "rke2-canal/v3.13.300-build2021022301": "rke2-canal/v3.13.300-build2021022301-rc00",
 "rke2-coredns/1.10.101-build2021022302": "rke2-coredns/1.10.101-build2021022302-rc00",
 "rke2-ingress-nginx/3.3.001": "rke2-ingress-nginx/3.3.001-rc00",
 "rke2-kube-proxy/v1.19.801": "rke2-kube-proxy/v1.19.801-rc00",
 "rke2-metrics-server/2.11.100-build2021022301": "rke2-metrics-server/2.11.100-build2021022301-rc00"
}
... (omitted for brevity) ...
INFO[0003] Sync was successful!
INFO[0003] Successfully synchronized with migrate-source!
INFO[0003] Creating or updating the Helm index with the newly added assets...
INFO[0003] Your working directory is ready for a commit.
```
2021-02-25 18:51:14 -08:00
Arvind Iyengar 4ecd0f7203
Temporarily point to fork 2021-02-25 18:32:13 -08:00
Arvind Iyengar 74c4feb591
Initialize template, fix, and re-run make docs
1. Ran the following script to initialize
```
arvindiyengar: ~/Rancher/rke2-charts/src/github.com/rancher/rke2-charts
$ curl -s https://raw.githubusercontent.com/aiyengar2/charts-build-scripts/add_init_steps/init.sh > /dev/null | sh
Pulling in charts-build-scripts version v0.0.4
charts-build-scripts version v0.0.4 (567c991)
INFO[0000] Pulling rancher/charts-build-scripts[path=templates] from upstream into templates436707958
INFO[0002] Successfully pulled new updated docs into working directory.
Pulled in basic template for live into configuration.yaml and constructed charts directory
Next Steps:
1. Modify the configuration.yaml with your expected setup and re-run make docs to automatically update the repository.
arvindiyengar: ~/Rancher/rke2-charts/src/github.com/rancher/rke2-charts
$ make docs
./bin/charts-build-scripts docs
INFO[0000] Pulling rancher/charts-build-scripts[path=templates] from upstream into templates174667530
INFO[0002] Successfully pulled new updated docs into working directory.
```
2. Updated the configuration.yaml to point at rke2-charts manually
3. Ran `make docs`

Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-02-25 17:55:19 -08:00