Spaces:
Runtime error
Runtime error
alamin655
commited on
Commit
•
ec599cb
1
Parent(s):
e736c57
Remove `.circleci` dir
Browse files- .circleci/config.yml +0 -31
- .circleci/config.yml.bak +0 -36
.circleci/config.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
version: 2.1
|
2 |
-
|
3 |
-
workflows:
|
4 |
-
main:
|
5 |
-
jobs:
|
6 |
-
- sync-to-huggingface:
|
7 |
-
context:
|
8 |
-
- HuggingFace
|
9 |
-
filters:
|
10 |
-
branches:
|
11 |
-
only:
|
12 |
-
- hf-rolling
|
13 |
-
|
14 |
-
jobs:
|
15 |
-
sync-to-huggingface:
|
16 |
-
docker:
|
17 |
-
- image: alpine
|
18 |
-
resource_class: small
|
19 |
-
steps:
|
20 |
-
- run:
|
21 |
-
name: install git
|
22 |
-
command: apk update && apk add openssh-client git
|
23 |
-
- checkout
|
24 |
-
- run:
|
25 |
-
name: push to Huggingface hub
|
26 |
-
command: |
|
27 |
-
git config http.postBuffer 524288000
|
28 |
-
git remote add space https://huggingface.co/spaces/alamin655/spacex
|
29 |
-
git remote set-url space https://alamin655:${HF_PERSONAL_TOKEN}@huggingface.co/spaces/alamin655/spacex
|
30 |
-
git pull --allow-unrelated-histories space main
|
31 |
-
git push -f space hf-rolling:main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.circleci/config.yml.bak
DELETED
@@ -1,36 +0,0 @@
|
|
1 |
-
# This config was automatically generated from your source code
|
2 |
-
# Stacks detected: cicd:github-actions:.github/workflows,deps:rust:.
|
3 |
-
version: 2.1
|
4 |
-
jobs:
|
5 |
-
test-rust:
|
6 |
-
docker:
|
7 |
-
- image: cimg/rust:1.71
|
8 |
-
steps:
|
9 |
-
- checkout
|
10 |
-
- restore_cache:
|
11 |
-
key: cargo-{{ checksum "Cargo.lock" }}
|
12 |
-
- run:
|
13 |
-
command: cargo test
|
14 |
-
- save_cache:
|
15 |
-
key: cargo-{{ checksum "Cargo.lock" }}
|
16 |
-
paths:
|
17 |
-
- ~/.cargo
|
18 |
-
deploy:
|
19 |
-
# This is an example deploy job, not actually used by the workflow
|
20 |
-
docker:
|
21 |
-
- image: cimg/base:stable
|
22 |
-
steps:
|
23 |
-
# Replace this with steps to deploy to users
|
24 |
-
- run:
|
25 |
-
name: deploy
|
26 |
-
command: '#e.g. ./deploy.sh'
|
27 |
-
- run:
|
28 |
-
name: found github actions config
|
29 |
-
command: ':'
|
30 |
-
workflows:
|
31 |
-
build-and-test:
|
32 |
-
jobs:
|
33 |
-
- test-rust
|
34 |
-
# - deploy:
|
35 |
-
# requires:
|
36 |
-
# - test-rust
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|