1、Gitea 2、Jenkins 3、Jenkins agent 4、LocalStack 5、Prod 6、CTFd 7、GitLab 8、GitLab runner 9、Docker in Docker
curl -o cicd-goat/docker-compose.yaml --create-dirs https://raw.githubusercontent.com/cider-security-research/cicd-goat/main/docker-compose.yaml
cd cicd-goat && docker-compose up -d
(向右滑动,查看更多)
mkdir cicd-goat; cd cicd-goat
curl -o docker-compose.yaml https://raw.githubusercontent.com/cider-security-research/cicd-goat/main/docker-compose.yaml
get-content docker-compose.yaml | %{$_ -replace "bridge","nat"}
docker-compose up -d
用户名:alice 密码:alice
Jenkins:http://localhost:8080 用户名:alice 密码:alice
Gitea http://localhost:3000 用户名:thealice 密码:thealice
GitLab http://localhost:4000 用户名:alice 密码:alice1234
git clone https://github.com/cider-security-research/cicd-goat.git
./rename.py git
pip3 install pipenv==2022.8.30
pipenv install --deploy
rm -rf tmp tmp-ctfd/
cp -R ctfd/data/ tmp-ctfd/
docker-compose -f docker-compose-dev.yaml up -d
docker-compose -f docker-compose-dev.yaml down
./apply.sh # save CTFd changes
docker-compose -f docker-compose-dev.yaml up -d --build
pytest tests/
./rename.py notgit
精彩推荐