Semaphore is a CI service for open source and private projects. Its cloud solution helps developers find bugs before they reach users and deliver new features faster.
Questions tagged [semaphore-ci]
33 questions
6
votes
1 answer
Docker - Alpine Elixir container has unsatisfiable constraints
I have this Dockerfile for my Phoenix application. When running a promotion with Semaphore CI, my deployment fails and returns this error:
ERROR: unsatisfiable constraints:
libssl1.0 (missing):
required by: world[libssl1.0]
pdftk (missing):
…

Bargain23
- 1,863
- 3
- 29
- 50
5
votes
2 answers
Unexpected token (SyntaxError) after updating Jest testing libraries
When running my test suite using Jest, I encountered warnings that asked me to update packages:
npm WARN deprecated jest-dom@2.1.1: jest-dom has moved to @testing-library/jest-dom. Please uninstall jest-dom and install @testing-library/jest-dom…

Steven
- 1,218
- 3
- 18
- 38
5
votes
3 answers
how to fix the would clobber existing tag problem
I've got myself into trouble with git tagging and now my build pipeline (semaphore) is broken with the following error message. Not sure how to get this resolved.
Error message
Unpacking
objects: 100% (32/32), done.
From github.com:jack/my-app
…

Jack
- 367
- 1
- 4
- 14
4
votes
1 answer
Using nix in a continuous delivery workflow
Can nix be used in a continuous-delivery workflow?
We're using semaphore as our continuous integration service, and now I'm looking into building packages upon a successful build. For this I'm considering using nix.
I don't know what would be the…

Damian Nadales
- 4,907
- 1
- 21
- 34
2
votes
0 answers
Rails How To Include Module From Subdirectory
I currently have this folder directory
app
controllers
project_controller.rb
subtasks
index_helper.rb
project_controller.rb
class ProjectController < ApplicationController
include Subtasks::IndexHelper
index_helper.rb
module…

Max
- 23
- 4
2
votes
1 answer
Android automated Integration Testing with Semaphoreci. How to properly set up?
https://semaphoreci.com
I have an Android project I'm working on I'm trying to set up automated integration testing on every PR against my master branch on GitHub with semaphoreci.
The question I have is, how can I run the gradle tasks if there is…

Pants
- 2,563
- 1
- 20
- 34
2
votes
1 answer
Elixir, error with postgresql: has invalid types for the connection
I'm getting the following issue:
ArgumentError{message: \"query %Postgrex.Query{columns: ["id", "name", "internal", "inserted_at", "updated_at"], name: "ecto_616034", param_formats: [:binary], param_oids: [25], param_types:…

Otto
- 88
- 6
1
vote
0 answers
Show all hashes on commit instead of range
I was trying out the notification feature on SemaphoreCI, when I ran into following "issue":
When a run is finished on semaphore it shows you a commit (hash) range instead of giving you a list of every commit that was published. I was wondering if…

Anes
- 315
- 1
- 9
1
vote
0 answers
docker build not using cached layers when using --cache-from
I have this following Dockerfile.
FROM ruby:3.1.3 AS build
ENV BUNDLER_VERSION=2.3.26
RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential libpq-dev npm && \
curl -fsSL https://deb.nodesource.com/setup_14.x |…

usha
- 28,973
- 5
- 72
- 93
1
vote
2 answers
Google Chrome headless remote debugging no response on /json url
I try to fix some old ruby app. But I have an issue with selenium tests. I debug gems and found out that test runners start the Google Chrome with that options:
path\to\chrome --headless --no-sandbox --remote-debugging-port=9222 then waits a moment…

user3493916
- 43
- 1
- 8
1
vote
1 answer
Should I add debug.keystore to my Semaphore CI build?
I'm using Semaphore CI and my build breaks because there is no debug.keystore file found. Should I upload the file to Semaphore?
Here is the error I'm getting:
Execution failed for task ':app:validateSigningDebug'.
> Keystore file…

Vladan Mikic
- 63
- 7
1
vote
1 answer
How can I fix yaml error: Block mapping value not allowed here
I copied Semaphore's config of GoReleaser and saved it as .semaphore/semaphore.yml but when I run it on Semaphore, I can see:
Unprocessable YAML file.
Error: {{:throw, {:yamerl_exception, [{:yamerl_parsing_error, :error, 'Block mapping value not…

Alex Kuzmin
- 111
- 1
- 8
1
vote
2 answers
Docker-Compose, Django: 'could not translate host name "db" to address: Name or service not known'
I am attempting to set up a Django project with a Postgres database on Semaphore-ci via Docker-Compose. The database container does not appear to be running. I am receiving an error message 'django.db.utils.OperationalError: could not translate host…

dan118
- 23
- 1
- 3
1
vote
0 answers
Semaphore CI - Environment Variables are Incorrect
I use semaphore CI for continuous integration, specifically for Feature tests and Specs in PHP and Ruby. I noticed a deviation from the documentation on caching in one of my projects. The documentation says:
The cache restore command that has zero…

Tim Lewis
- 27,813
- 13
- 73
- 102
1
vote
2 answers
Running Cypress tests on localhost with semaphoreCI
In my cypress.json I have baseUrl configured as
{
"baseUrl": "http://localhost:3000"
}
The package.json contains
"scripts": {
"cy:version": "cypress version",
"cy:verify": "cypress verify",
"cy:run":…

muskrat_
- 101
- 7