Skip to content

Commit

Permalink
Load full Roassal3 package v1.01b into RoassalPlayground (pharo image)
Browse files Browse the repository at this point in the history
  • Loading branch information
capsulecorplab committed Jan 11, 2024
1 parent 778fa33 commit 9123981
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@
vars:
pharo_launcher_version: "c661cf8e517bf2695fb637aa058d7fab3449107a"
pharo_version: "10"
roassal_version: "v1.01b"

tasks:
- name: Clone PharoLauncher
Expand Down Expand Up @@ -380,11 +381,44 @@
shell: ln -sv /home/kasm-default-profile/pharo-launcher/pharo-launcher /usr/local/bin/pharo-launcher
- name: Configure PharoLauncher desktop shortcut
shell: echo "[Desktop Entry]\nName=Pharo\nGenericName=Pharo\nExec=pharo-launcher\nIcon=/home/kasm-default-profile/pharo-launcher/icons/pharo-launcher.png\nTerminal=false\nType=Application\nStartupNotify=false\nCategories=Application;Development;" > /usr/share/applications/pharo.desktop
- name: Install Roassal with PharoLaucher-CLI
- name: Create RoassalPlayground (pharo image) using PharoLaucher-CLI
shell:
cmd: ./pharo PharoLauncher.image clap launcher image create fromRepo --newImageName RoassalPlayground pharo-graphics/Roassal
chdir: /home/kasm-default-profile/pharo-launcher
executable: /bin/bash
- name: Change remote origin to https://github.com/ObjectProfile/Roassal3.git
shell:
cmd: git remote set-url origin https://github.com/ObjectProfile/Roassal3.git
chdir: /home/kasm-default-profile/Pharo/images/RoassalPlayground/pharo-local/iceberg/pharo-graphics/Roassal
- name: Fetch upstream in Roassal repo
shell:
cmd: git fetch
chdir: /home/kasm-default-profile/Pharo/images/RoassalPlayground/pharo-local/iceberg/pharo-graphics/Roassal
- name: Checkout {{ roassal_version }} in Roassal repo
shell:
cmd: git checkout {{ roassal_version }}
chdir: /home/kasm-default-profile/Pharo/images/RoassalPlayground/pharo-local/iceberg/pharo-graphics/Roassal
executable: /bin/bash
- name: Download Pharo image + vm into RoassalPlayground
shell:
cmd: curl https://get.pharo.org/110+vm | bash
chdir: /home/kasm-default-profile/Pharo/images/RoassalPlayground
executable: /bin/bash
- name: Rename Pharo.changes to RoassalPlayground.changes
shell:
cmd: mv Pharo.changes RoassalPlayground.changes
chdir: /home/kasm-default-profile/Pharo/images/RoassalPlayground
executable: /bin/bash
- name: Rename Pharo.image to RoassalPlayground.image
shell:
cmd: mv Pharo.image RoassalPlayground.image
chdir: /home/kasm-default-profile/Pharo/images/RoassalPlayground
executable: /bin/bash
- name: Load Full Roassal3 package into RoassalPlayground using Metacello
shell:
cmd: ./pharo RoassalPlayground.image eval --save "[Metacello new baseline{{ ':' }} 'Roassal3'; repository{{ ':' }} 'gitlocal{{ ':' }}//./pharo-local/iceberg/pharo-graphics/Roassal/src'; load{{ ':' }} 'Full'] on{{ ':' }} MCMergeOrLoadWarning do{{ ':' }} [:warning | warning load ]"
chdir: /home/kasm-default-profile/Pharo/images/RoassalPlayground
executable: /bin/bash

-
# install sudo for the vs-code role below
Expand Down

0 comments on commit 9123981

Please sign in to comment.