Philip Nagler-Frank
e6cedceca2
remove redundant comment
2022-01-27 19:36:47 +01:00
Philip Nagler-Frank
a5643e3747
let Dependabot update Dockerfile dependencies
2022-01-27 19:35:45 +01:00
Philip Nagler-Frank
21f5e5b8b7
reference docker base image by sha digest
2022-01-27 19:34:32 +01:00
Philip Nagler-Frank
a87b5f9eab
Merge pull request #254 from lineageos4microg/revert_174
...
Revert 174
2022-01-27 19:14:15 +01:00
Damiano Renfer
c4383fdfa4
Update build.sh, split brunch
command
...
Splitting `brunch` into `breakfast` (before `pre-build.sh`) and
`mka bacon` allows us to apply patches (especially for
`/srv/src/device/*`) from `pre-build.sh`.
2022-01-27 18:59:18 +01:00
Philip Nagler-Frank
a1255785de
Revert "Merge pull request #212 from CyberShadow/pull-20210814-073027"
...
This reverts commit 1d05824958441f0e1cb90f09ec53086b835b093d, reversing
changes made to 95d75b66135b60ae9fd02bcfdd5e9caaf32a42d2.
2022-01-27 18:59:11 +01:00
Philip Nagler-Frank
1a3ad5a03e
Revert "Merge pull request #252 from damianorenfer/master"
...
This reverts commit 9af76d1a5e9f8ff442fdeaf963f7cf1385bd4b09, reversing
changes made to 1d05824958441f0e1cb90f09ec53086b835b093d.
2022-01-27 18:59:04 +01:00
Bradley
0ca6c479ee
Build Type on breakfast
2022-01-26 08:17:01 +10:00
Bradley
310d92a5b1
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# src/build.sh
2022-01-26 08:11:29 +10:00
Philip Nagler-Frank
9af76d1a5e
Merge pull request #252 from damianorenfer/master
...
[Feature] Update build.sh, split `brunch` command
2022-01-25 19:14:29 +01:00
Philip Nagler-Frank
d99bcbd3f3
Merge branch 'master' into master
2022-01-25 19:14:23 +01:00
Philip Nagler-Frank
1d05824958
Merge pull request #212 from CyberShadow/pull-20210814-073027
...
Shell correctness improvements
2022-01-25 19:12:11 +01:00
Philip Nagler-Frank
95d75b6613
Merge pull request #251 from lineageos4microg/dependabot/github_actions/docker/build-push-action-2.8.0
...
Bump docker/build-push-action from 2.7.0 to 2.8.0
2022-01-25 19:01:44 +01:00
Damiano Renfer
e35f94822b
Update build.sh, split brunch
command
...
Splitting `brunch` into `breakfast` (before `pre-build.sh`) and
`mka bacon` allows us to apply patches (especially for
`/srv/src/device/*`) from `pre-build.sh`.
2022-01-21 09:32:24 +01:00
dependabot[bot]
2f722a108b
Bump docker/build-push-action from 2.7.0 to 2.8.0
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](a66e35b9cb...1814d3dfb3
)
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 13:15:15 +00:00
Bradley
c0fc887aa4
Include build type param
2021-12-26 18:47:29 +10:00
Philip Nagler-Frank
227ed92f51
Merge pull request #240 from lineageos4microg/dependabot/github_actions/docker/login-action-1.12.0
...
Bump docker/login-action from 1.10.0 to 1.12.0
2021-12-21 18:07:00 +01:00
dependabot[bot]
9ca1ba88d7
Bump docker/login-action from 1.10.0 to 1.12.0
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.10.0 to 1.12.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](f054a8b539...42d299face
)
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 13:15:31 +00:00
Philip Nagler-Frank
87583531b2
declare proper language for code snippets in readme
2021-12-13 17:12:10 +01:00
Philip Nagler-Frank
92d4cbeffa
update readme on how to include GMS
2021-12-13 17:11:49 +01:00
Philip Nagler-Frank
0278cfa960
Merge pull request #237 from lineageos4microg/dependabot/github_actions/docker/metadata-action-3.6.2
...
Bump docker/metadata-action from 3.6.1 to 3.6.2
2021-12-09 10:48:21 +01:00
dependabot[bot]
9c3a8a07cf
Bump docker/metadata-action from 3.6.1 to 3.6.2
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](a2e02890a0...e5622373a3
)
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-07 13:14:13 +00:00
Philip Nagler-Frank
fb77921133
Merge pull request #235 from lineageos4microg/dependabot/github_actions/docker/metadata-action-3.6.1
...
Bump docker/metadata-action from 3.6.0 to 3.6.1
2021-12-01 11:07:09 +01:00
dependabot[bot]
26d4ef3d14
Bump docker/metadata-action from 3.6.0 to 3.6.1
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](548e2346a9...a2e02890a0
)
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 13:16:23 +00:00
Philip Nagler-Frank
8edd34c265
Merge pull request #225 from lineageos4microg/dependabot/github_actions/docker/metadata-action-3.6.0
...
Bump docker/metadata-action from 3.5.0 to 3.6.0
2021-10-27 08:16:27 +02:00
dependabot[bot]
c1403bdb16
Bump docker/metadata-action from 3.5.0 to 3.6.0
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](3a3bb3a817...548e2346a9
)
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 13:16:34 +00:00
Philip Nagler-Frank
7ddff6821d
Merge pull request #214 from lineageos4microg/dependabot/github_actions/docker/metadata-action-3.5.0
...
Bump docker/metadata-action from 3.4.1 to 3.5.0
2021-08-24 14:31:11 +02:00
Philip Nagler-Frank
db36bf3675
Merge pull request #215 from lineageos4microg/dependabot/github_actions/docker/build-push-action-2.7.0
...
Bump docker/build-push-action from 2.6.1 to 2.7.0
2021-08-24 14:31:01 +02:00
dependabot[bot]
49d5ce5334
Bump docker/build-push-action from 2.6.1 to 2.7.0
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](1bc1040cae...a66e35b9cb
)
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 13:14:51 +00:00
dependabot[bot]
ed18a14dcd
Bump docker/metadata-action from 3.4.1 to 3.5.0
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](8b842e721d...3a3bb3a817
)
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 13:14:46 +00:00
Vladimir Panteleev
b0bd7d5330
.github/workflows/shellcheck.yml: Initial commit
...
Add a GitHub Actions workflow to lint shell scripts with ShellCheck,
to help ensure that problems fixed in previous commits do not creep
back in.
2021-08-14 11:53:00 +00:00
Vladimir Panteleev
ff69cbdc2f
Enable bash strict mode
...
Ensure scripts do not continue in case of an unforeseen error.
Continuing after an error may lead to a critical step of the process
being skipped, thus silently producing the wrong result.
Related changes:
- Remove two explicit exit code checks, as this checking is now done
implicitly by the shell.
- Remove the over-zealous trap specification in make_key.
The EXIT trap already fires on INT/QUIT signals.
- Remove the 'exit 1' statement in make_key.
The exit code is already propagated on error.
- Switch boolean expression order in make_key to make use of
short-circuit evaluation (and thus only evaluate $3 if it is set).
- Overwrite existing symlinks when linking signing keys
- Ignore SIGPIPE from `yes`
- Explicitly allow DEVICE_LIST_xxx variable to be empty
- Remove '|| exit' clauses (these had been added only to "cd"
commands, in response to a ShellCheck warning); these are now
redundant
- Temporarily disable strict mode flags when invoking Android build
scripts and functions, as these are incompatible with them
2021-08-14 11:33:45 +00:00
Vladimir Panteleev
0d9466b2e4
Address ShellCheck warnings
...
In practice:
- Fix mangling of backslashes when reading password from keyboard
- Fix generating keys with filenames containing special characters
- Avoid unnecessary sed invocations
Also address remaining pedantic fixes.
SC2181 is not addressed in this commit, as it will be addressed
elsewhere ("Enable bash strict mode").
2021-08-14 11:33:38 +00:00
Philip Nagler-Frank
7db93ab20e
Merge pull request #199 from lineageos4microg/dependabot/github_actions/docker/build-push-action-2.6.1
...
Bump docker/build-push-action from 2.5.0 to 2.6.1
2021-08-09 16:29:09 +02:00
Philip Nagler-Frank
1a745a5435
Merge pull request #191 from lineageos4microg/dependabot/github_actions/docker/login-action-1.10.0
...
Bump docker/login-action from 1.9.0 to 1.10.0
2021-08-09 16:28:58 +02:00
Philip Nagler-Frank
4ac105b30d
Merge pull request #205 from lineageos4microg/dependabot/github_actions/docker/metadata-action-3.4.1
...
Bump docker/metadata-action from 3.3.0 to 3.4.1
2021-08-09 16:28:43 +02:00
Philip Nagler-Frank
70b668f26b
Merge pull request #206 from Ammako/openjdk-8-tls
...
Re-enable TLSv1/TLSv1.1 in OpenJDK 8 config
2021-08-09 16:28:19 +02:00
Ammako
0388a875ba
Fix mistake
2021-07-30 08:46:07 -04:00
Ammako
8c1c440aa7
Move logic back to Dockerfile
...
Improved to avoid issues in the future
2021-07-30 08:43:35 -04:00
Ammako
68e57b904c
Only enable TLSv1/TLSv1.1 at runtime
...
Only for cm-14.1 and lineage-15.1 branches
2021-07-24 08:45:54 -04:00
Ammako
86086d50b2
Merge branch 'lineageos4microg:master' into openjdk-8-tls
2021-07-24 06:32:44 -04:00
Ammako
17b897e716
Re-enable TLSv1/TLSv1.1 in OpenJDK 8 config
...
Fixes building 14.1, should also fix building 15.1
2021-07-23 22:35:01 +00:00
dependabot[bot]
9d28416c08
Bump docker/metadata-action from 3.3.0 to 3.4.1
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](98669ae865...8b842e721d
)
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 13:14:11 +00:00
dependabot[bot]
d007dbe665
Bump docker/build-push-action from 2.5.0 to 2.6.1
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](ad44023a93...1bc1040cae
)
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 13:16:40 +00:00
dependabot[bot]
9a40e4180f
Bump docker/login-action from 1.9.0 to 1.10.0
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](28218f9b04...f054a8b539
)
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 18:42:07 +00:00
Philip Nagler-Frank
ade044d8f3
Merge pull request #192 from martin-v/patch-1
...
PR `push` should not trigger a docker push
2021-06-23 20:41:29 +02:00
Martin Vietz
2b3e77ce16
PR push
should not trigger a docker push
2021-06-23 15:36:27 +00:00
Philip Nagler-Frank
4011dff6d3
Merge pull request #189 from martin-v/master
...
Add docker build/push based on github action
2021-06-21 09:15:34 +02:00
Martin Vietz
470e3574a4
Add dependabot config to update github actions
2021-06-19 01:19:00 +02:00
Martin Vietz
820c469083
Add docker build/push based on github action
2021-06-19 01:06:36 +02:00