Skip to content

Commit dfba51f

Browse files
committed
chore(workflow): add drycc.cc to CNAME
1 parent 51b2731 commit dfba51f

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

.drone/drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ steps:
99
commands:
1010
- make docker-build docker-build-docs
1111
- cp _scripts/* _build/html
12-
- cd _build/html && echo "www.drycc.cc" > CNAME && git init
12+
- cd _build/html && echo "drycc.cc" > CNAME && echo "www.drycc.cc" >> CNAME && git init
1313
environment:
1414
SSH_DEPLOY_KEY:
1515
from_secret: ssh_deploy_key

_scripts/install-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ EOF
1818

1919
PLATFORM="$(uname | tr '[:upper:]' '[:lower:]')"
2020
if [[ "${INSTALL_DRYCC_MIRROR}" == "cn" ]] ; then
21-
DRYCC_BIN_URL_BASE="https://drycc-mirrors.oss-accelerate.aliyuncs.com/drycc/workflow-cli/releases"
21+
DRYCC_BIN_URL_BASE="https://github.com/drycc/workflow-cli/releases"
2222
else
2323
DRYCC_BIN_URL_BASE="https://github.com/drycc/workflow-cli/releases"
2424
fi

_scripts/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ init_arch
3030
function install_helm {
3131
tar_name="helm-canary-linux-${ARCH}.tar.gz"
3232
if [[ "${INSTALL_DRYCC_MIRROR}" == "cn" ]] ; then
33-
helm_download_url="https://drycc-mirrors.oss-accelerate.aliyuncs.com/helm/${tar_name}"
33+
helm_download_url="https://github.com/helm/${tar_name}"
3434
else
3535
helm_download_url="https://get.helm.sh/${tar_name}"
3636
fi
@@ -105,7 +105,7 @@ function configure_mirrors {
105105
function install_cin_plugins {
106106
mkdir -p /opt/cni/bin
107107
if [[ "${INSTALL_DRYCC_MIRROR}" == "cn" ]] ; then
108-
cni_plugins_url="https://drycc-mirrors.oss-accelerate.aliyuncs.com/cni/plugins/releases"
108+
cni_plugins_url="https://github.com/cni/plugins/releases"
109109
else
110110
cni_plugins_url="https://github.com/containernetworking/plugins/releases"
111111
fi
@@ -254,7 +254,7 @@ EOF
254254

255255
function install_helmbroker {
256256
if [[ "${INSTALL_DRYCC_MIRROR}" == "cn" ]] ; then
257-
addons_url="https://drycc-mirrors.oss-accelerate.aliyuncs.com/drycc/addons/releases/download/latest/index.yaml"
257+
addons_url="https://github.com/drycc/addons/releases/download/latest/index.yaml"
258258
else
259259
addons_url="https://github.com/drycc/addons/releases/download/latest/index.yaml"
260260
fi

src/quickstart/install-cli-tools.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Use the CLI to create and configure and manage applications.
66
Install the `drycc` client for Linux or Mac OS X with:
77

88
```
9-
$ curl -sfL https://www.drycc.cc/install-cli.sh | bash -
9+
$ curl -sfL https://drycc.cc/install-cli.sh | bash -
1010
```
1111

1212
!!! important
1313
Users in Chinese mainland can use the following methods to speed up installation:
1414

1515
```
16-
$ curl -sfL https://www.drycc.cc/install-cli.sh | INSTALL_DRYCC_MIRROR=cn bash -
16+
$ curl -sfL https://drycc.cc/install-cli.sh | INSTALL_DRYCC_MIRROR=cn bash -
1717
```
1818

1919
Others please visit: https://github.com/drycc/workflow-cli/releases

src/quickstart/install-workflow.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,17 @@ If it is an intranet environment and there is no public IP, you need to disable
131131
$ export CERT_MANAGER_ENABLED=false
132132
```
133133

134-
Then you can use the installation script available at https://www.drycc.cc/install.sh to install drycc as a service on systemd and openrc based systems.
134+
Then you can use the installation script available at https://drycc.cc/install.sh to install drycc as a service on systemd and openrc based systems.
135135

136136
```
137-
$ curl -sfL https://www.drycc.cc/install.sh | bash -
137+
$ curl -sfL https://drycc.cc/install.sh | bash -
138138
```
139139

140140
!!! important
141141
If you are in China, you need to use mirror acceleration:
142142

143143
```
144-
$ curl -sfL https://www.drycc.cc/install.sh | INSTALL_DRYCC_MIRROR=cn bash -
144+
$ curl -sfL https://drycc.cc/install.sh | INSTALL_DRYCC_MIRROR=cn bash -
145145
```
146146

147147
### Install Node
@@ -175,13 +175,13 @@ $ export K3S_TOKEN="K1078e7213ca32bdaabb44536f14b9ce7926bb201f41c3f3edd39975c16f
175175
* Join the cluster as server:
176176

177177
```
178-
$ curl -sfL https://www.drycc.cc/install.sh | bash -s - install_k3s_server
178+
$ curl -sfL https://drycc.cc/install.sh | bash -s - install_k3s_server
179179
```
180180

181181
* Join the cluster as agent:
182182

183183
```
184-
$ curl -sfL https://www.drycc.cc/install.sh | bash -s - install_k3s_agent
184+
$ curl -sfL https://drycc.cc/install.sh | bash -s - install_k3s_agent
185185
```
186186

187187
### Install Options
@@ -195,7 +195,7 @@ DRYCC_ADMIN_USERNAME | Required item, specify drycc's admi
195195
DRYCC_ADMIN_PASSWORD | Required item, specify drycc's admin password
196196
CERT_MANAGER_ENABLED | Whether to use automatic certificate. It is `true` by default
197197
CHANNEL | By default, `stable` channel will be installed. You can also specify `testing`
198-
REGISTRIES_FILE | The `registers.yaml` file used by k3s.
198+
REGISTRIES_FILE | The `registers.yaml` file path used by k3s.
199199
USE_HAPROXY | Haproxy is enabled by default. If you want to turn it off, this value is false
200200
METALLB_ADDRESS_POOLS | IP pool for LoadBalancer. The default is `172.16.0.0/12`
201201
INSTALL_DRYCC_MIRROR | Specify the accelerated mirror location. Currently, only `cn` is supported
@@ -218,5 +218,5 @@ Since the installation script will install k3s, other environment variables can
218218
If you installed drycc using an installation script, you can uninstall the entire drycc using this script.
219219

220220
```
221-
$ curl -sfL https://www.drycc.cc/uninstall.sh | bash -
221+
$ curl -sfL https://drycc.cc/uninstall.sh | bash -
222222
```

0 commit comments

Comments
 (0)