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:
Doug
2025-04-08 11:23:54 +01:00
committed by GitHub
parent f7d574291d
commit 3547777a02
7 changed files with 18 additions and 10 deletions
@@ -37,13 +37,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
View File
@@ -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
+1 -1
View File
@@ -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": []
}
+1 -1
View File
@@ -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