Commit Graph

16 Commits

Author SHA1 Message Date
surtur 0741deaff9
chore: change compose targets
* update Makefile and README
* [skip ci]
2021-01-23 14:25:24 +01:00
surtur df9f0b36c4
merge: bring in feature-netcore-scaffolding-pain
All checks were successful
continuous-integration/drone/push Build is passing
commit 34664fc9f3876605001b4c5294d3350a136f2997
Author: surtur <a_mirre@utb.cz>
Date:   Thu Dec 31 01:18:05 2020 +0100

    chore: edit the scaffolded views to use our layout

commit 6816006c09b5a3d79c489e3c27d7081b83e6195e
Author: surtur <a_mirre@utb.cz>
Date:   Thu Dec 31 01:14:17 2020 +0100

    chore: update Makefile "run" target+added targets

    * pgdba - start a dev db container in background
    * pgdbz - stop the dev db image
    * docker run db img args are configured via variables as seen fit
    * run is now more of a "watch run"

commit f1d87345ac2d7d9ce854a6c8bb37731ff0f8805c
Author: surtur <a_mirre@utb.cz>
Date:   Thu Dec 31 01:12:41 2020 +0100

    chore: add {OrderItem,Order} links to navbar

commit c214cf4fe6625ad312275432a8883a01e37f9cf0
Author: surtur <a_mirre@utb.cz>
Date:   Wed Dec 30 13:37:34 2020 +0100

    chore: add netcore-scaffolded controllers+views

    * Templates folder of the vs.web.codegenerators pkg (v3.1.4) had to be
      temporarily copied to the project directory for the scaffolding to
      work; unnecessary template folders had to be removed prior to running
      scaffold command
    * restored pkgs and clean built, then scaffolded using (var set for
      trace output of the command):
      make restore clean build; codegen_trace=1 dotnet-aspnet-codegenerator controller -p "." -actions --force -name OrdersController -dc pwt_0x01_ng.Models.Database.DBContext -async -m pwt_0x01_ng.Models.Order -namespace pwt_0x01_ng.Areas.Admin.Controllers -outDir Areas/Admin/Controllers --no-build
      make restore clean build; codegen_trace=1 dotnet-aspnet-codegenerator controller -p "." -actions --force -name OrderItemController -dc pwt_0x01_ng.Models.Database.DBContext -async -m pwt_0x01_ng.Models.OrderItem -namespace pwt_0x01_ng.Areas.Admin.Controllers -outDir Areas/Admin/Controllers --no-build
2020-12-31 02:01:45 +01:00
surtur b0669f65c0
chore: target 3.1.* + connected simplification
All checks were successful
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 1489069c5c
chore: update Makefile - add dcdevrun target
All checks were successful
continuous-integration/drone/pr Build is passing
* [skip ci]
2020-12-15 15:28:11 +01:00
surtur b10dc1078b
chore: Makefile:add test target; update .drone.yml
* test target to test build all the goodies
* rm dotnet clean from the build pipeline to match what is being built
  inside docker
* [skip ci]
2020-12-05 22:34:45 +01:00
surtur de466c8422
fix: typo - pruneargs contained a dot (.)
[skip ci]
2020-12-02 03:43:34 +01:00
surtur 76235b7ef8
chore: add prune target and refactor kaniko stuff
[skip ci]
2020-12-02 03:39:58 +01:00
surtur 6b3601ee0b
refactor: clean up Makefile vars
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-02 03:31:56 +01:00
surtur 37e93a9d95
chore: specify .PHONY targets [skip ci] 2020-12-02 03:15:10 +01:00
surtur 8b60e35627
chore: print out the target commands 2020-12-02 03:13: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 ea2c3987ab
feat: add container metadata when make dockerbuild
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-11-27 13:51:51 +01:00
surtur fb69be9d09
chore: add dockertest target
* makes things easier
2020-11-27 13:36:08 +01:00
surtur 2cf282bb51
feat: add multistage release dockerbuilds
Some checks reported errors
continuous-integration/drone/push Build was killed
* this makes the whole thing self-sufficient - i.e. no more reliance on
  host's dotnet, everything is pulled during the build process

* makefile has been updated to reflect this change so that
  the 'dockerbuild' target is no longer dependent on 'releasebuild' target
2020-11-27 13:27:37 +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
surtur 515ba2666d
feat: add a Makefile (because why not) 2020-11-26 00:25:03 +01:00