A very simple dashboard for managing Continuous Deployment for PHC projects based on docker, dockerfiles, docker-compose or even shell scripts
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Antonio De Lucreziis 90341a5cfa chore: scroll containers and styling 10 months ago
public intial commit 11 months ago
scripts feat: working jobs page with sse 11 months ago
src chore: scroll containers and styling 10 months ago
.env.sample feat: working jobs page with sse 11 months ago
.gitignore feat: working jobs page with sse 11 months ago
.prettierrc prototype of the deploys page using the inspect component 11 months ago
README.md chore: updated readme 11 months ago
astro.config.mjs intial commit 11 months ago
package.json feat: working jobs page with sse 11 months ago
pnpm-lock.yaml feat: working jobs page with sse 11 months ago
tsconfig.json feat: working jobs page with sse 11 months ago

README.md

phCD

Continuous Deployment for PHC projects.

Development

# First install the dependencies
$ pnpm install

# Run the local server
$ pnpm dev

# Build all
$ pnpm build

Architecture

Everything is stored in the config.yaml file. This file contains a list of projects to deploy and the configuration for each one.

deploys:
  - name: project1
    url: https://github.com/username/project1
    ref: 
      type: branch
      value: main
    type: dockerfile
    options:
      ports: 
        - 80:8080
      volumes: 
        - /var/www/html:/var/www/html
  - name: project2
    url: ssh://example.org/username/project2.git
    ref:
      type: commit
      value: '1234567'
    type: docker-compose
    options:
      path: ./docker-compose.yml # already the default
  - name: project3
    url: https://github.com/username/project3
    type: shell
    options:
      path: ./deploy.sh # already the default