Merge pull request #1070 from jhult/cue-repo-link

Link to new CUE GitHub repository
This commit is contained in:
Sam Alba 2021-10-20 17:39:05 -07:00 committed by GitHub
commit 428aca1c03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ jobs:
export CUE_VERSION="$(grep cue ./go.mod | cut -d' ' -f2)" export CUE_VERSION="$(grep cue ./go.mod | cut -d' ' -f2)"
export CUE_TARBALL="cue_${CUE_VERSION}_linux_amd64.tar.gz" export CUE_TARBALL="cue_${CUE_VERSION}_linux_amd64.tar.gz"
echo "Installing cue version $CUE_VERSION" echo "Installing cue version $CUE_VERSION"
curl -L https://github.com/cuelang/cue/releases/download/${CUE_VERSION}/${CUE_TARBALL} | sudo tar zxf - -C /usr/local/bin curl -L https://github.com/cue-lang/cue/releases/download/${CUE_VERSION}/${CUE_TARBALL} | sudo tar zxf - -C /usr/local/bin
- name: Go Lint - name: Go Lint
uses: golangci/golangci-lint-action@v2 uses: golangci/golangci-lint-action@v2
@ -82,7 +82,7 @@ jobs:
export CUE_VERSION="$(grep cue ./go.mod | cut -d' ' -f2)" export CUE_VERSION="$(grep cue ./go.mod | cut -d' ' -f2)"
export CUE_TARBALL="cue_${CUE_VERSION}_linux_amd64.tar.gz" export CUE_TARBALL="cue_${CUE_VERSION}_linux_amd64.tar.gz"
echo "Installing cue version $CUE_VERSION" echo "Installing cue version $CUE_VERSION"
curl -L https://github.com/cuelang/cue/releases/download/${CUE_VERSION}/${CUE_TARBALL} | sudo tar zxf - -C /usr/local/bin curl -L https://github.com/cue-lang/cue/releases/download/${CUE_VERSION}/${CUE_TARBALL} | sudo tar zxf - -C /usr/local/bin
- name: Install Dependencies - name: Install Dependencies
run: | run: |
@ -233,7 +233,7 @@ jobs:
export CUE_VERSION="$(grep cue ./go.mod | cut -d' ' -f2)" export CUE_VERSION="$(grep cue ./go.mod | cut -d' ' -f2)"
export CUE_TARBALL="cue_${CUE_VERSION}_linux_amd64.tar.gz" export CUE_TARBALL="cue_${CUE_VERSION}_linux_amd64.tar.gz"
echo "Installing cue version $CUE_VERSION" echo "Installing cue version $CUE_VERSION"
curl -L https://github.com/cuelang/cue/releases/download/${CUE_VERSION}/${CUE_TARBALL} | sudo tar zxf - -C /usr/local/bin curl -L https://github.com/cue-lang/cue/releases/download/${CUE_VERSION}/${CUE_TARBALL} | sudo tar zxf - -C /usr/local/bin
- name: Run local registry - name: Run local registry
run: | run: |

View File

@ -56,7 +56,7 @@ Each link in the graph represents a flow of data between nodes. For example:
### Install Cue ### Install Cue
Although not strictly necessary, for an optimal development experience, we recommend Although not strictly necessary, for an optimal development experience, we recommend
[installing a recent version of Cue](https://github.com/cuelang/cue/releases/). [installing a recent version of Cue](https://github.com/cue-lang/cue/releases/).
### Prepare Cue learning resources ### Prepare Cue learning resources

View File

@ -547,7 +547,7 @@ kubectl delete -f k8s/
This section will convert Kubernetes YAML manifest from `k8s` directory to [CUE](https://cuelang.org/) to take advantage This section will convert Kubernetes YAML manifest from `k8s` directory to [CUE](https://cuelang.org/) to take advantage
of the language features. of the language features.
> For a more advanced example, see the [official CUE Kubernetes tutorial](https://github.com/cuelang/cue/blob/v0.4.0/doc/tutorial/kubernetes/README.md) > For a more advanced example, see the [official CUE Kubernetes tutorial](https://github.com/cue-lang/cue/blob/v0.4.0/doc/tutorial/kubernetes/README.md)
### Convert Kubernetes objects to CUE ### Convert Kubernetes objects to CUE

View File

@ -53,7 +53,7 @@ err: (os.#File & {
""" """
set -e set -e
cd $(mktemp -d) cd $(mktemp -d)
curl -L https://github.com/cuelang/cue/releases/download/v0.4.0/cue_v0.4.0_linux_amd64.tar.gz -o cue.tgz curl -L https://github.com/cue-lang/cue/releases/download/v0.4.0/cue_v0.4.0_linux_amd64.tar.gz -o cue.tgz
tar zxvf cue.tgz tar zxvf cue.tgz
cp cue /usr/local/bin/cue cp cue /usr/local/bin/cue
rm -fr ./* rm -fr ./*