Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Labo Rust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
systemes-dinformation
alpha
projects
Labo Rust
Commits
edb2edce
Commit
edb2edce
authored
2 years ago
by
Nathan Rodet
Browse files
Options
Downloads
Patches
Plain Diff
Changes to cloud-init config
parent
fca0f2a5
No related branches found
No related tags found
6 merge requests
!6
End of development
,
!5
Develop
,
!4
End of development
,
!3
Develop
,
!2
hot-fix: change readme.md
,
!1
Develop
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-3
0 additions, 3 deletions
.gitlab-ci.yml
terraform/cloud-init.yml
+1
-1
1 addition, 1 deletion
terraform/cloud-init.yml
with
1 addition
and
4 deletions
.gitlab-ci.yml
+
0
−
3
View file @
edb2edce
...
@@ -19,9 +19,6 @@ before_script:
...
@@ -19,9 +19,6 @@ before_script:
-
export TF_VAR_ENVIRONMENT=${ENVIRONMENT}
-
export TF_VAR_ENVIRONMENT=${ENVIRONMENT}
-
export TF_VAR_SCW_SSH_PUB_KEY=$(cat tf.rsa.pub)
-
export TF_VAR_SCW_SSH_PUB_KEY=$(cat tf.rsa.pub)
-
export TF_VAR_SCW_SSH_PRIVATE_KEY=$(cat tf.rsa)
-
export TF_VAR_SCW_SSH_PRIVATE_KEY=$(cat tf.rsa)
-
echo ${TF_VAR_SCW_SSH_PUB_KEY}
-
echo ${TF_VAR_SCW_SSH_PRIVATE_KEY}
-
echo $(ssh-keygen -E md5 -lf ./tf.rsa.pub)
stages
:
stages
:
-
prepare
-
prepare
...
...
This diff is collapsed.
Click to expand it.
terraform/cloud-init.yml
+
1
−
1
View file @
edb2edce
...
@@ -22,7 +22,7 @@ runcmd:
...
@@ -22,7 +22,7 @@ runcmd:
# Install Code Server
# Install Code Server
-
"
curl
-fsSL
https://code-server.dev/install.sh
|
sh"
-
"
curl
-fsSL
https://code-server.dev/install.sh
|
sh"
-
"
mkdir
-p
/root/.config/code-server/"
-
"
mkdir
-p
/root/.config/code-server/"
-
"
echo
'bind-addr:
0.0.0.0:8080
\n
auth:
password
\n
password:
$(scw-userdata
user_password)
\n
cert:
false
\n
'
>
/root/.config/code-server/config.yaml"
-
"
echo
'bind-addr:
0.0.0.0:8080
\n
auth:
password
\n
password:
$(
echo
scw-userdata
user_password)
\n
cert:
false
\n
'
>
/root/.config/code-server/config.yaml"
# Run Code Server
# Run Code Server
# - "systemctl enable --now code-server@$USER"
# - "systemctl enable --now code-server@$USER"
# Run Webtop Container
# Run Webtop Container
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment