小编Zat*_*ion的帖子

如何修改MP3元数据并按Node.js保存?

我想实现以下目标:

  • 阅读MP3元数据
  • 修改该元数据的编码(如果我可以修改该元数据的内容,那会更好)
  • 将修改保存到该MP3文件

所有这些操作都可以基于本机Node.js(没有浏览器).是否有任何模块提供这样的功能或我可以开发基于?

node.js node-modules

13
推荐指数
2
解决办法
6489
查看次数

如何使gitlab的激活特定运行器工作?

我的工作正在等待并得到以下信息:

此作业卡住了,因为您没有任何可以运行此作业的活动跑步者.

卡住

但我确实为这个项目提供了一个激活的跑步者:

活性

跑步者在我的一个vps中作为docker安装:

在此输入图像描述

在此输入图像描述

以下是此跑步者的配置:

concurrent = 1 check_interval = 0

[[runners]]
  name = "ansible"
  url = "https://gitlab.com/"
  token = "xxx"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "registry.cn-hangzhou.aliyuncs.com/artwater/ansible:latest"
    privileged = false
    disable_cache = false
    volumes = ["/cache"]
  [runners.cache]
Run Code Online (Sandbox Code Playgroud)

下面是我的gitlab-ci.yml:

stages:
  - build
  - production

job_build:
  stage: build
  script:
    - ansible-playbook -i ./ansible/hosts/production.yml --extra-vars "version=$CI_BUILD_TAG" ./ansible/build.yml
  only:
    - tags

job_production:
  stage: production
  script:
    - ansible-playbook -i ./ansible/hosts/production.yml --extra-vars "version=$CI_BUILD_TAG" ./ansible/deploy.yml
  only:
    - tags
  when: on_success
Run Code Online (Sandbox Code Playgroud)

谁能告诉我怎么能让这个跑步者工作?非常感谢!

gitlab gitlab-ci gitlab-ci-runner

4
推荐指数
1
解决办法
5516
查看次数