Skip to content

Commit

Permalink
update deno.lock
Browse files Browse the repository at this point in the history
use pkgx instead of devbox

fix rtx

fix rtx

fix rtx

enable rtx debug

install unzip

fix bundler

fix bundler

install wget

set global java

set global java

install watchman

install ruby-dev

use fluentci-io images
  • Loading branch information
tsirysndr committed Oct 26, 2023
1 parent 4384b0b commit 65c634a
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 80 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,5 @@ jobs:
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Run Dagger Pipelines
run: |
rm ../deno.lock
dagger run deno run -A ../src/dagger/runner.ts buildRelease
run: dagger run deno run -A ../src/dagger/runner.ts buildRelease
working-directory: example
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ execLane(lane: String!, src: String!): String
You can also use this pipeline programmatically:

```ts
import { execLane } from "https://pkg.fluentci.io/fastlane_pipeline@v0.7.0/mod.ts";
import { execLane } from "https://pkg.fluentci.io/fastlane_pipeline@v0.7.1/mod.ts";

await execLane("buildRelease");
```
2 changes: 1 addition & 1 deletion ci.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { execLane } from "https://pkg.fluentci.io/fastlane_pipeline@v0.7.0/mod.ts";
import { execLane } from "https://pkg.fluentci.io/fastlane_pipeline@v0.7.1/mod.ts";

await execLane("buildRelease");
114 changes: 53 additions & 61 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { assertEquals } from "https://deno.land/std@0.191.0/testing/asserts.ts";
import Client from "https://sdk.fluentci.io/z1/mod.ts";
import Client from "https://sdk.fluentci.io/v0.2.0/mod.ts";
export default Client;

export {
Expand All @@ -8,9 +8,9 @@ export {
CacheSharingMode,
Container,
Directory,
} from "https://sdk.fluentci.io/z1/mod.ts";
} from "https://sdk.fluentci.io/v0.2.0/mod.ts";
export { brightGreen } from "https://deno.land/std@0.191.0/fmt/colors.ts";
export { withDevbox } from "https://nix.fluentci.io/zenith/src/dagger/steps.ts";
export { withDevbox } from "https://nix.fluentci.io/v0.5.2/src/dagger/steps.ts";
export { stringifyTree } from "https://esm.sh/stringify-tree@1.1.1";
import gql from "https://esm.sh/graphql-tag@2.12.6";
export { gql };
Expand Down
14 changes: 3 additions & 11 deletions src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,9 @@ export const execLane = async (name: string, src = ".") => {

const ctr = withEnv(withSrc(baseCtr, client, context))
.withEnvVariable("NODE_OPTIONS", "--max-old-space-size=4096")
.withExec(["sh", "-c", 'eval "$(devbox global shellenv)" && bun install'])
.withExec([
"sh",
"-c",
'eval "$(devbox global shellenv)" && bundle install',
])
.withExec([
"sh",
"-c",
`eval "$(devbox global shellenv)" && bundle exec fastlane android ${name}`,
]);
.withExec(["bun", "install"])
.withExec(["bundle", "install"])
.withExec(["bundle", "exec", "fastlane", "android", name]);

const result = await ctr.stdout();

Expand Down

0 comments on commit 65c634a

Please sign in to comment.