Vendor our StaticCode pkl package inside the project. (#3993)
* Vendor our StaticCode pkl package inside the project. * Update the Enterprise submodule.
This commit is contained in:
7
.github/workflows/unit_tests_enterprise.yml
vendored
7
.github/workflows/unit_tests_enterprise.yml
vendored
@@ -36,13 +36,6 @@ jobs:
|
||||
|
||||
- name: Setup environment
|
||||
run: source ci_scripts/ci_common.sh && setup_github_actions_environment
|
||||
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.pkl/cache
|
||||
key: ${{ runner.os }}-pkl-${{ hashFiles('Secrets/Secrets.pkl') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pkl-
|
||||
|
||||
- name: Configure Enterprise
|
||||
run: bundle exec fastlane config_element_pro
|
||||
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -38,3 +38,7 @@ build
|
||||
## macOS Files
|
||||
.DS_Store
|
||||
._*
|
||||
|
||||
# Only commit Pkl packages (there may be other caches in here).
|
||||
Secrets/vendor/*
|
||||
!Secrets/vendor/package-2
|
||||
|
||||
Submodule Enterprise updated: b04686d7cb...2c4b038f7a
@@ -7,7 +7,7 @@
|
||||
|
||||
// Analytics and Diagnostics
|
||||
|
||||
import "package://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.0#/StaticCode.pkl"
|
||||
import "package://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.1#/StaticCode.pkl"
|
||||
|
||||
sentryDSN: String? = read?("env:SENTRY_DSN")
|
||||
postHogHost: String? = read?("env:POSTHOG_HOST")
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "staticcode",
|
||||
"packageUri": "package://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.1",
|
||||
"version": "1.0.1",
|
||||
"packageZipUrl": "https://github.com/element-hq/pkl-tools/releases/download/staticcode@1.0.1/staticcode@1.0.1.zip",
|
||||
"packageZipChecksums": {
|
||||
"sha256": "4f89837d86c6228620cb1986bb7dd19fec8665a5932fca18348204f24ba3f004"
|
||||
},
|
||||
"dependencies": {},
|
||||
"authors": []
|
||||
}
|
||||
Binary file not shown.
@@ -429,6 +429,6 @@ end
|
||||
|
||||
lane :config_secrets do
|
||||
Dir.chdir "../Secrets" do
|
||||
sh("pkl eval -o Secrets.swift Secrets.pkl")
|
||||
sh("pkl eval --cache-dir vendor -o Secrets.swift Secrets.pkl")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user