Skip to content

Commit 2ca65ba

Browse files
authored
chore: migrate rust/photo_gallery to icp-cli (#1406)
1 parent cd939e6 commit 2ca65ba

24 files changed

Lines changed: 411 additions & 484 deletions
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: photo_gallery
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
paths:
9+
- rust/photo_gallery/**
10+
- .github/workflows/photo_gallery.yml
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
rust-photo_gallery:
18+
runs-on: ubuntu-24.04
19+
container: ghcr.io/dfinity/icp-dev-env-rust:1.0.1
20+
env:
21+
ICP_CLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
steps:
23+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
24+
- name: Deploy and test
25+
working-directory: rust/photo_gallery
26+
run: |
27+
icp network start -d
28+
icp deploy
29+
bash test.sh

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ target/
1414
.mops
1515
mops.lock
1616
.env
17-
**/frontend/src/bindings/
1817
**/src/declarations/

‎rust/photo_gallery/.devcontainer/devcontainer.json‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎rust/photo_gallery/.gitignore‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,15 @@
77
.DS_Store
88
**/.DS_Store
99

10-
# dfx temporary files
11-
.dfx/
12-
1310
# generated files
14-
**/declarations/
1511

1612
# rust
1713
target/
1814

1915
# frontend code
2016
node_modules/
2117
dist/
22-
.svelte-kit/
2318

2419
# environment variables
2520
.env
21+
frontend/src/bindings/

‎rust/photo_gallery/BUILD.md‎

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)