File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11name : Sync repo to Gitlab
2- on : [ push, delete, workflow_dispatch ]
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : ' 15 20 * * *'
36
47jobs :
58 sync :
69 name : Gitlab Sync
710 runs-on : ubuntu-latest
811 steps :
912 - name : Checkout
10- uses : actions/checkout@v3
13+ uses : actions/checkout@v4.2.2
1114 with :
1215 fetch-depth : 0
1316 - name : Mirroring Repository
14- uses : pixta-dev /repository-mirroring-action@v1.1.1
17+ uses : fscarmen /repository-mirroring-action@v1.0.0
1518 with :
1619 target_repo_url : git@gitlab.com:localstack.cloud/samples/sample-serverless-image-resizer-s3-lambda.git
17- ssh_private_key : ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
20+ ssh_private_key : ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ default:
3131 - mkdir -p $PIP_CACHE_DIR
3232 - python3 -m pip install localstack awscli awscli-local
3333 - docker pull localstack/localstack-pro:latest
34- # Gitlab has changed to ipv6, but LocalStack not supporting it
34+ # Gitlab has changed to ipv6, but LocalStack does not support it
3535 - dind_ip="$(getent ahostsv4 docker | cut -d' ' -f1 | head -n1)"
3636 - echo -e "${dind_ip}\tlocalhost.localstack.cloud\n" >> /etc/hosts
3737 - localstack start -d
3838 - localstack wait -t 30
39- - (test -f ./ls-state-pod.zip && localstack state import ./ls-state-pod.zip ) || true
39+ - (test -f ./ls-state-pod.zip && localstack state import ./ls-state-pod) || true
4040 cache :
4141 paths :
4242 - $CI_PROJECT_DIR/.cache/pip
@@ -58,7 +58,7 @@ deploy:
5858 script :
5959 - ./bin/build_lambdas.sh
6060 - ./deployment/awslocal/deploy.sh
61- - localstack state export ./ ls-state-pod.zip
61+ - localstack state export ls-state-pod
6262
6363test :
6464 stage : test
You can’t perform that action at this time.
0 commit comments