Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
3f54a2cf
Unverified
Commit
3f54a2cf
authored
Dec 21, 2021
by
Mark Tyneway
Committed by
GitHub
Dec 21, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1948 from mslipper/feat/nightly-deploys
Add nightly deploys
parents
cf274db0
a8eaea42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
1 deletion
+55
-1
config.yml
.circleci/config.yml
+55
-1
No files found.
.circleci/config.yml
View file @
3f54a2cf
version
:
2.1
orbs
:
gcp-gke
:
circleci/gcp-gke@1.3.0
commands
:
build-dockerfile
:
parameters
:
...
...
@@ -39,6 +41,13 @@ jobs:
image-name
:
batch-submitter
target
:
batch-submitter
dockerfile
:
./ops/docker/Dockerfile.packages
build-go-batch-submitter
:
docker
:
-
image
:
cimg/base:2021.04
steps
:
-
build-dockerfile
:
image-name
:
go-batch-submitter
dockerfile
:
./ops/docker/Dockerfile.batch-submitter-service
build-deployer
:
docker
:
-
image
:
cimg/base:2021.04
...
...
@@ -61,6 +70,37 @@ jobs:
-
build-dockerfile
:
image-name
:
gas-oracle
dockerfile
:
./ops/docker/Dockerfile.gas-oracle
build-integration-tests
:
docker
:
-
image
:
cimg/base:2021.04
steps
:
-
build-dockerfile
:
image-name
:
integration-tests
target
:
integration-tests
dockerfile
:
./ops/docker/Dockerfile.packages
deploy-nightly
:
docker
:
-
image
:
cimg/base:2021.04
steps
:
-
gcp-gke/install
-
gcp-gke/update-kubeconfig-with-credentials
:
cluster
:
$STACKMAN_CLUSTER
gcloud-service-key
:
STACKMAN_SERVICE_KEY
google-compute-region
:
STACKMAN_COMPUTE_REGION
google-compute-zone
:
STACKMAN_COMPUTE_ZONE
google-project-id
:
STACKMAN_PROJECT_ID
install-kubectl
:
yes
perform-login
:
yes
-
run
:
name
:
Deploy
command
:
|
echo "Current nightly pods:"
kubectl get pods --namespace nightly
echo "Redeploying pods:"
kubectl rollout restart statefulset nightly-sequencer --namespace nightly
kubectl rollout restart statefulset nightly-go-batch-submitter --namespace nightly
kubectl rollout restart statefulset nightly-dtl --namespace nightly
kubectl rollout restart deployment nightly-gas-oracle --namespace nightly
workflows
:
...
...
@@ -82,4 +122,18 @@ workflows:
-
build-l2geth
:
context
:
optimism
-
build-gas-oracle
:
context
:
optimism
\ No newline at end of file
context
:
optimism
-
build-integration-tests
:
context
:
optimism
-
build-go-batch-submitter
:
context
:
optimism
-
deploy-nightly
:
context
:
optimism
requires
:
-
build-dtl
-
build-batch-submitter
-
build-go-batch-submitter
-
build-deployer
-
build-l2geth
-
build-gas-oracle
-
build-integration-tests
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment