surtur
bb189cac7f
feat: add hadolint Dockerfile linting
...
continuous-integration/drone/push Build is passing
commit 5acb4e2ba773d312c6b5159011ef415af53f8f71
Author: surtur <a_mirre@utb.cz>
Date: Tue Jan 26 16:28:10 2021 +0100
chore: rework ci pipeline logic
* run {debug,release} builds after clone, then lint Dockerfile{,.dev}
and finally run kaniko builds ({debug,release}) in parallel
commit 1e16f72eb4957b14c7fb316282d4cefae0811871
Author: surtur <a_mirre@utb.cz>
Date: Tue Jan 26 16:19:50 2021 +0100
feat: add hadolint Dockerfile linting
to conform the linter and best practices:
* add a FROM alias
* quote variables (even though they're single-word and known in
advance, might actually change it to ignore the warning)
2021-01-26 17:35:44 +01:00
surtur
b0669f65c0
chore: target 3.1.* + connected simplification
...
continuous-integration/drone/pr Build is passing
* global.json sdk value will now match 3.1.whatever
* rm the now-redundant sed both from the ci pipeline and Dockerfile*
* limit ci pipeline runs to single build for an event. e.g. on a pr,
run a single build instead of both a pr build and a push build
* edit Makefile to force --no-cache builds
2020-12-26 17:26:11 +01:00
surtur
82d075dd01
feat: switch to rootless runs + refactor
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
* build as root but run the container as UID/GID 1000
* db expose only on localhost
* docker-compose mount $PWD for easy local debugging
2020-12-15 22:47:08 +01:00
surtur
67561303a4
feat: move to framework version 3.1
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
* lots of pertaining changes
* again solving global.json version mismatch with sed
* correctly specify db creds via dc env
2020-12-15 15:04:28 +01:00
surtur
8a628a890b
chore: change build output paths + publish
...
continuous-integration/drone/push Build is passing
* ./bin/ is in .gitignore so output build stuff there
* dotnet build --> dotnet publish for release build
2020-12-06 00:01:33 +01:00
surtur
60586f4d68
refactor: optimize Dockerfiles for quicker builds
continuous-integration/drone/push Build is passing
2020-12-05 22:28:19 +01:00
surtur
e64d137b2a
merge: bring in kaniko builds
...
commit 3a155798a9
Author: surtur <a_mirre@utb.cz>
Date: Wed Dec 2 03:08:12 2020 +0100
rm: get rid of unused launch settings
[skip ci]
commit 3f775a110b
Author: surtur <a_mirre@utb.cz>
Date: Sun Nov 29 21:08:11 2020 +0100
fix: clean build after restore
* this fixes occasional situation when NuGets have not been restored yet
but the clean build already running required them, which resulted a
failed build
commit 42c6dfd3ba
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 20:05:30 2020 +0100
chore: update make kaniko
* skip ci
commit 1cc3df6619
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 18:58:48 2020 +0100
chore: rm debug ls call
skip ci
commit befe7880fc
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 18:58:27 2020 +0100
revert: set kaniko context back to "."
skip ci
commit 15d7de1996
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 18:58:06 2020 +0100
chore: add make kaniko
* skip ci
commit 5ed341f4ae
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 17:13:27 2020 +0100
refactor: merge pipelines back
commit 732cd7d717
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 17:12:39 2020 +0100
chore: don't wait and build
commit 11a9ab07ab
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 17:11:08 2020 +0100
revert: kaniko don't give a **** about relpaths
commit a581457326
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 16:23:28 2020 +0100
debug: see where we are
commit 1ef9a6831f
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:58:50 2020 +0100
chore: try /src workspace for kaniko
commit 11d796f0dd
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:30:21 2020 +0100
chore: add /src context for kaniko
commit 4b58c3f584
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:22:18 2020 +0100
fix: rel paths are nicer to kaniko
commit 63601f7f47
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:16:57 2020 +0100
chore: run wherever
commit 54fb45ec65
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:06:42 2020 +0100
refactor: effectively revert 907a470
and 63bde0a
commit eece1e3dba
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 14:52:23 2020 +0100
chore: move dockerbuilds to a separate pipeline
* and run them on the main runner
commit 907a4702d8
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 14:47:03 2020 +0100
chore: give kaniko relative paths in Dockerfile
2020-12-02 03:09:34 +01:00
surtur
6bec42d31c
feat: target 2.1.811 in global.json
...
continuous-integration/drone/push Build was killed
* as a consequence, all occurences of target version sed replacement
could be removed - from Dockerfiles as well as .drone.yml
2020-11-27 13:48:06 +01:00
surtur
7590d4478f
chore: rm binding to a specific project name
...
* i.e. restore all
2020-11-27 13:06:05 +01:00
surtur
6e267e702b
feat: add Dockerfile.dev + update Makefile
...
* this allows us to use a separate Dockerfile for debug builds
* new Makefile targets have been added and definitions have been
somewhat simplified
2020-11-26 02:23:50 +01:00