Commit graph

52 commits

Author SHA1 Message Date
Łukasz Domeradzki
64db3f4c09
Misc
https://docs.docker.com/reference/build-checks/redundant-target-platform/
2024-10-20 23:59:02 +02:00
Łukasz Domeradzki
9a26366ff8
Misc 2024-06-25 00:34:13 +02:00
Łukasz Domeradzki
0058bc6fa5
Move dockerfiles from legacy KV format
https://docs.docker.com/reference/build-checks/legacy-key-value-format/
2024-06-25 00:32:15 +02:00
Łukasz Domeradzki
d2f43e4e50
CI: Misc 2024-05-29 14:28:18 +02:00
Łukasz Domeradzki
1b4ac9da8b
Squashed commit of the following:
commit 2f206cd822f615ad215c6e09f83ceb653c0dbd75
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Wed Apr 24 20:16:24 2024 +0200

    Further improvements

commit 66b60c028c652db1644c3efd400dd00f6559ba40
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Wed Apr 24 20:00:13 2024 +0200

    Try new heredoc syntax
2024-04-24 20:27:22 +02:00
Łukasz Domeradzki
1c7523e98e
Modernize docker builds, add attestations 2024-04-18 01:46:49 +02:00
Łukasz Domeradzki
10986289e6
Make --process-required default, add ShutdownIfPossible instead 2024-04-17 12:02:26 +02:00
Łukasz Domeradzki
b58469ce40
Fix occassional failures by not publishing plugins in parallel 2024-03-26 17:12:50 +01:00
Łukasz Domeradzki
30092cc326
Squashed commit of the following:
commit a5dd19643edd71ba3bcf9d120cc0ef20c1904104
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 03:43:50 2024 +0100

    How about this one

commit 7f44554a5433931339dc479a6101f942c5d5fb97
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 03:14:04 2024 +0100

    Here as well

commit 8593cd169949dc5876c1a3c4e4561d2ca38d7350
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 03:13:36 2024 +0100

    Okay

commit 9d17fee1f8f9bd3ae91f144761885d10e52b67ae
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 03:08:49 2024 +0100

    Restore everything first

commit 2835332dabf17a9dcdea3fc4f75e0c650add622c
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 03:00:33 2024 +0100

    Ah right

commit 85e2db40c8d6c184e5732724ea928486456767e4
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 02:59:31 2024 +0100

    And this?

commit 974cffb61782a4dbc83dfd93a66a627a69d04fd9
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 02:33:52 2024 +0100

    Docker improvements

commit 95f40803615f7056f59a522b068600dfbb87b4de
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 02:22:30 2024 +0100

    Misc

commit 0f5b526c603d5cfe0f29b4f4b8420d01f76161fc
Author: Łukasz Domeradzki <JustArchi@JustArchi.net>
Date:   Tue Mar 26 02:09:42 2024 +0100

    Make bundled plugins variant-specific

    Since we're including them as part of OS-specific builds, we can also limit their dependencies to those OSes exclusively.

    Might help cut some unnecessary dependencies.
2024-03-26 04:42:31 +01:00
Łukasz Domeradzki
e6021a4f11
Misc 2024-03-26 00:36:04 +01:00
Archi
7899829dc7
Refactor docker containers to use /asf
In order to keep compatibility with existing containers, we'll use the same paths for user-related overrides, that is, /app/config, /app/logs or /app/plugins. Instead, the only thing we'll do is moving ASF away from /app to new /asf directory, which will hopefully limit amount of screwups that users are doing within existing /app directory.

