Commit Graph

27 Commits

Author SHA1 Message Date
surtur b3755bfd56
ci: use linux-amd64 stable tag
All checks were successful
continuous-integration/drone/push Build is passing
the tag's also moving but efforts are made to only push working code
there so it should do in terms of stability
2021-05-02 04:08:18 +02:00
surtur fe658e0daf
ci: switch kaniko to immawanderer/drone-kaniko
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-21 13:41:05 +02:00
surtur fe60a2fac4
ci: pin hadolint version
All checks were successful
continuous-integration/drone/push Build is passing
Since we were using the infamous latest tag, the version of hadolint
used changed on us transparently (1.x.x--> 2.x.x) that had breaking
changes (apparently), causing the builds to fail (without the sources
changing in any way) --> see https://drone.dotya.ml/wanderer/pwt-0x01-ng/292/1/5
I guess now we know why version pinning is called a *best practice*...
2021-03-29 12:42:51 +02:00
surtur 487c031566
chore: bump drone-kaniko version to 0.8.1
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-26 18:31:41 +01:00
surtur 704a9052b9
rename: pluginscache --> pkgcache 2021-02-07 22:13:15 +01:00
surtur e79fbd5d30
optim: let restore have its own step and use cache
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-07 21:38:41 +01:00
surtur bb189cac7f
feat: add hadolint Dockerfile linting
All checks were successful
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
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 67561303a4
feat: move to framework version 3.1
All checks were successful
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 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 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 5aa52dd687
chore: try out fresher drone-kaniko image
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-27 19:00:06 +01:00
surtur 63bde0a8b3
chore: specify context for kaniko
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-27 14:30:08 +01:00
surtur 6bec42d31c
feat: target 2.1.811 in global.json
Some checks reported errors
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 4b4e2c881a
fix: s/ENVs/plugin settings/
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-11-27 13:23:33 +01:00
surtur ee1a1bfa36
feat: instruct drone to build container images 2020-11-27 13:18:30 +01:00
surtur 1980f21769
fix: build with sdk image and rm sed-back
All checks were successful
continuous-integration/drone/push Build is passing
* rip me
2020-11-26 04:13:26 +01:00
surtur da093a2b78
refactor: sed back before release
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-26 04:09:38 +01:00
surtur d1c1978d36
refactor: merge pipelines again
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-26 04:06:24 +01:00
surtur 9c168e0538
refactor: rm sed from release build
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-11-26 04:04:07 +01:00
surtur f7710b1993
chore: move release build to separate pipeline
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-11-26 03:59:08 +01:00
surtur 75b97db29c
fix: release build failing
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-26 03:57:01 +01:00
surtur 673e4e9a63
fix: typo -C --> -c
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-26 03:55:06 +01:00
surtur 94a629cda1
fix: replace the tgt version in global.json
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-26 03:52:47 +01:00
surtur 608a62cb8a
fix: pipeline step properly added *after*
Some checks failed
continuous-integration/drone/push Build is failing
*
ea2d87cb06
has in fact replaced the previous step
2020-11-26 03:47:26 +01:00
surtur ea2d87cb06
chore: add 'build Release' pipeline step
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-26 03:45:34 +01:00
surtur 2c4ec740a2
chore: add drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2020-11-26 03:42:11 +01:00