|
|
@ -15,15 +15,28 @@ steps:
|
|
|
|
- cp -a AdventOfCode.Tests/Data/. /drone/src/AdventOfCode.Tests/bin/Debug/net5.0/
|
|
|
|
- cp -a AdventOfCode.Tests/Data/. /drone/src/AdventOfCode.Tests/bin/Debug/net5.0/
|
|
|
|
- dotnet test AdventOfCode.Tests --logger "console;verbosity=detailed"
|
|
|
|
- dotnet test AdventOfCode.Tests --logger "console;verbosity=detailed"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - name: build-advent-of-code
|
|
|
|
|
|
|
|
# image: plugins/docker
|
|
|
|
|
|
|
|
# settings:
|
|
|
|
|
|
|
|
# username:
|
|
|
|
|
|
|
|
# from_secret: gitlab_username
|
|
|
|
|
|
|
|
# password:
|
|
|
|
|
|
|
|
# from_secret: gitlab_password
|
|
|
|
|
|
|
|
# registry: registry.gitlab.com/sig14
|
|
|
|
|
|
|
|
# repo: registry.gitlab.com/sig14/advent-of-code
|
|
|
|
|
|
|
|
# dockerfile: AdventOfCode/Dockerfile
|
|
|
|
|
|
|
|
# depends_on:
|
|
|
|
|
|
|
|
# - test
|
|
|
|
|
|
|
|
|
|
|
|
- name: build-advent-of-code
|
|
|
|
- name: build-advent-of-code
|
|
|
|
image: plugins/docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
username:
|
|
|
|
from_secret: gitlab_username
|
|
|
|
from_secret: gitea_user
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
from_secret: gitlab_password
|
|
|
|
from_secret: gitea_password
|
|
|
|
registry: registry.gitlab.com/sig14
|
|
|
|
registry: git.siglerdev.us/97waterpolo
|
|
|
|
repo: registry.gitlab.com/sig14/advent-of-code
|
|
|
|
repo: git.siglerdev.us/97waterpolo/advent-of-code
|
|
|
|
dockerfile: AdventOfCode/Dockerfile
|
|
|
|
dockerfile: AdventOfCode/Dockerfile
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- test
|
|
|
|
- test
|
|
|
|