Also while at it, add symlink for a bit better integration.
2024-02-05 16:26:54 +01:00
Archi
f036e99450
Misc
Specifying target framework should no longer be needed, as we have only one left
2023-12-20 18:46:19 +01:00
Łukasz Domeradzki
b34f18497d
.NET 8 (#3005)
* Initial .NET 8

* Make it compile in release mode ignoring warnings for now

* First round of improvements

* Second round of improvements

* Third round of improvements

* Use new throws

* Fix .NET Framework, YAY, thanks madness!

Madness devs are awesome

* Misc

* Misc

* AF_NETLINK might be required for some http calls

No clue why

* Fix service files

Doesn't do what it should

* Update CardsFarmer.cs

* New improvements

* Address feedback

* Misc

* Misc

* Misc refactor

* Misc
2023-11-14 19:12:33 +01:00
Łukasz Domeradzki
a12c11d334
Add ArchiSteamFarm.OfficialPlugins.MobileAuthenticator (#2822)
* Initial commit for 2FA plugin

* Shut up netf

* Actually import this authenticator right into ASF, and add safeguards

* Further fixes

* Render device_id in the resulting maFile
2023-02-10 00:37:26 +01:00
Archi
a6fee29094
Simplify dockerfiles 2022-12-19 22:50:25 +01:00
Łukasz Domeradzki
98ef37e722
Extract PublicListing and MatchActively to a plugin, resurrect MatchActively (#2759)
* Start work on extracting remote communication

* ok

* Dockerfile fixes

* More fixes

* Prepare /Api/Announce and /Api/HeartBeat

* Decrease publish race conditions

* OK

* Misc

* Misc

* Misc

* Move Steam group part back to ASF core

* Finally implement match actively v2 core

* Update RemoteCommunication.cs

* Use single round exclusively, report inventories more often

* Use randomization when asking others for assetIDs

* Add support for license and crowdin

* Kill dead code

* Fix return type of inventories

* Fix responses for good

* Unify old backend with new

* Report whole inventory, always

Helps with optimization on the backend side in terms of inventory fetching

* Update RemoteCommunication.cs

* Determine index of each asset and tell server about it

* Update AnnouncementRequest.cs

* Fix ASF screwing up with the order

* Fix warnings

* Misc rename

* Final logging touches
2022-12-15 18:46:37 +01:00
Łukasz Domeradzki
8bf2504acf
.NET 7 (#2733)
* Initial changes to target .NET 7

* Update Directory.Build.props

* Update publish.yml

* Limit max publish jobs further
2022-11-14 23:38:56 +01:00
JustArchi
56754053c3
Correct overlay for dockerfiles 2022-07-21 10:41:35 +02:00
JustArchi
21a5793c45
Take into account that git is special snowflake 2022-07-15 21:45:18 +02:00
Łukasz Domeradzki
ceb021dbdf
Use windows-latest runner again (#2547)
* Attempt at resolving https://github.com/actions/virtual-environments/issues/5189

* Clean up dockerfiles from no longer required workarounds
2022-04-04 22:06:03 +02:00
lrcf
d06afa26d4
LICENSE-2.0.txt > LICENSE.txt (#2539) 2022-03-16 16:41:08 +01:00
Archi
566be6e8c4
Use --self-contained and --no-self-contained as recommended by .NET 6.0 docs 2021-11-10 19:39:04 +01:00
Łukasz Domeradzki
0eee21360d
.NET 6.0 (#2388)
* Bump non-source files to net6.0

* Correct .NET 6.0 warnings

* Correct CI

* Correct linking errors

Not much I can do about them ATM

* Remove TrimmerRoots

At least runtime is no longer needed for our STD plugin, not sure about the dictionary

* Correct cc.sh

* Revert "Remove TrimmerRoots"

This reverts commit 11f603d3d6.

* First round of cat & mice game

* Update Directory.Build.props

* Update Startup.cs

* Update Startup.cs

* Update Startup.cs

* Fix new warnings

* Update SDK

* Address netf error

* Update Directory.Packages.props
2021-11-08 23:41:02 +01:00
Archi
b0b7184be5
Revert "Update mcr.microsoft.com/dotnet/aspnet Docker tag to v5.0"
This reverts commit 8533b79c22.
2021-11-01 12:15:10 +01:00
Renovate Bot
8533b79c22
Update mcr.microsoft.com/dotnet/aspnet Docker tag to v5.0 2021-11-01 06:21:22 +00:00
Archi
618ff781eb
Use ASF user account inside docker 2021-10-17 16:19:07 +02:00
Archi
a40bb74d35
CI: Enable build also for debug configuration
With more and more conditionals depending on the configuration it starts making sense to build and test also debug build (it was broken for a short while)
2021-08-01 13:11:51 +02:00
Archi
a785acf416
Use /bin/sh as entrypoint in docker containers
This way we can avoid a potential update process corruption which happened e.g. at https://github.com/JustArchiNET/ArchiSteamFarm/issues/2382
2021-07-24 00:29:22 +02:00
Archi
dad474c8bf
Fix docker builds 2021-07-11 01:58:11 +02:00
Archi
c73a12bf49
Speed up docker builds
That dotnet clean is not needed here, and building STD plugin when not having a token is stupid
2021-05-21 00:30:16 +02:00
Archi
feb73a94aa
Misc dockerfile update 2021-05-20 23:36:25 +02:00
JustArchi
33643bcaf2 CI: Add support for lock files 2021-05-09 01:57:49 +02:00
JustArchi
4f3aa4f8f6 Fix docker build 2021-05-06 17:20:47 +02:00
JustArchi
ecec08af9f Fix docker build... 2021-05-02 14:56:30 +02:00
JustArchi
e00e615b02 Misc 2021-01-06 20:43:51 +01:00
JustArchi
71f3dd5e5c Add opencontainers labels to docker images 2021-01-02 18:33:16 +01:00
JustArchi
bf21280cf7 Add IMAGESUFFIX to dockerfiles 2021-01-02 17:03:11 +01:00
Łukasz Domeradzki
e5efb86bd2
CI updates related to Docker containers (#2112)
* Initial commit trying to get ghcr running

* Move to v2

* Add lowercasing

* Replace docker hub worker

* Update

* Attempt to solve .net limitations

* Correct platforms

* Update docker-publish-master.yml

* Add remaining docker tags

* Add automatic DockerHub repo description update
2021-01-02 14:49:03 +01:00
Łukasz Domeradzki
35f4651ed6
.NET 5.0 (#1999)
* Initial work

* Fix CIs

* Fix warnings

* Update .travis.yml

* Update dockerfiles

* Update libraries to .NET 5.0

* Misc

* Remove workaround for #1812

* Update cc.sh

* CI updates

* CI updates

* Update .travis.yml
2020-11-10 23:22:57 +01:00
JustArchi
0b16fe486a Misc 2020-09-28 21:46:17 +02:00
JustArchi
267f7b1e53 Closes #1862 2020-06-24 19:34:39 +02:00
JustArchi
84ec2b7b26 Don't use a volume for plugins 2020-06-14 01:51:50 +02:00
JustArchi
4a6480d223 Misc docker fixes 2020-06-14 01:36:04 +02:00
Sandro
017b26986b
Fix Docker Image building with Steam Token Dumper, unify different Arches into one Dockerfile (#1845)
* Pass STEAM_TOKEN_DUMPER_TOKEN as --build-arg

* Unify different ARCHs Dockerfiles
2020-06-14 01:17:08 +02:00
JustArchi
0d6f0c788b Closes #670 2017-10-11 21:25:34 +02:00
JustArchi
f210499874 Improve docker args 2017-10-08 15:08:15 +02:00
JustArchi
685e52d53f Docker: make it possible to pass arguments 2017-10-07 19:54:23 +02:00
JustArchi
8fa58a4841 Docker enhancements 2017-10-07 17:26:08 +02:00
JustArchi
8e322b3632 Closes #661 2017-10-07 01:39:21 +02:00
JustArchi
a931b11d9a One more Dockerfile fix 2017-10-07 00:16:32 +02:00