diff --git a/.dagger/env/dev/.gitignore b/.dagger/env/dev/.gitignore deleted file mode 100644 index 01ec19b0..00000000 --- a/.dagger/env/dev/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# dagger state -state/** diff --git a/.dagger/env/dev/plan/main.cue b/.dagger/env/dev/plan/main.cue deleted file mode 100644 index dbc5dfc7..00000000 --- a/.dagger/env/dev/plan/main.cue +++ /dev/null @@ -1,61 +0,0 @@ -// A dagger workflow to develop dagger -package main - -import ( - "alpha.dagger.io/dagger" - "alpha.dagger.io/os" - "alpha.dagger.io/go" -) - -// Dagger source code -source: dagger.#Artifact @dagger(input) - -test: { - // Go unit tests - unit: { - logs: (os.#File & { - from: build.ctr - path: "/test.log" - read: format: "string" - }).read.data - } - - // Full suite of bats integration tests - integration: { - // FIXME - } -} - -// Build the dagger binaries -build: { - ctr: go.#Container & { - "source": source - setup: [ - "apk add --no-cache file", - ] - command: """ - go test -v ./... > /test.log - go build -o /binaries/ ./cmd/... > /build.log - """ - } - - binaries: os.#Dir & { - from: ctr - path: "/binaries" - } - - logs: (os.#File & { - from: ctr - path: "/build.log" - read: format: "string" - }).read.data -} - -// Execute `dagger help` -usage: os.#Container & { - command: "dagger help" - - let binpath = "/usr/local/dagger/bin" - mount: "\(binpath)": from: build.binaries - shell: search: "\(binpath)": true -} diff --git a/.dagger/env/dev/values.yaml b/.dagger/env/dev/values.yaml deleted file mode 100644 index 78b088a7..00000000 --- a/.dagger/env/dev/values.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: dev -inputs: - source: - dir: - path: . - include: [] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age1ez5phfa2l6e9fqt4nnem734jajg4nlcefhv3ydeltzjlele47ags34868h - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA4c0xSL1hJZmtsejN0dGpM - OCtpNFdLK0ZUdlc2YXBQV1RaazFpcERSOG5BClZzZGR3YllQODk5dGp5akpxVkhM - YUFxODJVeG1XbHl1WEVmNkMwREdldkkKLS0tIGNDVzNkak9UMnVyQkRHN3Q0TjZz - TWhsS0NUcU5ac0YrQjdmM0dlcEdRYWMKqUO/A83KsECVW+hSgVLTkIuK11VX3T77 - fBSXL9D+riW9Q/TCKP0uMVulGnqZF4OoHAzLCug7aV6AEszpeSWyjg== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2021-05-25T00:31:59Z" - mac: ENC[AES256_GCM,data:CMrCKRLDHc/o18zlVc/nwin1d14y2ruhk4i3mL/jtzDVeXDusJpelcgYAsNvKdhXU1v/gl1P4fINzQ4zc6t3krWW80UQFXBSZ1c2EJThKzVQfKFOwr3Fg3FyTm3zeX9Lk4e8z1SFmBj08k3jxr1xtdKwPKLmYN8e37cOy0bT97c=,iv:ffvYUpDxFLCyCynEVkFkBHCsp4HzLFcabiSjuCM0r40=,tag:ZwjW3qB8XcIvF+GoHjsbaQ==,type:str] - pgp: [] - encrypted_suffix: secret - version: 3.7.1 diff --git a/.dagger/env/docs/.gitignore b/.dagger/env/docs/.gitignore deleted file mode 100644 index 01ec19b0..00000000 --- a/.dagger/env/docs/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# dagger state -state/** diff --git a/.dagger/env/docs/plan/cue.mod/module.cue b/.dagger/env/docs/plan/cue.mod/module.cue deleted file mode 100644 index f8af9cef..00000000 --- a/.dagger/env/docs/plan/cue.mod/module.cue +++ /dev/null @@ -1 +0,0 @@ -module: "" diff --git a/.dagger/env/docs/plan/cue.mod/pkg/.gitignore b/.dagger/env/docs/plan/cue.mod/pkg/.gitignore deleted file mode 100644 index 8e3152ec..00000000 --- a/.dagger/env/docs/plan/cue.mod/pkg/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# generated by dagger -dagger.lock -dagger.io -universe.dagger.io \ No newline at end of file diff --git a/.dagger/env/docs/plan/main.cue b/.dagger/env/docs/plan/main.cue deleted file mode 100644 index e5a100f8..00000000 --- a/.dagger/env/docs/plan/main.cue +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "alpha.dagger.io/dagger" - "alpha.dagger.io/js/yarn" - "alpha.dagger.io/netlify" -) - -// dagger repository -repository: dagger.#Artifact @dagger(input) - -// Build the docs website -docs: yarn.#Package & { - source: repository - cwd: "website/" - buildDir: "website/build" - env: { - OAUTH_ENABLE: "true" - REACT_APP_OAUTH_SCOPE: "user:email" - REACT_APP_GITHUB_AUTHORIZE_URI: "https://github.com/login/oauth/authorize?client_id=${REACT_APP_CLIENT_ID}&scope=${REACT_APP_OAUTH_SCOPE}&allow_signup=false" - REACT_APP_DAGGER_SITE_URI: "https://dagger.io" - REACT_APP_API_PROXY_ENABLE: "true" - } -} - -// Deploy the docs website -site: netlify.#Site & { - name: string | *"docs-dagger-io" @dagger(input) - contents: docs.build -} diff --git a/.dagger/env/docs/values.yaml b/.dagger/env/docs/values.yaml deleted file mode 100644 index b906c082..00000000 --- a/.dagger/env/docs/values.yaml +++ /dev/null @@ -1,39 +0,0 @@ -plan: - module: .dagger/env/docs/plan -name: docs -inputs: - docs.env.REACT_APP_CLIENT_ID: - text: 1a6d02cb59199eb205ef - docs.env.REACT_APP_CLIENT_SECRET: - text: 47a1a67abc8d3fe9edb829a6c7775fbad47f47bb - repository: - dir: - path: . - exclude: - - '**/node_modules' - - cmd/dagger/dagger - - cmd/dagger/dagger-debug - site.account.name: - text: blocklayer - site.account.token: - secret: ENC[AES256_GCM,data:jPJ8N6cAmtYnQh2SyhM9bQGfkhz777S4fyPDm2YhujwgXH6EogN2Uyw6Ew==,iv:gDchoJYLdQ8IPxrUUIsQ9s2f12JOhh7p573DwOIV2zE=,tag:okatHyjVGPGNOt+aw4iUHg==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age1gxwmtwahzwdmrskhf90ppwlnze30lgpm056kuesrxzeuyclrwvpsupwtpk - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBaZVVuYThsYk9YcWhYb0g4 - TDhZQ21YN0FCRExKV2tqbVVUNTg5MWRUVUJzCndjc28yVUZEK3ZoQzVDQkk4emZQ - WGx2bUxSZlBENXlibzQ1MVkvc2I2MVkKLS0tIFJKS0ZENFhuVmdUM2h1a2xrK01a - ejRKQXNFZzBTbUxpc05acnkxQ2U2UkEKX1byNj64xOiRGAJ9lwh55d/mlasI3H6H - b+o3HbXSbV0G0UwQxEOisntR6o27ry/l12ai/sOQ4f9MXm6FRw2XTg== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2021-06-18T14:46:35Z" - mac: ENC[AES256_GCM,data:RX4rZSP2sMqSGfbSkpK1rAqLcpYHv99jUvhGpQvM9Sjxki4LskxQP51BuZj7eVD0u0uqBMObatyZvofTybld6tlrgQeddIS4SINRJNsC+P7dzaiOEePZX/oCCMIQCnO8+OLO7z6DNdy1IMxhuCZWeGHDJt1ritLds3ACAjtFrGo=,iv:AI8tdLTFnFV919ypY0RKVaDNfwEN6b5hZuH4DvlhdAk=,tag:izIPuozRiYpQ50hi4yLyCw==,type:str] - pgp: [] - encrypted_suffix: secret - version: 3.7.1