Compare commits

...

34 Commits

Author SHA1 Message Date
f23c44906c 1.0.52 2021-02-26 23:25:49 +00:00
39b54a483f fix(core): update 2021-02-26 23:25:49 +00:00
ea2c39ef97 1.0.51 2021-02-26 23:21:24 +00:00
8305d05c54 fix(core): update 2021-02-26 23:21:24 +00:00
5599f9f86c 1.0.50 2021-02-26 23:18:52 +00:00
c4ac975bae 1.0.49 2019-11-26 17:50:50 +00:00
7189d01599 1.0.48 2019-11-24 13:57:38 +00:00
8687ad4816 1.0.47 2019-11-24 13:53:01 +00:00
88e1a637ce 1.0.46 2019-11-24 13:49:48 +00:00
e0fa2b14b7 rename readme 2019-11-24 13:48:56 +00:00
5dccdbb9e9 rename readme 2019-11-24 13:48:52 +00:00
e3e2f86ac5 1.0.45 2019-11-24 13:46:38 +00:00
5fe8f04159 fix(core): update 2019-11-24 13:46:38 +00:00
e3b2144182 1.0.44 2019-11-24 13:43:09 +00:00
6c255d39f1 1.0.43 2019-11-23 22:28:31 +00:00
259195d267 fix(core): update 2019-11-23 22:28:31 +00:00
3395159064 1.0.42 2019-11-23 22:22:06 +00:00
7ce81d1a7c fix(core): update 2019-11-23 22:22:05 +00:00
96c116b0b5 1.0.41 2019-11-23 22:12:25 +00:00
b8a643d174 fix(core): update 2019-11-23 22:12:25 +00:00
a8f42b0ac3 1.0.40 2019-11-23 22:09:17 +00:00
09470996d4 fix(core): update 2019-11-23 22:09:16 +00:00
8378ffb419 1.0.39 2019-11-23 22:03:13 +00:00
01dc4c19a8 fix(core): update 2019-11-23 22:03:12 +00:00
32eccccf22 1.0.38 2019-11-23 21:58:51 +00:00
0188f92f4b fix(core): update 2019-11-23 21:58:51 +00:00
f00c0dd88d 1.0.37 2019-11-23 21:58:14 +00:00
62d1938c89 fix(core): update 2019-11-23 21:58:13 +00:00
7021f177f6 1.0.36 2019-11-23 21:53:19 +00:00
944190eedc fix(core): update 2019-11-23 21:53:18 +00:00
ad3e4ad739 1.0.35 2019-11-23 21:47:03 +00:00
711e71709a fix(core): update 2019-11-23 21:47:03 +00:00
cebd14e338 1.0.34 2019-11-23 21:36:49 +00:00
8968bb5450 fix(core): update 2019-11-23 21:36:48 +00:00
7 changed files with 18 additions and 21 deletions

View File

@ -8,35 +8,21 @@ before_script:
- apk add --no-cache git openssl ca-certificates bash curl - apk add --no-cache git openssl ca-certificates bash curl
- apk add --no-cache make gcc g++ python linux-headers paxctl - apk add --no-cache make gcc g++ python linux-headers paxctl
- apk add --no-cache libgcc libstdc++ gnupg nodejs nodejs-npm - apk add --no-cache libgcc libstdc++ gnupg nodejs nodejs-npm
- apk add --no-cache krb5-libs
- update-ca-certificates - update-ca-certificates
- cp ./stack-fix.c /lib/ - cp ./stack-fix.c /lib/
- set -ex - set -ex
- apk add --no-cache --virtual .build-deps build-base - apk add --no-cache --virtual .build-deps build-base
- gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so \ - gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so
- apk del .build-deps - apk del .build-deps
- export LD_PRELOAD="/lib/stack-fix.so" - export LD_PRELOAD="/lib/stack-fix.so"
- npm config set unsafe-perm true - npm config set unsafe-perm true
- node -v && npm -v
- npm install -g @shipzone/npmci - npm install -g @shipzone/npmci
- npmci npm prepare - npmci npm prepare
stages: stages:
- test
- release - release
- trigger - trigger
- pages
testSTABLE:
stage: test
script:
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- lossless
- priv
release: release:
stage: release stage: release

View File

@ -17,6 +17,19 @@ RUN apk update && apk add --no-cache \
gnupg \ gnupg \
nodejs \ nodejs \
nodejs-npm \ nodejs-npm \
krb5-libs \
&& update-ca-certificates && update-ca-certificates
# Add the patch fix
COPY ./stack-fix.c /lib/
# Prepare the libraries packages
RUN set -ex \
&& apk add --no-cache --virtual .build-deps build-base \
&& gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so \
&& apk del .build-deps
# export the environment variable of LD_PRELOAD
ENV LD_PRELOAD /lib/stack-fix.so
RUN npm config set unsafe-perm true RUN npm config set unsafe-perm true

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "ht-docker-dbase", "name": "ht-docker-dbase",
"version": "1.0.33", "version": "1.0.52",
"lockfileVersion": 1 "lockfileVersion": 1
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "ht-docker-dbase", "name": "ht-docker-dbase",
"version": "1.0.33", "version": "1.0.52",
"description": "easy CI for docker images", "description": "easy CI for docker images",
"main": "index.js", "main": "index.js",
"directories": { "directories": {

View File

@ -1,3 +1,2 @@
yarn --version
npm --version npm --version
node --version node --version

View File

@ -1,5 +1,4 @@
node -v node -v
npm -v npm -v
yarn --version npm init --yes
npmci -v npmci -v
git clone https://gitlab.com/sandboxzone/sandbox-npmts.git