← Go back to Securepub Status

Deploy Status on GitLab

January 12, 2024 at 12:00 AM UTC

Securepub SPA on GitLab Securepub Status on GitLab


Decision

Action

Previous Steps

Steps Taken

■ Create securepub/status project on GitLab
  - https://gitlab.com/projects/new#blank_project
    ✅	Private   ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ checked
    [ ] Initialize repository with a README ╶╶╶╶╶╶╶╶╶╶╶ unchecked

■ Create securepub/status workspace
  - start with cstate example clone
  % cd ~/Securepub/
  % git clone --recursive -b master https://github.com/cstate/example.git status
  % git config user.name securepub
  % git config user.email admin@securepub.org
  % git switch --create main
  % git remote rename origin upstream
  % git remote add origin git@gitlab.com:securepub/status.git
  % git push --set-upstream origin main

■ Update status content
  ■ edit .gitlab-ci.yml
    - change 'master' to 'main'

  ■ edit config.yml
    - update categories, systems, ...

  ■ create .justfile
  % just ╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶ start hugo server
  - open localhost:1313
  - edit static, content/issues, etc

  ■ push changes to origin
  ■ observe pipeline in GitLab
  ■ observe test url from Deploy > Pages screen appears to work

Last updated: March 29, 2024 at 10:16 PM UTC