Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
harbor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
market
harbor
Commits
18fc7845
Commit
18fc7845
authored
Mar 31, 2021
by
舒成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2.1.1
parent
64c4b639
Pipeline
#44613
passed with stage
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
123 additions
and
0 deletions
+123
-0
.beagle.yml
.beagle.yml
+86
-0
ansible/images.yaml
ansible/images.yaml
+27
-0
ansible/main.yaml
ansible/main.yaml
+10
-0
No files found.
.beagle.yml
0 → 100644
View file @
18fc7845
platform
:
10.11.92.34
clone
:
git
:
image
:
registry.cn-qingdao.aliyuncs.com/wod/devops-git:1.0
dns
:
-
223.5.5.5
pipeline
:
charts
:
image
:
registry.cn-qingdao.aliyuncs.com/wod/alpine:3.12
pull
:
true
dns
:
-
223.5.5.5
volumes
:
-
/data/downloads/k8s/charts/:/charts
environment
:
-
TGZ_TARGET=harbor-v2.1.1.tgz
commands
:
-
rm -rf .git
-
tar -zcvf $TGZ_TARGET .
-
mv $TGZ_TARGET /charts/$TGZ_TARGET
when
:
branch
:
-
master
ansible-amd64
:
image
:
registry.cn-qingdao.aliyuncs.com/wod/ansible-kubernetes-image:v1.20.2
pull
:
true
dns
:
-
223.5.5.5
commands
:
-
cp -r ./ansible/main.yaml /etc/ansible/linux/main.yaml
-
cd ansible
-
>-
ansible-playbook /etc/ansible/linux/main.yaml
--extra-vars
'{
"TARGET_ARCH":"amd64",
"TARGET_VERSION":"v2.1.1"
}'
--extra-vars "@images.yaml"
when
:
branch
:
-
master
ansible-arm64
:
image
:
registry.cn-qingdao.aliyuncs.com/wod/ansible-kubernetes-image:v1.20.2
pull
:
true
dns
:
-
223.5.5.5
commands
:
-
cp -r ./ansible/main.yaml /etc/ansible/linux/main.yaml
-
cd ansible
-
>-
ansible-playbook /etc/ansible/linux/main.yaml
--extra-vars
'{
"TARGET_ARCH":"arm64",
"TARGET_VERSION":"v2.1.1"
}'
--extra-vars "@images.yaml"
when
:
branch
:
-
master
ansible-ppc64le
:
image
:
registry.cn-qingdao.aliyuncs.com/wod/ansible-kubernetes-image:v1.20.2
pull
:
true
dns
:
-
223.5.5.5
commands
:
-
cp -r ./ansible/main.yaml /etc/ansible/linux/main.yaml
-
cd ansible
-
>-
ansible-playbook /etc/ansible/linux/main.yaml
--extra-vars
'{
"TARGET_ARCH":"ppc64le",
"TARGET_VERSION":"v2.1.1"
}'
--extra-vars "@images.yaml"
when
:
branch
:
-
master
\ No newline at end of file
ansible/images.yaml
0 → 100644
View file @
18fc7845
IMAGES
:
-
repo
:
harbor-portal
tag
:
"
v2.1.1"
-
repo
:
harbor-core
tag
:
"
v2.1.1"
-
repo
:
harbor-jobservice
tag
:
"
v2.1.1"
-
repo
:
harbor-db
tag
:
"
v2.1.1"
-
repo
:
harbor-registryctl
tag
:
"
v2.1.1"
-
repo
:
harbor-chartmuseum
tag
:
"
v2.1.1"
-
repo
:
harbor-clair
tag
:
"
v2.1.1"
-
repo
:
harbor-clair-adapter
tag
:
"
v2.1.1"
-
repo
:
harbor-trivy-adapter
tag
:
"
v2.1.1"
-
repo
:
harbor-notary-server
tag
:
"
v2.1.1"
-
repo
:
harbor-notary-signer
tag
:
"
v2.1.1"
-
repo
:
registry
tag
:
"
2.7.1"
-
repo
:
redis
tag
:
"
6.0.9"
\ No newline at end of file
ansible/main.yaml
0 → 100644
View file @
18fc7845
-
hosts
:
all
gather_facts
:
False
vars
:
REGISTRY_DATA_PATH
:
'
/data/downloads/k8s/registry/{{
TARGET_ARCH
}}'
REGISTRY_DATA_FILE
:
"
images-harbor-{{
TARGET_VERSION
}}.tar.gz"
roles
:
-
role
:
wod.registry
-
role
:
wod.registry-cache
CACHE_IMAGES
:
'
{{
IMAGES
}}'
-
role
:
wod.tgz
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment